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(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 Iterable<UpdateOp>
NodeDocument. split(@NotNull RevisionContext context, @NotNull RevisionVector head, @NotNull Function<String,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 unconditionalvoid
NodeDocumentRevisionCleaner. collectOldRevisions(UpdateOp op)
Collects cleanable old revisions for the given document.<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 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, 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.default <T extends Document>
@NotNull List<T>DocumentStore. findAndUpdate(@NotNull Collection<T> collection, @NotNull List<UpdateOp> updateOps)
Performs a conditional update (e.g.List<NodeDocument>
FullGcNodeBin. findAndUpdate(List<UpdateOp> updateOpList)
Performs a conditional update If the bin is enabled, the removed properties are saved to the SETTINGS collection with ID prefixed with '/bin/' and empty value If the document ID and properties cannot be saved then the removal of the property fails If bin is disabled, the removed properties are directly removed from the NODES collection -
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, List<UpdateOp> updateOps)
<T extends Document>
List<T>MemoryDocumentStore. createOrUpdate(Collection<T> collection, 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, 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>
@NotNull List<T>MongoDocumentStore. findAndUpdate(@NotNull Collection<T> collection, @NotNull List<UpdateOp> updateOps)
Try to apply all theUpdateOp
s with at least MongoDB requests as possible.List<NodeDocument>
MongoFullGcNodeBin. findAndUpdate(List<UpdateOp> updateOpList)
Performs a conditional update If the bin is enabled, the removed properties are saved to the BIN collection with ID prefixed with '/bin/' and empty value If the document ID and properties cannot be saved then the removal of the property fails If bin is disabled, the removed properties are directly removed from the NODES collection -
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 String
RDBDocumentSerializer. asString(UpdateOp update, Set<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, List<UpdateOp> updateOps)
<T extends Document>
List<T>RDBDocumentStore. createOrUpdate(Collection<T> collection, 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, 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>
booleanThrottlingDocumentStoreWrapper. 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>
List<T>LoggingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
List<T>SynchronizingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
List<T>ThrottlingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
List<T>TimingDocumentStoreWrapper. createOrUpdate(Collection<T> collection, List<UpdateOp> updateOps)
<T extends Document>
@NotNull List<T>LeaseCheckDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull List<UpdateOp> updateOps)
<T extends Document>
List<T>LoggingDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull List<UpdateOp> updateOps)
<T extends Document>
@NotNull List<T>SynchronizingDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull List<UpdateOp> updateOps)
<T extends Document>
@NotNull List<T>ThrottlingDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull List<UpdateOp> updateOps)
<T extends Document>
@NotNull List<T>TimingDocumentStoreWrapper. findAndUpdate(@NotNull Collection<T> collection, @NotNull List<UpdateOp> updateOps)
-