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 ofDocumentStoreandBlobStorefor 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 DocumentStoreExceptionDocumentStoreException. asDocumentStoreException(String message, Throwable t, DocumentStoreException.Type type, Iterable<String> ids)Converts the givenThrowableinto aDocumentStoreException.static DocumentStoreExceptionDocumentStoreException. convert(@NotNull Throwable t)static DocumentStoreExceptionDocumentStoreException. convert(@NotNull Throwable t, Iterable<String> ids)static DocumentStoreExceptionDocumentStoreException. convert(@NotNull Throwable t, 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, 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()).longDocumentStore. determineServerTimeDifferenceMillis()<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.default <T extends Document>
@NotNull List<T>DocumentStore. findAndUpdate(@NotNull Collection<T> collection, @NotNull 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.voidClusterNodeInfo. performLeaseCheck()Checks if the lease for this cluster node is still valid, otherwise throws aDocumentStoreException.<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.default <T extends Document>
@NotNull List<T>DocumentStore. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit, List<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.intLastRevRecoveryAgent. recover(int clusterId)Same asLastRevRecoveryAgent.recover(int, long), but does not wait for ongoing recovery.intLastRevRecoveryAgent. recover(int clusterId, long waitUntil)Recover the correct _lastRev updates for potentially missing candidate nodes.intLastRevRecoveryAgent. recover(Iterable<NodeDocument> suspects, int clusterId)intLastRevRecoveryAgent. recover(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, 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_SECSvalues.booleanClusterNodeInfo. renewLease()Renew the cluster id lease.static @NotNull FormatVersionFormatVersion. versionOf(@NotNull DocumentStore store)Reads theFormatVersionfrom the given store.booleanFormatVersion. 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, 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 List<T>MongoDocumentStore. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit, List<String> projection)<T extends Document>
intMongoDocumentStore. remove(Collection<T> collection, 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 classRDBDocumentStore.UnsupportedIndexedPropertyExceptionMethods in org.apache.jackrabbit.oak.plugins.document.rdb that return DocumentStoreException Modifier and Type Method Description static DocumentStoreExceptionRDBJDBCTools. asDocumentStoreException(@NotNull Exception cause, @NotNull String message)Methods in org.apache.jackrabbit.oak.plugins.document.rdb that throw DocumentStoreException Modifier and Type Method Description intRDBDocumentStoreJDBC. deleteWithCondition(Connection connection, org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.RDBTableMetaData tmd, List<RDBDocumentStore.QueryCondition> conditions)<T extends Document>
TRDBDocumentSerializer. fromRow(@NotNull Collection<T> collection, @NotNull RDBRow row)<T extends Document>
intRDBDocumentStore. remove(Collection<T> collection, 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 voidUtils. 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 List<T>LoggingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit, List<String> projection)<T extends Document>
@NotNull List<T>SynchronizingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit, List<String> projection)<T extends Document>
@NotNull List<T>ThrottlingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit, List<String> projection)<T extends Document>
@NotNull List<T>TimingDocumentStoreWrapper. query(Collection<T> collection, String fromKey, String toKey, String indexedProperty, long startValue, int limit, List<String> projection)<T extends Document>
intLeaseCheckDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)<T extends Document>
intLoggingDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)<T extends Document>
intSynchronizingDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)<T extends Document>
intThrottlingDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)<T extends Document>
intTimingDocumentStoreWrapper. remove(Collection<T> collection, String indexedProperty, long startValue, long endValue)
-