public static final class CreateTableRequest.Options extends Object
NO_ERROR_IF_EXISTS: If true, prevents an error from occurring
 if the table already exists and is of the given type.  If a table with
 the same ID but a different type exists, it is still an error.
 Supported values:
 
 The default value is FALSE.
         COLLECTION_NAME: Name of a collection which is to contain the newly
 created table. If the collection provided is non-existent, the
 collection will be automatically created. If empty, then the newly
 created table will be a top-level table.
         IS_COLLECTION: Indicates whether the new table to be created will be a
 collection.
 Supported values:
 
 The default value is FALSE.
         DISALLOW_HOMOGENEOUS_TABLES: No longer supported; value will be
 ignored.
 Supported values:
 
 The default value is FALSE.
         IS_REPLICATED: For a table, affects the distribution scheme for the table's data.  If true and
 the given type has no explicit shard
 key defined, the table will be replicated.  If false, the table will be sharded according to the shard key specified in the
 given typeId, or randomly sharded, if no shard key is specified.  Note
 that a type containing a shard key cannot be used to create a replicated
 table.
 Supported values:
 
 The default value is FALSE.
         FOREIGN_KEYS: Semicolon-separated list of foreign keys, of the format '(source_column_name [,
 ...]) references target_table_name(primary_key_column_name [, ...]) [as
 foreign_key_name]'.
         FOREIGN_SHARD_KEY: Foreign shard key of the format 'source_column
 references shard_by_column from target_table(primary_key_column)'.
         PARTITION_TYPE: Partitioning scheme to use.
 Supported values:
 RANGE: Use range partitioning.
         INTERVAL: Use interval partitioning.
         LIST: Use list partitioning.
         HASH: Use hash partitioning.
 PARTITION_KEYS: Comma-separated list of partition keys, which are the
 columns or column expressions by which records will be assigned to
 partitions defined by partition_definitions.
         PARTITION_DEFINITIONS: Comma-separated list of partition definitions,
 whose format depends on the choice of partition_type.  See range partitioning, interval partitioning, list partitioning, or hash partitioning for example formats.
         IS_AUTOMATIC_PARTITION: If true, a new partition will be created for
 values which don't fall into an existing partition.  Currently only
 supported for list partitions.
 Supported values:
 
 The default value is FALSE.
         TTL: For a table, sets the TTL of the table specified in tableName.
         CHUNK_SIZE:
 Indicates the number of records per chunk to be used for this table.
         IS_RESULT_TABLE: For a table, indicates whether the table is an
 in-memory table. A result table cannot contain store_only, text_search,
 or string columns (charN columns are acceptable), and it will not be
 retained if the server is restarted.
 Supported values:
 
 The default value is FALSE.
         STRATEGY_DEFINITION: The tier strategy for the table and its columns. See tier strategy usage for format and tier
 strategy examples for examples.
 Map.
 A set of string constants for the parameter options.| Modifier and Type | Field and Description | 
|---|---|
| static String | CHUNK_SIZEIndicates the number of records per chunk to be used for this table. | 
| static String | COLLECTION_NAMEName of a collection which is to contain the newly created table. | 
| static String | DISALLOW_HOMOGENEOUS_TABLESNo longer supported; value will be ignored. | 
| static String | FALSE | 
| static String | FOREIGN_KEYSSemicolon-separated list of foreign keys, of the format '(source_column_name
 [, ...]) references target_table_name(primary_key_column_name [,
 ...]) [as foreign_key_name]'. | 
| static String | FOREIGN_SHARD_KEYForeign shard key of the format 'source_column references
 shard_by_column from target_table(primary_key_column)'. | 
| static String | HASHUse hash partitioning. | 
| static String | INTERVAL | 
| static String | IS_AUTOMATIC_PARTITIONIf true, a new partition will be created for values which don't fall
 into an existing partition. | 
| static String | IS_COLLECTIONIndicates whether the new table to be created will be a collection. | 
| static String | IS_REPLICATEDFor a table, affects the distribution scheme for the table's data. | 
| static String | IS_RESULT_TABLEFor a table, indicates whether the table is an in-memory table. | 
| static String | LISTUse list partitioning. | 
| static String | NO_ERROR_IF_EXISTSIf  true, prevents an error from occurring if the table
 already exists and is of the given type. | 
| static String | PARTITION_DEFINITIONSComma-separated list of partition definitions, whose format depends
 on the choice of  partition_type. | 
| static String | PARTITION_KEYSComma-separated list of partition keys, which are the columns or
 column expressions by which records will be assigned to partitions
 defined by  partition_definitions. | 
| static String | PARTITION_TYPEPartitioning scheme to use. | 
| static String | RANGEUse range partitioning. | 
| static String | STRATEGY_DEFINITIONThe tier strategy for the table and its columns. | 
| static String | TRUE | 
| static String | TTLFor a table, sets the TTL of the table specified in  tableName. | 
public static final String NO_ERROR_IF_EXISTS
true, prevents an error from occurring if the table
 already exists and is of the given type.  If a table with the same
 ID but a different type exists, it is still an error.
 Supported values:
 
 The default value is FALSE.public static final String TRUE
public static final String FALSE
public static final String COLLECTION_NAME
public static final String IS_COLLECTION
FALSE.public static final String DISALLOW_HOMOGENEOUS_TABLES
FALSE.public static final String IS_REPLICATED
typeId, or randomly sharded, if no shard key is specified.
 Note that a type containing a shard key cannot be used to create a
 replicated table.
 Supported values:
 
 The default value is FALSE.public static final String FOREIGN_KEYS
public static final String FOREIGN_SHARD_KEY
public static final String PARTITION_TYPE
RANGE: Use range partitioning.
         INTERVAL:
 Use interval partitioning.
         LIST: Use list partitioning.
         HASH: Use hash partitioning.
 public static final String RANGE
public static final String INTERVAL
public static final String LIST
public static final String HASH
public static final String PARTITION_KEYS
partition_definitions.public static final String PARTITION_DEFINITIONS
partition_type.  See range partitioning, interval partitioning, list partitioning, or hash partitioning for example formats.public static final String IS_AUTOMATIC_PARTITION
FALSE.public static final String TTL
tableName.public static final String CHUNK_SIZE
public static final String IS_RESULT_TABLE
FALSE.public static final String STRATEGY_DEFINITION
Copyright © 2020. All rights reserved.