Package | Description |
---|---|
org.apache.jackrabbit.oak.plugins.document | |
org.apache.jackrabbit.oak.plugins.document.memory | |
org.apache.jackrabbit.oak.plugins.document.mongo | |
org.apache.jackrabbit.oak.plugins.document.persistentCache | |
org.apache.jackrabbit.oak.plugins.document.rdb |
Implementations of
DocumentStore and BlobStore for relational databases. |
org.apache.jackrabbit.oak.plugins.document.util |
Modifier and Type | Field and Description |
---|---|
protected DocumentStore |
SplitDocumentCleanUp.store |
Modifier and Type | Field and Description |
---|---|
protected Supplier<DocumentStore> |
DocumentNodeStoreBuilder.documentStoreSupplier |
Modifier and Type | Method and Description |
---|---|
DocumentStore |
DocumentNodeStoreBuilder.getDocumentStore() |
@NotNull DocumentStore |
VersionGCSupport.getDocumentStore()
Returns the underlying document store.
|
@NotNull DocumentStore |
DocumentNodeStore.getDocumentStore() |
Modifier and Type | Method and Description |
---|---|
static List<ClusterNodeInfoDocument> |
ClusterNodeInfoDocument.all(DocumentStore store)
Returns all cluster node info documents currently available in the given
document store.
|
Cache<CacheValue,NodeDocument> |
DocumentNodeStoreBuilder.buildDocumentCache(DocumentStore docStore) |
NodeDocumentCache |
DocumentNodeStoreBuilder.buildNodeDocumentCache(DocumentStore docStore,
NodeDocumentLocks locks) |
Cache<StringValue,NodeDocument> |
DocumentNodeStoreBuilder.buildPrevDocumentsCache(DocumentStore docStore) |
static NodeDocument |
NodeDocument.fromString(DocumentStore store,
String s) |
static ClusterNodeInfo |
ClusterNodeInfo.getInstance(DocumentStore store,
org.apache.jackrabbit.oak.plugins.document.RecoveryHandler recoveryHandler,
String machineId,
String instanceId,
int configuredClusterId)
Get or create a cluster node info instance for the store.
|
static ClusterNodeInfo |
ClusterNodeInfo.getInstance(DocumentStore store,
org.apache.jackrabbit.oak.plugins.document.RecoveryHandler recoveryHandler,
String machineId,
String instanceId,
int configuredClusterId,
boolean invisible)
Get or create a cluster node info instance for the store.
|
static ClusterNodeInfo |
ClusterNodeInfo.getReadOnlyInstance(DocumentStore store)
Create a cluster node info instance to be utilized for read only access
to underlying store.
|
abstract T |
Collection.newDocument(DocumentStore store) |
T |
DocumentNodeStoreBuilder.setDocumentStore(DocumentStore documentStore)
Set the document store to use.
|
static void |
SweepHelper.sweep(DocumentStore store,
RevisionContext context,
MissingLastRevSeeker seeker) |
static @NotNull FormatVersion |
FormatVersion.versionOf(@NotNull DocumentStore store)
Reads the
FormatVersion from the given store. |
boolean |
FormatVersion.writeTo(@NotNull DocumentStore store)
Writes this version to the given document store.
|
Constructor and Description |
---|
LastRevRecoveryAgent(DocumentStore store,
RevisionContext context) |
LastRevRecoveryAgent(DocumentStore store,
RevisionContext revisionContext,
MissingLastRevSeeker seeker,
Consumer<Integer> afterRecovery) |
MissingLastRevSeeker(DocumentStore store,
Clock clock) |
NodeDocument(@NotNull DocumentStore store,
long creationTime)
Required for serialization
|
SplitDocumentCleanUp(DocumentStore store,
VersionGarbageCollector.VersionGCStats stats,
Iterable<NodeDocument> splitDocGarbage) |
VersionGCSupport(DocumentStore store) |
Modifier and Type | Class and Description |
---|---|
class |
MemoryDocumentStore
Emulates a MongoDB store (possibly consisting of multiple shards and
replicas).
|
Modifier and Type | Class and Description |
---|---|
class |
MongoDocumentStore
A document store that uses MongoDB as the backend.
|
Modifier and Type | Method and Description |
---|---|
abstract <V> V |
CacheType.readValue(DocumentNodeStore store,
DocumentStore docStore,
ByteBuffer buffer) |
<K extends CacheValue,V extends CacheValue> |
PersistentCache.wrap(DocumentNodeStore docNodeStore,
DocumentStore docStore,
Cache<K,V> base,
CacheType type) |
<K extends CacheValue,V extends CacheValue> |
PersistentCache.wrap(DocumentNodeStore docNodeStore,
DocumentStore docStore,
Cache<K,V> base,
CacheType type,
StatisticsProvider statisticsProvider) |
Modifier and Type | Class and Description |
---|---|
class |
RDBDocumentStore
Implementation of
DocumentStore for relational databases. |
Constructor and Description |
---|
RDBDocumentSerializer(DocumentStore store) |
Modifier and Type | Class and Description |
---|---|
class |
LeaseCheckDocumentStoreWrapper
Wrapper of another DocumentStore that does a lease check on any method
invocation (read or update) and fails if the lease is not valid.
|
class |
LoggingDocumentStoreWrapper
Implements a
DocumentStore wrapper and logs all calls. |
class |
SynchronizingDocumentStoreWrapper
Implements a
DocumentStore wrapper which synchronizes on all
methods. |
class |
TimingDocumentStoreWrapper
A DocumentStore wrapper that can be used to log and also time DocumentStore
calls.
|
Modifier and Type | Method and Description |
---|---|
static DocumentStore |
ReadOnlyDocumentStoreWrapperFactory.getInstance(@NotNull DocumentStore delegate) |
Modifier and Type | Method and Description |
---|---|
static void |
Utils.checkRevisionAge(DocumentStore store,
ClusterNodeInfo info,
Clock clock)
Check the revision age on the root document for the given cluster node
info.
|
static Iterable<NodeDocument> |
Utils.getAllDocuments(DocumentStore store)
Returns an
Iterable over all NodeDocument s in the given
store. |
static DocumentStore |
ReadOnlyDocumentStoreWrapperFactory.getInstance(@NotNull DocumentStore delegate) |
static @NotNull NodeDocument |
Utils.getRootDocument(@NotNull DocumentStore store)
Returns the root node document of the given document store.
|
static Iterable<NodeDocument> |
Utils.getSelectedDocuments(DocumentStore store,
String indexedProperty,
long startValue)
Like
Utils.getSelectedDocuments(DocumentStore, String, long, int) with
a default batchSize . |
static Iterable<NodeDocument> |
Utils.getSelectedDocuments(DocumentStore store,
String indexedProperty,
long startValue,
int batchSize)
Returns an
Iterable over all NodeDocument s in the given
store matching a condition on an indexed property. |
Constructor and Description |
---|
LeaseCheckDocumentStoreWrapper(DocumentStore delegate,
ClusterNodeInfo clusterNodeInfo) |
LoggingDocumentStoreWrapper(DocumentStore store) |
LoggingDocumentStoreWrapper(DocumentStore store,
String prefix) |
SynchronizingDocumentStoreWrapper(DocumentStore store) |
TimingDocumentStoreWrapper(DocumentStore base) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.