Uses of Class
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException
-
Packages that use DocumentStoreException 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 DocumentStoreException in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document that return DocumentStoreException Modifier and Type Method Description static DocumentStoreException
DocumentStoreException. asDocumentStoreException(java.lang.String message, java.lang.Throwable t, DocumentStoreException.Type type, java.lang.Iterable<java.lang.String> ids)
Converts the givenThrowable
into aDocumentStoreException
.static DocumentStoreException
DocumentStoreException. convert(@NotNull java.lang.Throwable t)
static DocumentStoreException
DocumentStoreException. convert(@NotNull java.lang.Throwable t, java.lang.Iterable<java.lang.String> ids)
static DocumentStoreException
DocumentStoreException. convert(@NotNull java.lang.Throwable t, java.lang.String msg)
Methods in org.apache.jackrabbit.oak.plugins.document that throw DocumentStoreException Modifier and Type Method Description <T extends Document>
booleanDocumentStore. create(Collection<T> collection, java.util.List<UpdateOp> updateOps)
Try to create a list of documents.<T extends Document>
java.util.List<T>DocumentStore. createOrUpdate(Collection<T> collection, java.util.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()
).long
DocumentStore. determineServerTimeDifferenceMillis()
<T extends Document>
TDocumentStore. find(Collection<T> collection, java.lang.String key)
Get the document with the givenkey
.<T extends Document>
TDocumentStore. find(Collection<T> collection, java.lang.String key, int maxCacheAge)
Get the document with thekey
.default <T extends Document>
@NotNull java.util.List<T>DocumentStore. findAndUpdate(@NotNull Collection<T> collection, @NotNull java.util.List<UpdateOp> updateOps)
Performs a conditional update (e.g.<T extends Document>
TDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)
Performs a conditional update (e.g.void
ClusterNodeInfo. performLeaseCheck()
Checks if the lease for this cluster node is still valid, otherwise throws aDocumentStoreException
.<T extends Document>
@NotNull java.util.List<T>DocumentStore. query(Collection<T> collection, java.lang.String fromKey, java.lang.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 java.util.List<T>DocumentStore. query(Collection<T> collection, java.lang.String fromKey, java.lang.String toKey, java.lang.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.default <T extends Document>
@NotNull java.util.List<T>DocumentStore. query(Collection<T> collection, java.lang.String fromKey, java.lang.String toKey, java.lang.String indexedProperty, long startValue, int limit, java.util.List<java.lang.String> projection)
Get a list of documents with only projected fields (as mentioned in projections param) along with "_id" field and 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.int
LastRevRecoveryAgent. recover(int clusterId)
Same asLastRevRecoveryAgent.recover(int, long)
, but does not wait for ongoing recovery.int
LastRevRecoveryAgent. recover(int clusterId, long waitUntil)
Recover the correct _lastRev updates for potentially missing candidate nodes.int
LastRevRecoveryAgent. recover(java.lang.Iterable<NodeDocument> suspects, int clusterId)
int
LastRevRecoveryAgent. recover(java.lang.Iterable<NodeDocument> suspects, int clusterId, boolean dryRun)
Recover the correct _lastRev updates for the given candidate nodes.<T extends Document>
voidDocumentStore. remove(Collection<T> collection, java.lang.String key)
Remove a document.<T extends Document>
intDocumentStore. remove(Collection<T> collection, java.lang.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, java.util.List<java.lang.String> keys)
Batch remove documents with given keys.<T extends Document>
intDocumentStore. remove(Collection<T> collection, java.util.Map<java.lang.String,java.lang.Long> toRemove)
Batch remove documents with given keys and corresponding equal conditions onNodeDocument.MODIFIED_IN_SECS
values.boolean
ClusterNodeInfo. renewLease()
Renew the cluster id lease.static @NotNull FormatVersion
FormatVersion. versionOf(@NotNull DocumentStore store)
Reads theFormatVersion
from the given store.boolean
FormatVersion. writeTo(@NotNull DocumentStore store)
Writes this version to the given document store. -
Uses of DocumentStoreException in org.apache.jackrabbit.oak.plugins.document.memory
Methods in org.apache.jackrabbit.oak.plugins.document.memory that throw DocumentStoreException Modifier and Type Method Description <T extends Document>
intMemoryDocumentStore. remove(Collection<T> collection, java.lang.String indexedProperty, long startValue, long endValue)
-
Uses of DocumentStoreException in org.apache.jackrabbit.oak.plugins.document.mongo
Methods in org.apache.jackrabbit.oak.plugins.document.mongo that throw DocumentStoreException Modifier and Type Method Description <T extends Document>
TMongoDocumentStore. createOrUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
TMongoDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)
<T extends Document>
@NotNull java.util.List<T>MongoDocumentStore. query(Collection<T> collection, java.lang.String fromKey, java.lang.String toKey, java.lang.String indexedProperty, long startValue, int limit, java.util.List<java.lang.String> projection)
<T extends Document>
intMongoDocumentStore. remove(Collection<T> collection, java.lang.String indexedProperty, long startValue, long endValue)
-
Uses of DocumentStoreException in org.apache.jackrabbit.oak.plugins.document.rdb
Subclasses of DocumentStoreException in org.apache.jackrabbit.oak.plugins.document.rdb Modifier and Type Class Description protected class
RDBDocumentStore.UnsupportedIndexedPropertyException
Methods in org.apache.jackrabbit.oak.plugins.document.rdb that return DocumentStoreException Modifier and Type Method Description static DocumentStoreException
RDBJDBCTools. asDocumentStoreException(@NotNull java.lang.Exception cause, @NotNull java.lang.String message)
Methods in org.apache.jackrabbit.oak.plugins.document.rdb that throw DocumentStoreException Modifier and Type Method Description int
RDBDocumentStoreJDBC. deleteWithCondition(java.sql.Connection connection, org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.RDBTableMetaData tmd, java.util.List<RDBDocumentStore.QueryCondition> conditions)
<T extends Document>
TRDBDocumentSerializer. fromRow(@NotNull Collection<T> collection, @NotNull RDBRow row)
<T extends Document>
intRDBDocumentStore. remove(Collection<T> collection, java.lang.String indexedProperty, long startValue, long endValue)
-
Uses of DocumentStoreException in org.apache.jackrabbit.oak.plugins.document.util
Methods in org.apache.jackrabbit.oak.plugins.document.util that throw DocumentStoreException Modifier and Type Method 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.<T extends Document>
@NotNull java.util.List<T>LoggingDocumentStoreWrapper. query(Collection<T> collection, java.lang.String fromKey, java.lang.String toKey, java.lang.String indexedProperty, long startValue, int limit, java.util.List<java.lang.String> projection)
<T extends Document>
@NotNull java.util.List<T>SynchronizingDocumentStoreWrapper. query(Collection<T> collection, java.lang.String fromKey, java.lang.String toKey, java.lang.String indexedProperty, long startValue, int limit, java.util.List<java.lang.String> projection)
<T extends Document>
@NotNull java.util.List<T>ThrottlingDocumentStoreWrapper. query(Collection<T> collection, java.lang.String fromKey, java.lang.String toKey, java.lang.String indexedProperty, long startValue, int limit, java.util.List<java.lang.String> projection)
<T extends Document>
@NotNull java.util.List<T>TimingDocumentStoreWrapper. query(Collection<T> collection, java.lang.String fromKey, java.lang.String toKey, java.lang.String indexedProperty, long startValue, int limit, java.util.List<java.lang.String> projection)
<T extends Document>
intLeaseCheckDocumentStoreWrapper. remove(Collection<T> collection, java.lang.String indexedProperty, long startValue, long endValue)
<T extends Document>
intLoggingDocumentStoreWrapper. remove(Collection<T> collection, java.lang.String indexedProperty, long startValue, long endValue)
<T extends Document>
intSynchronizingDocumentStoreWrapper. remove(Collection<T> collection, java.lang.String indexedProperty, long startValue, long endValue)
<T extends Document>
intThrottlingDocumentStoreWrapper. remove(Collection<T> collection, java.lang.String indexedProperty, long startValue, long endValue)
<T extends Document>
intTimingDocumentStoreWrapper. remove(Collection<T> collection, java.lang.String indexedProperty, long startValue, long endValue)
-