public static final class CreateProjectionRequest.Options extends Object
Modifier and Type | Field and Description | ||||
---|---|---|---|---|---|
static String |
CHUNK_COLUMN_MAX_MEMORY
Indicates the target maximum data size for each column in a chunk to
be used for this projection.
|
||||
static String |
CHUNK_MAX_MEMORY
Indicates the target maximum data size for all columns in a chunk to
be used for this projection.
|
||||
static String |
CHUNK_SIZE
Indicates the number of records per chunk to be used for this
projection.
|
||||
static String |
COLLECTION_NAME
[DEPRECATED--please specify the containing schema for the projection
as part of
projectionName and use
GPUdb.createSchema to create the schema if non-existent] Name of a
schema for the projection. |
||||
static String |
CREATE_INDEXES
Comma-separated list of columns on which to create indexes on the
projection.
|
||||
static String |
CREATE_TEMP_TABLE
If
TRUE , a unique temporary table name will be
generated in the sys_temp schema and used in place of projectionName . |
||||
static String |
EXPRESSION
| ||||
static String |
HASH
Use
static String INTERVAL
Use
static String IS_AUTOMATIC_PARTITION
If
TRUE , a new partition will be created for
values which don't fall into an existing partition. | ||||
static String |
IS_REPLICATED
If
TRUE then the projection will be replicated
even if the source table is not. |
||||
static String |
JOIN_WINDOW_FUNCTIONS
If set, window functions which require a reshard will be computed
separately and joined back together, if the width of the projection
is greater than the join_window_functions_threshold.
|
||||
static String |
JOIN_WINDOW_FUNCTIONS_THRESHOLD
If the projection is greater than this width (in bytes), then window
functions which require a reshard will be computed separately and
joined back together.
|
||||
static String |
LIMIT
The number of records to keep.
|
||||
static String |
LIST
| ||||
static String |
ORDER_BY
Comma-separated list of the columns to be sorted by;
e.g.
|
||||
static String |
PARTITION_DEFINITIONS
Comma-separated list of partition definitions, whose format depends
on the choice of
PARTITION_TYPE . |
||||
static String |
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 . |
||||
static String |
PARTITION_TYPE
static String PERSIST
If
TRUE , then the projection specified in
projectionName will be persisted and
will not expire unless a TTL is specified. | ||||
static String |
PRESERVE_DICT_ENCODING
If
TRUE , then columns that were dict encoded in
the source table will be dict encoded in the projection. |
||||
static String |
RANGE
Use
static String RETAIN_PARTITIONS
Determines whether the created projection will retain the
partitioning scheme from the source table.
| ||||
static String |
SERIES
| ||||
static String |
STRATEGY_DEFINITION
| ||||
static String |
TTL
|
public static final String CREATE_TEMP_TABLE
TRUE
, a unique temporary table name will be
generated in the sys_temp schema and used in place of projectionName
. If PERSIST
is FALSE
(or unspecified), then this
is always allowed even if the caller does not have permission to
create tables. The generated name is returned in QUALIFIED_PROJECTION_NAME
.
Supported values:
The default value is FALSE
.public static final String TRUE
public static final String FALSE
public static final String COLLECTION_NAME
projectionName
and use
GPUdb.createSchema
to create the schema if non-existent] Name of a
schema for the projection. If the schema is non-existent, it will be
automatically created. The default value is ''.public static final String EXPRESSION
public static final String IS_REPLICATED
TRUE
then the projection will be replicated
even if the source table is not.
Supported values:
The default value is FALSE
.public static final String OFFSET
public static final String LIMIT
public static final String ORDER_BY
columnNames
. If any alias is
given for any column name, the alias must be used, rather than the
original column name. The default value is ''.public static final String CHUNK_SIZE
public static final String CHUNK_COLUMN_MAX_MEMORY
public static final String CHUNK_MAX_MEMORY
public static final String CREATE_INDEXES
columnNames
. If any alias is given for any
column name, the alias must be used, rather than the original column
name.public static final String TTL
projectionName
.public static final String SHARD_KEY
columnNames
. If any alias is given for
any column name, the alias must be used, rather than the original
column name. The default value is ''.public static final String PERSIST
TRUE
, then the projection specified in
projectionName
will be persisted and
will not expire unless a TTL
is specified. If
FALSE
, then the projection will be an
in-memory table and will expire unless a TTL
is
specified otherwise.
Supported values:
The default value is FALSE
.public static final String PRESERVE_DICT_ENCODING
TRUE
, then columns that were dict encoded in
the source table will be dict encoded in the projection.
Supported values:
The default value is TRUE
.public static final String RETAIN_PARTITIONS
FALSE
.public static final String PARTITION_TYPE
RANGE
: Use range partitioning.
INTERVAL
: Use interval partitioning.
LIST
: Use list partitioning.
HASH
: Use hash partitioning.
SERIES
: Use series 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 SERIES
public static final String PARTITION_KEYS
PARTITION_DEFINITIONS
.public static final String PARTITION_DEFINITIONS
PARTITION_TYPE
. See
range partitioning, interval partitioning, list partitioning, hash partitioning, or series partitioning for example formats.public static final String IS_AUTOMATIC_PARTITION
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
.public static final String VIEW_ID
public static final String STRATEGY_DEFINITION
public static final String JOIN_WINDOW_FUNCTIONS
public static final String JOIN_WINDOW_FUNCTIONS_THRESHOLD
Copyright © 2025. All rights reserved.