|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.relation.AbstractResource<IDatabase<AbstractTripleStore>>
com.bigdata.rdf.store.AbstractTripleStore
com.bigdata.rdf.store.AbstractLocalTripleStore
com.bigdata.rdf.store.LocalTripleStore
public class LocalTripleStore
A triple store based on the bigdata architecture. This class
offers extremely low latency for index operations. All indices are local
(in-process) objects and there are no concurrency controls, so point tests on
the indices are extremely efficient. Significant parallelism is achieved by
paying careful attention to the concurrency constraints imposed by the
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.
| Nested Class Summary | |
|---|---|
static interface |
LocalTripleStore.Options
Options understood by the LocalTripleStore. |
| Field Summary | |
|---|---|
protected Journal |
store
|
| Fields inherited from class com.bigdata.rdf.store.AbstractTripleStore |
|---|
lexicon |
| Fields inherited from interface com.bigdata.rdf.store.IRawTripleStore |
|---|
NULLSTR |
| Constructor Summary | |
|---|---|
LocalTripleStore(IIndexManager indexManager,
String namespace,
Long timestamp,
Properties properties)
Ctor specified by DefaultResourceLocator. |
|
| Method Summary | |
|---|---|
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. |
Journal |
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). |
| Methods inherited from class com.bigdata.rdf.store.AbstractLocalTripleStore |
|---|
getLocalBTreeBytesWritten |
| Methods inherited from class com.bigdata.relation.AbstractResource |
|---|
acquireExclusiveLock, getBareProperties, getChunkCapacity, getChunkOfChunksCapacity, getChunkTimeout, getCommitTime, getContainer, getContainerNamespace, getExecutorService, getFullyBufferedReadThreshold, getMaxParallelSubqueries, getNamespace, getProperties, getProperty, getProperty, getTimestamp, isForceSerialExecution, toString, unlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.bigdata.relation.locator.ILocatableResource |
|---|
getContainerNamespace, getNamespace, getTimestamp |
| Field Detail |
|---|
protected final Journal store
| Constructor Detail |
|---|
public LocalTripleStore(IIndexManager indexManager,
String namespace,
Long timestamp,
Properties properties)
DefaultResourceLocator.
indexManager - namespace - timestamp - properties - | Method Detail |
|---|
public Journal getIndexManager()
getIndexManager in class AbstractResource<IDatabase<AbstractTripleStore>>IIndexManager.public long commit()
commit in class AbstractTripleStorepublic void abort()
AbstractTripleStore
abort in class AbstractTripleStorepublic boolean isStable()
AbstractTripleStoreNote: This is mainly used by the test suites.
isStable in class AbstractTripleStorepublic boolean isReadOnly()
isReadOnly in class AbstractTripleStorepublic void close()
ITripleStore.
close 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 AbstractTripleStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||