Uses of Interface
io.oxia.client.api.options.PutOption
Packages that use PutOption
Package
Description
The public API for interacting with Oxia.
The definitions for options that can be passed to the Oxia client operations.
-
Uses of PutOption in io.oxia.client.api
Method parameters in io.oxia.client.api with type arguments of type PutOptionModifier and TypeMethodDescriptionConditionally associates a value with a key if the server's versionId of the record is as specified, at the instant when the put is applied.Conditionally associates a value with a key if the server's versionId of the record is as specified, at the instant when the put is applied. -
Uses of PutOption in io.oxia.client.api.options
Fields in io.oxia.client.api.options declared as PutOptionModifier and TypeFieldDescriptionstatic final PutOptionPutOption.AsEphemeralRecordIndicates that the record should be treated as ephemeral.static final PutOptionPutOption.IfRecordDoesNotExistSpecifies that the operation should only proceed if the record does not already exist.Methods in io.oxia.client.api.options that return PutOptionModifier and TypeMethodDescriptionstatic PutOptionPutOption.PartitionKey(String partitionKey) PartitionKey overrides the partition routing with the specified `partitionKey` instead of the regular record key.static PutOptionPutOption.SecondaryIndex(String indexName, String secondaryKey) SecondaryIndex let the users specify additional keys to index the record Index names are arbitrary strings and can be used inSyncOxiaClient.list(String, String, Set)andSyncOxiaClient.rangeScan(String, String, Set)requests.static PutOptionPutOption.SequenceKeysDeltas(List<Long> sequenceKeysDeltas) SequenceKeysDeltas will request that the final record key to be assigned by the server, based on the prefix record key and appending one or more sequences.