Uses of Class
org.apache.jackrabbit.oak.plugins.document.UpdateOp
-
Packages that use UpdateOp 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 UpdateOp in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document that return UpdateOp Modifier and Type Method Description UpdateOpUpdateOp. copy()Creates a deep copy of this update operation.UpdateOpUpdateOp. getReverseOperation()UpdateOpUpdateOp. shallowCopy(java.lang.String id)Creates an update operation for the document with the given id.Methods in org.apache.jackrabbit.oak.plugins.document that return types with arguments of type UpdateOp Modifier and Type Method Description @NotNull java.lang.Iterable<UpdateOp>NodeDocument. split(@NotNull RevisionContext context, @NotNull RevisionVector head, @NotNull Function<java.lang.String,java.lang.Long> binarySize)Returns update operations to split this document.Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type UpdateOp Modifier and Type Method Description static voidNodeDocument. addCollision(@NotNull UpdateOp op, @NotNull Revision revision, @NotNull Revision other)Add a collision marker for the givenrevision.static voidUpdateUtils. applyChanges(@NotNull Document doc, @NotNull UpdateOp update)Apply the changes to the in-memory document.static voidUpdateUtils. assertUnconditional(@NotNull UpdateOp up)Ensures that the givenUpdateOpis unconditional<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 (seeisNew()).<T extends Document>
TDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)Performs a conditional update (e.g.static voidNodeDocument. hasLastRev(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. removeBranchCommit(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. removeCollision(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. removeCommitRoot(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. removeDeleted(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. removePrevious(@NotNull UpdateOp op, @NotNull org.apache.jackrabbit.oak.plugins.document.Range range)static voidNodeDocument. removePrevious(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. removeRevision(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. removeStalePrevious(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. setBranchCommit(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. setChildrenFlag(@NotNull UpdateOp op, boolean hasChildNode)static voidNodeDocument. setCommitRoot(@NotNull UpdateOp op, @NotNull Revision revision, int commitRootDepth)static voidNodeDocument. setDeleted(@NotNull UpdateOp op, @NotNull Revision revision, boolean deleted)static voidNodeDocument. setDeletedOnce(@NotNull UpdateOp op)static voidNodeDocument. setHasBinary(@NotNull UpdateOp op)static voidNodeDocument. setLastRev(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. setModified(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. setPrevious(@NotNull UpdateOp op, @NotNull org.apache.jackrabbit.oak.plugins.document.Range range)static voidNodeDocument. setRevision(@NotNull UpdateOp op, @NotNull Revision revision, @NotNull java.lang.String commitValue)static voidNodeDocument. setStalePrevious(@NotNull UpdateOp op, @NotNull Revision revision, int height)static voidNodeDocument. setSweepRevision(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. unsetCommitRoot(@NotNull UpdateOp op, @NotNull Revision revision)static voidNodeDocument. unsetRevision(@NotNull UpdateOp op, @NotNull Revision revision)Method parameters in org.apache.jackrabbit.oak.plugins.document with type arguments of type UpdateOp 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. -
Uses of UpdateOp in org.apache.jackrabbit.oak.plugins.document.memory
Methods in org.apache.jackrabbit.oak.plugins.document.memory with parameters of type UpdateOp Modifier and Type Method Description <T extends Document>
TMemoryDocumentStore. createOrUpdate(Collection<T> collection, UpdateOp update)<T extends Document>
TMemoryDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)Method parameters in org.apache.jackrabbit.oak.plugins.document.memory with type arguments of type UpdateOp Modifier and Type Method Description <T extends Document>
booleanMemoryDocumentStore. create(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
java.util.List<T>MemoryDocumentStore. createOrUpdate(Collection<T> collection, java.util.List<UpdateOp> updateOps) -
Uses of UpdateOp in org.apache.jackrabbit.oak.plugins.document.mongo
Methods in org.apache.jackrabbit.oak.plugins.document.mongo with parameters of type UpdateOp 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)Method parameters in org.apache.jackrabbit.oak.plugins.document.mongo with type arguments of type UpdateOp Modifier and Type Method Description <T extends Document>
booleanMongoDocumentStore. create(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
@Nullable java.util.List<T>MongoDocumentStore. createOrUpdate(Collection<T> collection, java.util.List<UpdateOp> updateOps)Try to apply all theUpdateOps with at least MongoDB requests as possible. -
Uses of UpdateOp in org.apache.jackrabbit.oak.plugins.document.rdb
Methods in org.apache.jackrabbit.oak.plugins.document.rdb with parameters of type UpdateOp Modifier and Type Method Description java.lang.StringRDBDocumentSerializer. asString(UpdateOp update, java.util.Set<java.lang.String> columnProperties)Serializes the changes in theUpdateOpinto a JSON array; each entry is another JSON array holding operation, key, revision, and value.<T extends Document>
TRDBDocumentStore. createOrUpdate(Collection<T> collection, UpdateOp update)<T extends Document>
TRDBDocumentStore. findAndUpdate(Collection<T> collection, UpdateOp update)Method parameters in org.apache.jackrabbit.oak.plugins.document.rdb with type arguments of type UpdateOp Modifier and Type Method Description <T extends Document>
booleanRDBDocumentStore. create(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
java.util.List<T>RDBDocumentStore. createOrUpdate(Collection<T> collection, java.util.List<UpdateOp> updateOps) -
Uses of UpdateOp in org.apache.jackrabbit.oak.plugins.document.util
Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type UpdateOp Modifier and Type Method Description <T extends Document>
TLeaseCheckDocumentStoreWrapper. createOrUpdate(Collection<T> collection, UpdateOp update)<T extends Document>
TLoggingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, UpdateOp update)<T extends Document>
TSynchronizingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, UpdateOp update)<T extends Document>
TTimingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, UpdateOp update)<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)Method parameters in org.apache.jackrabbit.oak.plugins.document.util with type arguments of type UpdateOp Modifier and Type Method Description <T extends Document>
booleanLeaseCheckDocumentStoreWrapper. create(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
booleanLoggingDocumentStoreWrapper. create(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
booleanSynchronizingDocumentStoreWrapper. create(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
booleanTimingDocumentStoreWrapper. create(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
java.util.List<T>LeaseCheckDocumentStoreWrapper. createOrUpdate(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
java.util.List<T>LoggingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
java.util.List<T>SynchronizingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, java.util.List<UpdateOp> updateOps)<T extends Document>
java.util.List<T>TimingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, java.util.List<UpdateOp> updateOps)
-