| java.lang.Object org.openrdf.sail.helpers.SailBase org.openrdf.sail.nativerdf.NativeStore
NativeStore | public class NativeStore extends SailBase (Code) | | A SAIL implementation using B-Tree indexing on disk for storing and querying
its data.
author: Arjohn Kampman author: jeen |
NativeStore | public NativeStore()(Code) | | Creates a new NativeStore.
|
createStatementIterator | protected CloseableIteration<? extends Statement, IOException> createStatementIterator(Resource subj, URI pred, Value obj, boolean includeInferred, boolean readTransaction, Resource... contexts) throws IOException(Code) | | Creates a statement iterator based on the supplied pattern.
Parameters: subj - The subject of the pattern, or null to indicate awildcard. Parameters: pred - The predicate of the pattern, or null to indicate awildcard. Parameters: obj - The object of the pattern, or null to indicate awildcard. Parameters: context - The context of the pattern, or null to indicate awildcard A StatementIterator that can be used to iterate over thestatements that match the specified pattern. |
getForceSync | public boolean getForceSync()(Code) | | |
initialize | public void initialize() throws SailException(Code) | | Initializes this NativeStore.
exception: SailException - If this RdfRepository could not be initialized using theparameters that have been set. |
isInitialized | final protected boolean isInitialized()(Code) | | Checks whether the Sail has been initialized.
true if the Sail has been initialized, falseotherwise. |
isWritable | public boolean isWritable()(Code) | | |
setForceSync | public void setForceSync(boolean forceSync)(Code) | | Specifiec whether updates should be synced to disk forcefully, must be
called before initialization. Enabling this feature may prevent corruption
in case of events like power loss, but can have a severe impact on write
performance. By default, this feature is disabled.
|
setTripleIndexes | public void setTripleIndexes(String tripleIndexes)(Code) | | Sets the triple indexes for the native store, must be called before
initialization.
Parameters: tripleIndexes - An index strings, e.g. spoc,posc. |
|
|