| 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.rdb |
Implementations of
DocumentStore and BlobStore for relational databases. |
| org.apache.jackrabbit.oak.plugins.document.util |
| Modifier and Type | Field and Description |
|---|---|
static Collection<Document> |
Collection.BLOBS
The 'blobs' collection contains data from the blob store.
|
static Collection<ClusterNodeInfoDocument> |
Collection.CLUSTER_NODES
The 'clusterNodes' collection contains the list of currently running
cluster nodes.
|
static Collection<JournalEntry> |
Collection.JOURNAL
The 'journal' collection contains documents with consolidated
diffs for changes performed by a cluster node between two background
updates.
|
static Collection<NodeDocument> |
Collection.NODES
The 'nodes' collection.
|
static Collection<Document> |
Collection.SETTINGS
The 'settings' collection contains setting/state data required for DocumentNodeStore
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Document> |
DocumentStore.create(Collection<T> collection,
List<UpdateOp> updateOps)
Try to create a list of documents.
|
<T extends Document> |
DocumentStore.createOrUpdate(Collection<T> collection,
List<UpdateOp> updateOps)
Create or unconditionally update a number of documents.
|
<T extends Document> |
DocumentStore.createOrUpdate(Collection<T> collection,
UpdateOp update)
Atomically checks if the document exists and updates it, otherwise the
document is created (aka "upsert"), unless the update operation requires
the document to be present (see
UpdateOp.isNew()). |
void |
DocumentStoreStats.doneCreate(long timeTakenNanos,
Collection<? extends Document> collection,
List<String> ids,
boolean insertSuccess) |
void |
DocumentStoreStatsCollector.doneCreate(long timeTakenNanos,
Collection<? extends Document> collection,
List<String> ids,
boolean insertSuccess)
Called when a document is created in the given collection
|
void |
DocumentStoreStats.doneCreateOrUpdate(long timeTakenNanos,
Collection<? extends Document> collection,
List<String> ids) |
void |
DocumentStoreStatsCollector.doneCreateOrUpdate(long timeTakenNanos,
Collection<? extends Document> collection,
List<String> ids)
Called when multiple document are either created or updated.
|
void |
DocumentStoreStats.doneFindAndModify(long timeTakenNanos,
Collection<? extends Document> collection,
String key,
boolean newEntry,
boolean success,
int retryCount) |
void |
DocumentStoreStatsCollector.doneFindAndModify(long timeTakenNanos,
Collection<? extends Document> collection,
String key,
boolean newEntry,
boolean success,
int retryCount)
Called when a update operation was completed which affected single
document.
|
void |
DocumentStoreStats.doneFindCached(Collection<? extends Document> collection,
String key) |
void |
DocumentStoreStatsCollector.doneFindCached(Collection<? extends Document> collection,
String key)
Called when a document with given key is found from the cache
|
void |
DocumentStoreStats.doneFindUncached(long timeTakenNanos,
Collection<? extends Document> collection,
String key,
boolean docFound,
boolean isSlaveOk) |
void |
DocumentStoreStatsCollector.doneFindUncached(long timeTakenNanos,
Collection<? extends Document> collection,
String key,
boolean docFound,
boolean isSlaveOk)
Called when a document with given key is read from remote store
|
void |
DocumentStoreStats.doneQuery(long timeTakenNanos,
Collection<? extends Document> collection,
String fromKey,
String toKey,
boolean indexedProperty,
int resultSize,
long lockTime,
boolean isSlaveOk) |
void |
DocumentStoreStatsCollector.doneQuery(long timeTakenNanos,
Collection<? extends Document> collection,
String fromKey,
String toKey,
boolean indexedProperty,
int resultSize,
long lockTime,
boolean isSlaveOk)
Called when query with given parameters is performed
|
void |
DocumentStoreStats.doneRemove(long timeTakenNanos,
Collection<? extends Document> collection,
int removeCount) |
void |
DocumentStoreStatsCollector.doneRemove(long timeTakenNanos,
Collection<? extends Document> collection,
int removeCount)
Called when a remove operation for documents was completed.
|
<T extends Document> |
DocumentStore.find(Collection<T> collection,
String key)
Get the document with the given
key. |
<T extends Document> |
DocumentStore.find(Collection<T> collection,
String key,
int maxCacheAge)
Get the document with the
key. |
<T extends Document> |
DocumentStore.findAndUpdate(Collection<T> collection,
UpdateOp update)
Performs a conditional update (e.g.
|
<T extends Document> |
DocumentStore.getIfCached(Collection<T> collection,
String key)
Fetches the cached document.
|
<T extends Document> |
DocumentStore.invalidateCache(Collection<T> collection,
String key)
Invalidate the document cache for the given key.
|
<T extends Document> |
DocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
int limit)
Get a list of documents where the key is greater than a start value and
less than an end value.
|
<T extends Document> |
DocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit)
Get a list of documents where the key is greater than a start value and
less than an end value and the given "indexed property" is greater
or equals the specified value.
|
<T extends Document> |
DocumentStore.remove(Collection<T> collection,
List<String> keys)
Batch remove documents with given keys.
|
<T extends Document> |
DocumentStore.remove(Collection<T> collection,
Map<String,Long> toRemove)
Batch remove documents with given keys and corresponding equal conditions
on
NodeDocument.MODIFIED_IN_SECS values. |
<T extends Document> |
DocumentStore.remove(Collection<T> collection,
String key)
Remove a document.
|
<T extends Document> |
DocumentStore.remove(Collection<T> collection,
String indexedProperty,
long startValue,
long endValue)
Batch remove documents where the given "indexed property" is within the given
range (exclusive) -
(startValue, endValue). |
| Modifier and Type | Method and Description |
|---|---|
<T extends Document> |
MemoryDocumentStore.create(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
MemoryDocumentStore.createOrUpdate(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
MemoryDocumentStore.createOrUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
MemoryDocumentStore.find(Collection<T> collection,
String key) |
<T extends Document> |
MemoryDocumentStore.find(Collection<T> collection,
String key,
int maxCacheAge) |
<T extends Document> |
MemoryDocumentStore.findAndUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
MemoryDocumentStore.getIfCached(Collection<T> collection,
String key) |
protected <T extends Document> |
MemoryDocumentStore.getMap(Collection<T> collection)
Get the in-memory map for this collection.
|
<T extends Document> |
MemoryDocumentStore.invalidateCache(Collection<T> collection,
String key) |
<T extends Document> |
MemoryDocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
int limit) |
<T extends Document> |
MemoryDocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit) |
<T extends Document> |
MemoryDocumentStore.remove(Collection<T> collection,
List<String> keys) |
<T extends Document> |
MemoryDocumentStore.remove(Collection<T> collection,
Map<String,Long> toRemove) |
<T extends Document> |
MemoryDocumentStore.remove(Collection<T> collection,
String key) |
<T extends Document> |
MemoryDocumentStore.remove(Collection<T> collection,
String indexedProperty,
long startValue,
long endValue) |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends Document> |
MongoDocumentStore.convertFromDBObject(@NotNull Collection<T> collection,
@Nullable com.mongodb.DBObject n) |
<T extends Document> |
MongoDocumentStore.create(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
MongoDocumentStore.createOrUpdate(Collection<T> collection,
List<UpdateOp> updateOps)
Try to apply all the
UpdateOps with at least MongoDB requests as
possible. |
<T extends Document> |
MongoDocumentStore.createOrUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
MongoDocumentStore.find(Collection<T> collection,
String key) |
<T extends Document> |
MongoDocumentStore.find(Collection<T> collection,
String key,
int maxCacheAge) |
<T extends Document> |
MongoDocumentStore.findAndUpdate(Collection<T> collection,
UpdateOp update) |
protected <T extends Document> |
MongoDocumentStore.findUncached(Collection<T> collection,
String key,
org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore.DocumentReadPreference docReadPref) |
<T extends Document> |
MongoDocumentStore.getIfCached(Collection<T> collection,
String key) |
<T extends Document> |
MongoDocumentStore.invalidateCache(Collection<T> collection,
String key) |
<T extends Document> |
MongoDocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
int limit) |
<T extends Document> |
MongoDocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit) |
protected <T extends Document> |
MongoDocumentStore.queryInternal(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit,
long maxQueryTime) |
<T extends Document> |
MongoDocumentStore.remove(Collection<T> collection,
List<String> keys) |
<T extends Document> |
MongoDocumentStore.remove(Collection<T> collection,
Map<String,Long> toRemove) |
<T extends Document> |
MongoDocumentStore.remove(Collection<T> collection,
String key) |
<T extends Document> |
MongoDocumentStore.remove(Collection<T> collection,
String indexedProperty,
long startValue,
long endValue) |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends Document> |
RDBDocumentStore.convertFromDBObject(@NotNull Collection<T> collection,
@NotNull RDBRow row) |
<T extends Document> |
RDBDocumentStore.create(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
RDBDocumentStore.createOrUpdate(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
RDBDocumentStore.createOrUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
RDBDocumentStore.find(Collection<T> collection,
String id) |
<T extends Document> |
RDBDocumentStore.find(Collection<T> collection,
String id,
int maxCacheAge) |
<T extends Document> |
RDBDocumentStore.findAndUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
RDBDocumentSerializer.fromRow(@NotNull Collection<T> collection,
@NotNull RDBRow row)
|
<T extends Document> |
RDBDocumentStore.getIfCached(Collection<T> collection,
String id) |
protected <T extends Document> |
RDBDocumentStore.getMinValue(Collection<T> collection,
String field,
String fromKey,
String toKey,
List<String> excludeKeyPatterns,
List<RDBDocumentStore.QueryCondition> conditions) |
protected <T extends Document> |
RDBDocumentStore.getTable(Collection<T> collection) |
<T extends Document> |
RDBDocumentStore.invalidateCache(Collection<T> collection,
String id) |
<T extends Document> |
RDBDocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
int limit) |
protected <T extends Document> |
RDBDocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
List<String> excludeKeyPatterns,
List<RDBDocumentStore.QueryCondition> conditions,
int limit) |
<T extends Document> |
RDBDocumentStore.query(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit) |
protected <T extends Document> |
RDBDocumentStore.queryAsIterable(Collection<T> collection,
String fromKey,
String toKey,
List<String> excludeKeyPatterns,
List<RDBDocumentStore.QueryCondition> conditions,
int limit,
String sortBy) |
protected <T extends Document> |
RDBDocumentStore.queryCount(Collection<T> collection,
String fromKey,
String toKey,
List<String> excludeKeyPatterns,
List<RDBDocumentStore.QueryCondition> conditions) |
<T extends Document> |
RDBDocumentStore.remove(Collection<T> collection,
List<String> ids) |
<T extends Document> |
RDBDocumentStore.remove(Collection<T> collection,
Map<String,Long> toRemove) |
<T extends Document> |
RDBDocumentStore.remove(Collection<T> collection,
String id) |
<T extends Document> |
RDBDocumentStore.remove(Collection<T> collection,
String indexedProperty,
long startValue,
long endValue) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Document> |
LoggingDocumentStoreWrapper.create(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
TimingDocumentStoreWrapper.create(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.create(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.create(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
LoggingDocumentStoreWrapper.createOrUpdate(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
TimingDocumentStoreWrapper.createOrUpdate(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.createOrUpdate(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.createOrUpdate(Collection<T> collection,
List<UpdateOp> updateOps) |
<T extends Document> |
LoggingDocumentStoreWrapper.createOrUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
TimingDocumentStoreWrapper.createOrUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.createOrUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.createOrUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
LoggingDocumentStoreWrapper.find(Collection<T> collection,
String key) |
<T extends Document> |
TimingDocumentStoreWrapper.find(Collection<T> collection,
String key) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.find(Collection<T> collection,
String key) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.find(Collection<T> collection,
String key) |
<T extends Document> |
LoggingDocumentStoreWrapper.find(Collection<T> collection,
String key,
int maxCacheAge) |
<T extends Document> |
TimingDocumentStoreWrapper.find(Collection<T> collection,
String key,
int maxCacheAge) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.find(Collection<T> collection,
String key,
int maxCacheAge) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.find(Collection<T> collection,
String key,
int maxCacheAge) |
<T extends Document> |
LoggingDocumentStoreWrapper.findAndUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
TimingDocumentStoreWrapper.findAndUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.findAndUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.findAndUpdate(Collection<T> collection,
UpdateOp update) |
<T extends Document> |
LoggingDocumentStoreWrapper.getIfCached(Collection<T> collection,
String key) |
<T extends Document> |
TimingDocumentStoreWrapper.getIfCached(Collection<T> collection,
String key) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.getIfCached(Collection<T> collection,
String key) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.getIfCached(Collection<T> collection,
String key) |
<T extends Document> |
LoggingDocumentStoreWrapper.invalidateCache(Collection<T> collection,
String key) |
<T extends Document> |
TimingDocumentStoreWrapper.invalidateCache(Collection<T> collection,
String key) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.invalidateCache(Collection<T> collection,
String key) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.invalidateCache(Collection<T> collection,
String key) |
<T extends Document> |
LoggingDocumentStoreWrapper.query(Collection<T> collection,
String fromKey,
String toKey,
int limit) |
<T extends Document> |
TimingDocumentStoreWrapper.query(Collection<T> collection,
String fromKey,
String toKey,
int limit) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.query(Collection<T> collection,
String fromKey,
String toKey,
int limit) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.query(Collection<T> collection,
String fromKey,
String toKey,
int limit) |
<T extends Document> |
LoggingDocumentStoreWrapper.query(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit) |
<T extends Document> |
TimingDocumentStoreWrapper.query(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.query(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.query(Collection<T> collection,
String fromKey,
String toKey,
String indexedProperty,
long startValue,
int limit) |
<T extends Document> |
LoggingDocumentStoreWrapper.remove(Collection<T> collection,
List<String> keys) |
<T extends Document> |
TimingDocumentStoreWrapper.remove(Collection<T> collection,
List<String> keys) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.remove(Collection<T> collection,
List<String> keys) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.remove(Collection<T> collection,
List<String> keys) |
<T extends Document> |
LoggingDocumentStoreWrapper.remove(Collection<T> collection,
Map<String,Long> toRemove) |
<T extends Document> |
TimingDocumentStoreWrapper.remove(Collection<T> collection,
Map<String,Long> toRemove) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.remove(Collection<T> collection,
Map<String,Long> toRemove) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.remove(Collection<T> collection,
Map<String,Long> toRemove) |
<T extends Document> |
LoggingDocumentStoreWrapper.remove(Collection<T> collection,
String key) |
<T extends Document> |
TimingDocumentStoreWrapper.remove(Collection<T> collection,
String key) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.remove(Collection<T> collection,
String key) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.remove(Collection<T> collection,
String key) |
<T extends Document> |
LoggingDocumentStoreWrapper.remove(Collection<T> collection,
String indexedProperty,
long startValue,
long endValue) |
<T extends Document> |
TimingDocumentStoreWrapper.remove(Collection<T> collection,
String indexedProperty,
long startValue,
long endValue) |
<T extends Document> |
LeaseCheckDocumentStoreWrapper.remove(Collection<T> collection,
String indexedProperty,
long startValue,
long endValue) |
<T extends Document> |
SynchronizingDocumentStoreWrapper.remove(Collection<T> collection,
String indexedProperty,
long startValue,
long endValue) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.