Package org.gridgain.tpcds.ddl
Class TableStorageParameters
java.lang.Object
org.gridgain.tpcds.ddl.TableStorageParameters
Parameters of the table storage. Used in zone and table DDL generation process.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable StringgetZone()intintreplicas()A new builder ofTableStorageParametersfilled with parameters of thisTableStorageParametersinstance.toDdlSql()Creates a table DDL sql portion to be used in Ignite table definition.toString()Creates a zone DDL sql queries, you can use to create zones with corresponding setup.
-
Method Details
-
newBuilder
-
toBuilder
A new builder ofTableStorageParametersfilled with parameters of thisTableStorageParametersinstance.- Returns:
- new builder.
-
getZone
-
getStorageProfile
-
getSecondaryZone
-
getSecondaryStorageProfile
-
partitions
public int partitions() -
replicas
public int replicas() -
toString
-
toDdlSql
Creates a table DDL sql portion to be used in Ignite table definition.- Returns:
- table DDL zone definition sql portion.
-
toZoneDdlSqlQueries
Creates a zone DDL sql queries, you can use to create zones with corresponding setup.- Returns:
- Zone DDL sql.
-