Class ContainerPartitionKey


  • public class ContainerPartitionKey
    extends Object
    The configuration of the partition key to be used for partitioning data into multiple partitions.
    • Constructor Detail

      • ContainerPartitionKey

        public ContainerPartitionKey()
    • Method Detail

      • paths

        public List<String> paths()
        Get list of paths using which data within the container can be partitioned.
        Returns:
        the paths value
      • withPaths

        public ContainerPartitionKey withPaths​(List<String> paths)
        Set list of paths using which data within the container can be partitioned.
        Parameters:
        paths - the paths value to set
        Returns:
        the ContainerPartitionKey object itself.
      • kind

        public PartitionKind kind()
        Get indicates the kind of algorithm used for partitioning. Possible values include: 'Hash', 'Range'.
        Returns:
        the kind value
      • withKind

        public ContainerPartitionKey withKind​(PartitionKind kind)
        Set indicates the kind of algorithm used for partitioning. Possible values include: 'Hash', 'Range'.
        Parameters:
        kind - the kind value to set
        Returns:
        the ContainerPartitionKey object itself.