Class KeyValueTableConfiguration

  • All Implemented Interfaces:
    java.io.Serializable

    @Beta
    public class KeyValueTableConfiguration
    extends java.lang.Object
    implements java.io.Serializable
    The configuration of a Key-Value Table.
    See Also:
    Serialized Form
    • Method Detail

      • getTotalKeyLength

        public int getTotalKeyLength()
        The total number of bytes for the key (includes Primary and Secondary).
        Returns:
        The total key size, in bytes.
      • toString

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

        public int getPartitionCount()
        The number of Partitions for a Key-Value Table. This value cannot be adjusted after the Key-Value Table has been created.
        Returns:
        The number of Partitions for a Key-Value Table.
      • getPrimaryKeyLength

        public int getPrimaryKeyLength()
        The number of bytes for the Primary Key. This value cannot be changed after the Key-Value Table has been created.
        Returns:
        The number of bytes for the Primary Key.
      • getSecondaryKeyLength

        public int getSecondaryKeyLength()
        The number of bytes for the Secondary Key. This value cannot be changed after the Key-Value Table has been created.
        Returns:
        The number of bytes for the Secondary Key.
      • getRolloverSizeBytes

        public long getRolloverSizeBytes()
        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.
        Returns:
        The rollover size for the table segment in LTS.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object