public class LocalTripleStore extends AbstractLocalTripleStore
BTree
class (writers are single threaded, reads may be concurrent,
but not concurrent with a writer) and by using different views (unisolated vs
read-historical) of the indices when computing entailments or performing
high-level query.Modifier and Type | Class and Description |
---|---|
static interface |
LocalTripleStore.Options
Options understood by the
LocalTripleStore . |
DEBUG, INFO, lexicon
indexManager
NULLSTR
Constructor and Description |
---|
LocalTripleStore(IIndexManager indexManager,
String namespace,
Long timestamp,
Properties properties)
Ctor specified by
DefaultResourceLocator . |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Clears hard references to any indices, relations, etc.
|
void |
close()
Close the connection to the
ITripleStore . |
long |
commit()
Delegates the operation to the backing store.
|
IJournal |
getIndexManager()
The backing embedded database.
|
boolean |
isConcurrent()
When using an
ITx.UNISOLATED view, this store is NOT safe for
write operations concurrent with either readers or writers. |
boolean |
isReadOnly()
True iff the database view is read-only.
|
boolean |
isStable()
True iff the backing store is stable (exists on disk somewhere and may be
closed and re-opened).
|
getLocalBTreeBytesWritten
__tearDownUnitTest, addNamespace, addStatement, addStatement, addStatements, addStatements, addStatements, addStatements, addTerm, addTerms, asStatement, asStatementIterator, asValue, bulkCompleteStatements, bulkCompleteStatements, bulkCompleteStatements, bulkFilterStatements, bulkFilterStatements, clearNamespaces, computeClosureForStatementIdentifiers, copyStatements, copyStatements, create, destroy, determineAxiomClass, determineVocabularyClass, dumpStatements, dumpStore, dumpStore, dumpStore, dumpStore, dumpStore, dumpStore, dumpStore, fixPointStatementIdentifiers, getAccessPath, getAccessPath, getAccessPath, getAccessPath, getAccessPath, getAccessPath, getAccessPath, getAccessPath, getAccessPath, getAccessPath, getAccessPath, getAxioms, getBNodeCount, getClosureInstance, getDataLoader, getExplicitStatementCount, getGeoSpatialConfig, getInferenceEngine, getIV, getJustificationCount, getLexiconRelation, getLiteralCount, getMatchProgram, getNamedGraphCount, getNamespace, getNamespaces, getPredicate, getPredicate, getPredicate, getRDRHistoryInstance, getSPOKeyArity, getSPORelation, getStatement, getStatement, getStatement, getStatement, getStatement, getStatementCount, getStatementCount, getStatementCount, getStatementCount, getStatementIdentifiers, getStatements, getStatements, getStatements, getTerm, getTermCount, getURICount, getValueFactory, getVocabulary, hasStatement, hasStatement, hasStatement, hasStatement, init, isAxiom, isBottomUpEvaluation, isConstrainXXXCShards, isInlineLiterals, isJustify, isOpen, isQuads, isRDRHistory, isStatementIdentifiers, match, newJoinNexusFactory, newJoinNexusFactory, newJoinNexusFactory, relations, removeNamespace, removeStatements, removeStatements, removeStatements, removeStatements, removeStatements, shutdown, toString, toString, toString, toString
acquireExclusiveLock, assertWritable, getBareProperties, getChunkCapacity, getChunkOfChunksCapacity, getChunkTimeout, getCommitTime, getContainer, getContainerNamespace, getExecutorService, getFullyBufferedReadThreshold, getMaxParallelSubqueries, getNamespace, getProperties, getProperty, getProperty, getTimestamp, isForceSerialExecution, toString, unlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContainerNamespace, getNamespace, getTimestamp
public LocalTripleStore(IIndexManager indexManager, String namespace, Long timestamp, Properties properties)
DefaultResourceLocator
.indexManager
- (must be an IJournal
).namespace
- timestamp
- properties
- public IJournal getIndexManager()
getIndexManager
in class AbstractResource<IDatabase<AbstractTripleStore>>
IIndexManager
.public long commit()
commit
in interface ITripleStore
commit
in class AbstractTripleStore
public void abort()
AbstractTripleStore
abort
in interface ITripleStore
abort
in class AbstractTripleStore
public boolean isStable()
AbstractTripleStore
Note: This is mainly used by the test suites.
isStable
in class AbstractTripleStore
public boolean isReadOnly()
ITripleStore
isReadOnly
in interface ITripleStore
isReadOnly
in class AbstractResource<IDatabase<AbstractTripleStore>>
public void close()
ITripleStore
ITripleStore
.close
in interface ITripleStore
close
in class AbstractTripleStore
public boolean isConcurrent()
ITx.UNISOLATED
view, this store is NOT safe for
write operations concurrent with either readers or writers. However, it
does support concurrent readers for ITx.READ_COMMITTED
and
read-historical views.isConcurrent
in class AbstractTripleStore
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.