Uses of Class
org.apache.jackrabbit.oak.plugins.document.Collection
-
Packages that use Collection 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 ofDocumentStore
andBlobStore
for relational databases.org.apache.jackrabbit.oak.plugins.document.util -
-
Uses of Collection in org.apache.jackrabbit.oak.plugins.document
Fields in org.apache.jackrabbit.oak.plugins.document declared as Collection Modifier and Type Field 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 DocumentNodeStoreMethods in org.apache.jackrabbit.oak.plugins.document with parameters of type Collection Modifier and Type Method Description <T extends Document>
booleanDocumentStore. create(Collection<T> collection, List<UpdateOp> updateOps)
Try to create a list of documents.<T extends Document>
List<T>DocumentStore. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
Create or unconditionally update a number of documents.<T extends Document>
TDocumentStore. 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 (seeUpdateOp.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 collectionvoid
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 cachevoid
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 storevoid
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 performedvoid
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>
TDocumentStore. find(Collection<T> collection, String key)
Get the document with the givenkey
.<T extends Document>
TDocumentStore. find(Collection<T> collection, String key, int maxCacheAge)
Get the document with thekey
.<T extends Document>
TDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)
Performs a conditional update (e.g. usingUpdateOp.Condition.Type.EXISTS
and only updates the document if the condition istrue
.<T extends Document>
TDocumentStore. getIfCached(Collection<T> collection, String key)
Fetches the cached document.<T extends Document>
voidDocumentStore. invalidateCache(Collection<T> collection, String key)
Invalidate the document cache for the given key.<T extends Document>
@NotNull List<T>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>
@NotNull List<T>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>
voidDocumentStore. remove(Collection<T> collection, String key)
Remove a document.<T extends Document>
intDocumentStore. 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)
.<T extends Document>
voidDocumentStore. remove(Collection<T> collection, List<String> keys)
Batch remove documents with given keys.<T extends Document>
intDocumentStore. remove(Collection<T> collection, Map<String,Long> toRemove)
Batch remove documents with given keys and corresponding equal conditions onNodeDocument.MODIFIED_IN_SECS
values. -
Uses of Collection in org.apache.jackrabbit.oak.plugins.document.memory
Methods in org.apache.jackrabbit.oak.plugins.document.memory with parameters of type Collection Modifier and Type Method Description <T extends Document>
booleanMemoryDocumentStore. create(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
List<T>MemoryDocumentStore. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
TMemoryDocumentStore. createOrUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TMemoryDocumentStore. find(Collection<T> collection, String key)
<T extends Document>
TMemoryDocumentStore. find(Collection<T> collection, String key, int maxCacheAge)
<T extends Document>
TMemoryDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TMemoryDocumentStore. getIfCached(Collection<T> collection, String key)
protected <T extends Document>
ConcurrentSkipListMap<String,T>MemoryDocumentStore. getMap(Collection<T> collection)
Get the in-memory map for this collection.<T extends Document>
voidMemoryDocumentStore. invalidateCache(Collection<T> collection, String key)
<T extends Document>
@NotNull List<T>MemoryDocumentStore. query(Collection<T> collection, String fromKey, String toKey, int limit)
<T extends Document>
@NotNull List<T>MemoryDocumentStore. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit)
<T extends Document>
voidMemoryDocumentStore. remove(Collection<T> collection, String key)
<T extends Document>
intMemoryDocumentStore. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)
<T extends Document>
voidMemoryDocumentStore. remove(Collection<T> collection, List<String> keys)
<T extends Document>
intMemoryDocumentStore. remove(Collection<T> collection, Map<String,Long> toRemove)
-
Uses of Collection in org.apache.jackrabbit.oak.plugins.document.mongo
Methods in org.apache.jackrabbit.oak.plugins.document.mongo with parameters of type Collection Modifier and Type Method Description protected <T extends Document>
TMongoDocumentStore. convertFromDBObject(@NotNull Collection<T> collection, @Nullable com.mongodb.DBObject n)
<T extends Document>
booleanMongoDocumentStore. create(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
@Nullable List<T>MongoDocumentStore. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
Try to apply all theUpdateOp
s with at least MongoDB requests as possible.<T extends Document>
TMongoDocumentStore. createOrUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TMongoDocumentStore. find(Collection<T> collection, String key)
<T extends Document>
TMongoDocumentStore. find(Collection<T> collection, String key, int maxCacheAge)
<T extends Document>
TMongoDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)
protected <T extends Document>
TMongoDocumentStore. findUncached(Collection<T> collection, String key, org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore.DocumentReadPreference docReadPref)
<T extends Document>
TMongoDocumentStore. getIfCached(Collection<T> collection, String key)
<T extends Document>
voidMongoDocumentStore. invalidateCache(Collection<T> collection, String key)
<T extends Document>
@NotNull List<T>MongoDocumentStore. query(Collection<T> collection, String fromKey, String toKey, int limit)
<T extends Document>
@NotNull List<T>MongoDocumentStore. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit)
protected <T extends Document>
@NotNull List<T>MongoDocumentStore. queryInternal(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit, long maxQueryTime)
<T extends Document>
voidMongoDocumentStore. remove(Collection<T> collection, String key)
<T extends Document>
intMongoDocumentStore. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)
<T extends Document>
voidMongoDocumentStore. remove(Collection<T> collection, List<String> keys)
<T extends Document>
intMongoDocumentStore. remove(Collection<T> collection, Map<String,Long> toRemove)
-
Uses of Collection in org.apache.jackrabbit.oak.plugins.document.rdb
Methods in org.apache.jackrabbit.oak.plugins.document.rdb with parameters of type Collection Modifier and Type Method Description protected <T extends Document>
TRDBDocumentStore. convertFromDBObject(@NotNull Collection<T> collection, @NotNull RDBRow row)
<T extends Document>
booleanRDBDocumentStore. create(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
List<T>RDBDocumentStore. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
TRDBDocumentStore. createOrUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TRDBDocumentStore. find(Collection<T> collection, String id)
<T extends Document>
TRDBDocumentStore. find(Collection<T> collection, String id, int maxCacheAge)
<T extends Document>
TRDBDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TRDBDocumentSerializer. fromRow(@NotNull Collection<T> collection, @NotNull RDBRow row)
<T extends Document>
TRDBDocumentStore. getIfCached(Collection<T> collection, String id)
protected <T extends Document>
longRDBDocumentStore. getMinValue(Collection<T> collection, String field, String fromKey, String toKey, List<String> excludeKeyPatterns, List<RDBDocumentStore.QueryCondition> conditions)
protected <T extends Document>
@NotNull org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.RDBTableMetaDataRDBDocumentStore. getTable(Collection<T> collection)
<T extends Document>
voidRDBDocumentStore. invalidateCache(Collection<T> collection, String id)
<T extends Document>
@NotNull List<T>RDBDocumentStore. query(Collection<T> collection, String fromKey, String toKey, int limit)
<T extends Document>
@NotNull List<T>RDBDocumentStore. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit)
protected <T extends Document>
@NotNull List<T>RDBDocumentStore. query(Collection<T> collection, String fromKey, String toKey, List<String> excludeKeyPatterns, List<RDBDocumentStore.QueryCondition> conditions, int limit)
protected <T extends Document>
Iterable<T>RDBDocumentStore. queryAsIterable(Collection<T> collection, String fromKey, String toKey, List<String> excludeKeyPatterns, List<RDBDocumentStore.QueryCondition> conditions, int limit, String sortBy)
protected <T extends Document>
longRDBDocumentStore. queryCount(Collection<T> collection, String fromKey, String toKey, List<String> excludeKeyPatterns, List<RDBDocumentStore.QueryCondition> conditions)
<T extends Document>
voidRDBDocumentStore. remove(Collection<T> collection, String id)
<T extends Document>
intRDBDocumentStore. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)
<T extends Document>
voidRDBDocumentStore. remove(Collection<T> collection, List<String> ids)
<T extends Document>
intRDBDocumentStore. remove(Collection<T> collection, Map<String,Long> toRemove)
-
Uses of Collection in org.apache.jackrabbit.oak.plugins.document.util
Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type Collection Modifier and Type Method Description <T extends Document>
booleanLeaseCheckDocumentStoreWrapper. create(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
booleanLoggingDocumentStoreWrapper. create(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
booleanSynchronizingDocumentStoreWrapper. create(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
booleanTimingDocumentStoreWrapper. create(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
List<T>LeaseCheckDocumentStoreWrapper. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
TLeaseCheckDocumentStoreWrapper. createOrUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
List<T>LoggingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
TLoggingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
List<T>SynchronizingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
TSynchronizingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
List<T>TimingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
TTimingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TLeaseCheckDocumentStoreWrapper. find(Collection<T> collection, String key)
<T extends Document>
TLeaseCheckDocumentStoreWrapper. find(Collection<T> collection, String key, int maxCacheAge)
<T extends Document>
TLoggingDocumentStoreWrapper. find(Collection<T> collection, String key)
<T extends Document>
TLoggingDocumentStoreWrapper. find(Collection<T> collection, String key, int maxCacheAge)
<T extends Document>
TSynchronizingDocumentStoreWrapper. find(Collection<T> collection, String key)
<T extends Document>
TSynchronizingDocumentStoreWrapper. find(Collection<T> collection, String key, int maxCacheAge)
<T extends Document>
TTimingDocumentStoreWrapper. find(Collection<T> collection, String key)
<T extends Document>
TTimingDocumentStoreWrapper. find(Collection<T> collection, String key, int maxCacheAge)
<T extends Document>
TLeaseCheckDocumentStoreWrapper. findAndUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TLoggingDocumentStoreWrapper. findAndUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TSynchronizingDocumentStoreWrapper. findAndUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TTimingDocumentStoreWrapper. findAndUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TLeaseCheckDocumentStoreWrapper. getIfCached(Collection<T> collection, String key)
<T extends Document>
TLoggingDocumentStoreWrapper. getIfCached(Collection<T> collection, String key)
<T extends Document>
TSynchronizingDocumentStoreWrapper. getIfCached(Collection<T> collection, String key)
<T extends Document>
TTimingDocumentStoreWrapper. getIfCached(Collection<T> collection, String key)
<T extends Document>
voidLeaseCheckDocumentStoreWrapper. invalidateCache(Collection<T> collection, String key)
<T extends Document>
voidLoggingDocumentStoreWrapper. invalidateCache(Collection<T> collection, String key)
<T extends Document>
voidSynchronizingDocumentStoreWrapper. invalidateCache(Collection<T> collection, String key)
<T extends Document>
voidTimingDocumentStoreWrapper. invalidateCache(Collection<T> collection, String key)
<T extends Document>
List<T>LeaseCheckDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, int limit)
<T extends Document>
List<T>LeaseCheckDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit)
<T extends Document>
@NotNull List<T>LoggingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, int limit)
<T extends Document>
@NotNull List<T>LoggingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit)
<T extends Document>
@NotNull List<T>SynchronizingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, int limit)
<T extends Document>
@NotNull List<T>SynchronizingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit)
<T extends Document>
@NotNull List<T>TimingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, int limit)
<T extends Document>
@NotNull List<T>TimingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit)
<T extends Document>
voidLeaseCheckDocumentStoreWrapper. remove(Collection<T> collection, String key)
<T extends Document>
intLeaseCheckDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)
<T extends Document>
voidLeaseCheckDocumentStoreWrapper. remove(Collection<T> collection, List<String> keys)
<T extends Document>
intLeaseCheckDocumentStoreWrapper. remove(Collection<T> collection, Map<String,Long> toRemove)
<T extends Document>
voidLoggingDocumentStoreWrapper. remove(Collection<T> collection, String key)
<T extends Document>
intLoggingDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)
<T extends Document>
voidLoggingDocumentStoreWrapper. remove(Collection<T> collection, List<String> keys)
<T extends Document>
intLoggingDocumentStoreWrapper. remove(Collection<T> collection, Map<String,Long> toRemove)
<T extends Document>
voidSynchronizingDocumentStoreWrapper. remove(Collection<T> collection, String key)
<T extends Document>
intSynchronizingDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)
<T extends Document>
voidSynchronizingDocumentStoreWrapper. remove(Collection<T> collection, List<String> keys)
<T extends Document>
intSynchronizingDocumentStoreWrapper. remove(Collection<T> collection, Map<String,Long> toRemove)
<T extends Document>
voidTimingDocumentStoreWrapper. remove(Collection<T> collection, String key)
<T extends Document>
intTimingDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)
<T extends Document>
voidTimingDocumentStoreWrapper. remove(Collection<T> collection, List<String> keys)
<T extends Document>
intTimingDocumentStoreWrapper. remove(Collection<T> collection, Map<String,Long> toRemove)
-