Package io.pravega.client.tables
Class KeyValueTableConfiguration.KeyValueTableConfigurationBuilder
- java.lang.Object
- 
- io.pravega.client.tables.KeyValueTableConfiguration.KeyValueTableConfigurationBuilder
 
- 
- Enclosing class:
- KeyValueTableConfiguration
 
 public static final class KeyValueTableConfiguration.KeyValueTableConfigurationBuilder extends java.lang.Object
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyValueTableConfigurationbuild()KeyValueTableConfiguration.KeyValueTableConfigurationBuilderpartitionCount(int partitionCount)The number of Partitions for a Key-Value Table.KeyValueTableConfiguration.KeyValueTableConfigurationBuilderprimaryKeyLength(int primaryKeyLength)The number of bytes for the Primary Key.KeyValueTableConfiguration.KeyValueTableConfigurationBuilderrolloverSizeBytes(long rolloverSizeBytes)The rollover size for table segment in LTS.KeyValueTableConfiguration.KeyValueTableConfigurationBuildersecondaryKeyLength(int secondaryKeyLength)The number of bytes for the Secondary Key.java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
buildpublic KeyValueTableConfiguration build() 
 - 
partitionCountpublic 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.
 
 - 
primaryKeyLengthpublic 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.
 
 - 
secondaryKeyLengthpublic 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.
 
 - 
rolloverSizeBytespublic 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.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-