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, lexiconindexManagerNULLSTR| 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, toStringacquireExclusiveLock, assertWritable, getBareProperties, getChunkCapacity, getChunkOfChunksCapacity, getChunkTimeout, getCommitTime, getContainer, getContainerNamespace, getExecutorService, getFullyBufferedReadThreshold, getMaxParallelSubqueries, getNamespace, getProperties, getProperty, getProperty, getTimestamp, isForceSerialExecution, toString, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContainerNamespace, getNamespace, getTimestamppublic 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 ITripleStorecommit in class AbstractTripleStorepublic void abort()
AbstractTripleStoreabort in interface ITripleStoreabort in class AbstractTripleStorepublic boolean isStable()
AbstractTripleStoreNote: This is mainly used by the test suites.
isStable in class AbstractTripleStorepublic boolean isReadOnly()
ITripleStoreisReadOnly in interface ITripleStoreisReadOnly in class AbstractResource<IDatabase<AbstractTripleStore>>public void close()
ITripleStoreITripleStore.close in interface ITripleStoreclose in class AbstractTripleStorepublic 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 AbstractTripleStoreCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.