Package io.streamnative.oxia.client.api
Interface DeleteOption
- All Known Subinterfaces:
OptionVersionId
- All Known Implementing Classes:
OptionPartitionKey,OptionVersionId.OptionRecordDoesNotExist,OptionVersionId.OptionVersionIdEqual
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic DeleteOptionIfVersionIdEquals(long versionId) static DeleteOptionPartitionKey(@NonNull String partitionKey) PartitionKey overrides the partition routing with the specified `partitionKey` instead of the regular record key.
-
Method Details
-
IfVersionIdEquals
-
PartitionKey
PartitionKey overrides the partition routing with the specified `partitionKey` instead of the regular record key.Records with the same partitionKey will always be guaranteed to be co-located in the same Oxia shard.
- Parameters:
partitionKey- the partition key to use
-