Package com.tagtraum.core.rdf
Interface StatementReader
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
NTripleReader
,TurtleReader
public interface StatementReader extends Closeable
Statement reader.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isValueCaching()
Indicates whether this reader attempt to cache values (subject, predicate, or object) in order to reduce memory usage.Statement
readStatement()
Read one statement at a time.void
setValueCaching(boolean valueCaching)
Turn caching ofValue
s on or off.
-
-
-
Method Detail
-
isValueCaching
boolean isValueCaching()
Indicates whether this reader attempt to cache values (subject, predicate, or object) in order to reduce memory usage.- Returns:
- true or false
-
setValueCaching
void setValueCaching(boolean valueCaching)
Turn caching ofValue
s on or off.- Parameters:
valueCaching
-true
orfalse
-
readStatement
Statement readStatement() throws IOException
Read one statement at a time.- Returns:
- statement
- Throws:
IOException
- if something goes wrong
-
-