Interface DeleteRangeOption


public interface DeleteRangeOption
Options for deleting a range of records.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    PartitionKey(String partitionKey)
    PartitionKey overrides the partition routing with the specified `partitionKey` instead of the regular record key.
  • Method Details

    • PartitionKey

      static DeleteRangeOption PartitionKey(String 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
      Returns:
      the delete range option.