Package org.projectnessie.versioned
Interface Delete
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.projectnessie.versioned.Operation
Operation.OperationType
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default Operation.OperationTypegetType()static Deleteof(org.projectnessie.model.ContentKey key)Creates a delete operation for the given key.-
Methods inherited from interface org.projectnessie.versioned.Operation
getKey, shouldMatchHash
-
-
-
-
Method Detail
-
getType
default Operation.OperationType getType()
-
of
@Nonnull @Nonnull static Delete of(@Nonnull @Nonnull org.projectnessie.model.ContentKey key)
Creates a delete operation for the given key.If the key for a content shall change (aka a rename), then use a
Deleteoperation using the current (old) key and aPutoperation using the new key providing thevaluewith the correct content ID.- Parameters:
key- the key impacted by the operation- Returns:
- a delete operation for the key
-
-