Package org.projectnessie.versioned
Interface Delete
- All Superinterfaces:
Operation
A delete operation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.projectnessie.versioned.Operation
Operation.OperationType -
Method Summary
Modifier and TypeMethodDescriptiondefault 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 Details
-
getType
-
of
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
-