Class TableStorageParameters

java.lang.Object
org.gridgain.tpcds.ddl.TableStorageParameters

public class TableStorageParameters extends Object
Parameters of the table storage. Used in zone and table DDL generation process.
  • Method Details

    • newBuilder

      public static TableStorageParameters.Builder newBuilder()
    • toBuilder

      public TableStorageParameters.Builder toBuilder()
      A new builder of TableStorageParameters filled with parameters of this TableStorageParameters instance.
      Returns:
      new builder.
    • getZone

      public String getZone()
    • getStorageProfile

      public String getStorageProfile()
    • getSecondaryZone

      @Nullable public @Nullable String getSecondaryZone()
    • getSecondaryStorageProfile

      @Nullable public @Nullable String getSecondaryStorageProfile()
    • partitions

      public int partitions()
    • replicas

      public int replicas()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toDdlSql

      public String toDdlSql()
      Creates a table DDL sql portion to be used in Ignite table definition.
      Returns:
      table DDL zone definition sql portion.
    • toZoneDdlSqlQueries

      public List<String> toZoneDdlSqlQueries()
      Creates a zone DDL sql queries, you can use to create zones with corresponding setup.
      Returns:
      Zone DDL sql.