Class KeyValueTableConfiguration.KeyValueTableConfigurationBuilder

  • Enclosing class:
    KeyValueTableConfiguration

    public static final class KeyValueTableConfiguration.KeyValueTableConfigurationBuilder
    extends java.lang.Object
    • Method Detail

      • partitionCount

        public KeyValueTableConfiguration.KeyValueTableConfigurationBuilder partitionCount​(int partitionCount)
        The number of Partitions for a Key-Value Table. This value cannot be adjusted after the Key-Value Table has been created.
        Parameters:
        partitionCount - The number of Partitions for a Key-Value Table.
        Returns:
        this.
      • primaryKeyLength

        public KeyValueTableConfiguration.KeyValueTableConfigurationBuilder primaryKeyLength​(int primaryKeyLength)
        The number of bytes for the Primary Key. This value cannot be changed after the Key-Value Table has been created.
        Parameters:
        primaryKeyLength - The number of bytes for the Primary Key.
        Returns:
        this.
      • secondaryKeyLength

        public KeyValueTableConfiguration.KeyValueTableConfigurationBuilder secondaryKeyLength​(int secondaryKeyLength)
        The number of bytes for the Secondary Key. This value cannot be changed after the Key-Value Table has been created.
        Parameters:
        secondaryKeyLength - The number of bytes for the Secondary Key.
        Returns:
        this.
      • rolloverSizeBytes

        public KeyValueTableConfiguration.KeyValueTableConfigurationBuilder rolloverSizeBytes​(long rolloverSizeBytes)
        The rollover size for table segment in LTS. The default value for this field is 0. If default value is passed down to the server, a non-zero value defined in the server will be used for the actual rollover size.
        Parameters:
        rolloverSizeBytes - The rollover size for the table segment in LTS.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object