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 ofDocumentStore
andBlobStore
for 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 UpdateOp
UpdateOp. copy()
Creates a deep copy of this update operation.UpdateOp
UpdateOp. getReverseOperation()
UpdateOp
UpdateOp. 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 org.apache.jackrabbit.guava.common.base.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 void
NodeDocument. addCollision(@NotNull UpdateOp op, @NotNull Revision revision, @NotNull Revision other)
Add a collision marker for the givenrevision
.static void
UpdateUtils. applyChanges(@NotNull Document doc, @NotNull UpdateOp update)
Apply the changes to the in-memory document.static void
UpdateUtils. assertUnconditional(@NotNull UpdateOp up)
Ensures that the givenUpdateOp
is 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 void
NodeDocument. hasLastRev(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. removeBranchCommit(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. removeCollision(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. removeCommitRoot(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. removeDeleted(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. removePrevious(@NotNull UpdateOp op, @NotNull org.apache.jackrabbit.oak.plugins.document.Range range)
static void
NodeDocument. removePrevious(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. removeRevision(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. removeStalePrevious(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. setBranchCommit(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. setChildrenFlag(@NotNull UpdateOp op, boolean hasChildNode)
static void
NodeDocument. setCommitRoot(@NotNull UpdateOp op, @NotNull Revision revision, int commitRootDepth)
static void
NodeDocument. setDeleted(@NotNull UpdateOp op, @NotNull Revision revision, boolean deleted)
static void
NodeDocument. setDeletedOnce(@NotNull UpdateOp op)
static void
NodeDocument. setHasBinary(@NotNull UpdateOp op)
static void
NodeDocument. setLastRev(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. setModified(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. setPrevious(@NotNull UpdateOp op, @NotNull org.apache.jackrabbit.oak.plugins.document.Range range)
static void
NodeDocument. setRevision(@NotNull UpdateOp op, @NotNull Revision revision, @NotNull java.lang.String commitValue)
static void
NodeDocument. setStalePrevious(@NotNull UpdateOp op, @NotNull Revision revision, int height)
static void
NodeDocument. setSweepRevision(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. unsetCommitRoot(@NotNull UpdateOp op, @NotNull Revision revision)
static void
NodeDocument. 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.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. -
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 theUpdateOp
s with at least MongoDB requests as possible.<T extends Document>
@NotNull java.util.List<T>MongoDocumentStore. findAndUpdate(@NotNull Collection<T> collection, @NotNull java.util.List<UpdateOp> updateOps)
Try to apply all theUpdateOp
s 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.String
RDBDocumentSerializer. asString(UpdateOp update, java.util.Set<java.lang.String> columnProperties)
Serializes the changes in theUpdateOp
into 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>
TThrottlingDocumentStoreWrapper. 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>
TThrottlingDocumentStoreWrapper. 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>
booleanThrottlingDocumentStoreWrapper. 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>ThrottlingDocumentStoreWrapper. 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)
<T extends Document>
@NotNull java.util.List<T>LeaseCheckDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull java.util.List<UpdateOp> updateOps)
<T extends Document>
java.util.List<T>LoggingDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull java.util.List<UpdateOp> updateOps)
<T extends Document>
@NotNull java.util.List<T>SynchronizingDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull java.util.List<UpdateOp> updateOps)
<T extends Document>
@NotNull java.util.List<T>ThrottlingDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull java.util.List<UpdateOp> updateOps)
<T extends Document>
@NotNull java.util.List<T>TimingDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull java.util.List<UpdateOp> updateOps)
-