public static final class AggregateUnpivotRequest.Options extends Object
CREATE_TEMP_TABLE
: If true
, a unique temporary table name will
be generated in the sys_temp schema and used in place of result_table
. If result_table_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_result_table_name
.
Supported values:
The default value is FALSE
.
COLLECTION_NAME
: [DEPRECATED--please specify the containing schema as
part of result_table
and use GPUdb.createSchema(CreateSchemaRequest)
to create the schema
if non-existent] Name of a schema which is to contain the table
specified in result_table
. If the schema is non-existent, it
will be automatically created.
RESULT_TABLE
: The name of a table used to store the results, in
[schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. If present, no results are
returned in the response.
RESULT_TABLE_PERSIST
: If true
, then the result table specified
in result_table
will be persisted and will not expire unless a
ttl
is specified. If false
, then the result table will
be an in-memory table and will expire unless a ttl
is specified
otherwise.
Supported values:
The default value is FALSE
.
EXPRESSION
: Filter expression to apply to the table prior to unpivot
processing.
ORDER_BY
:
Comma-separated list of the columns to be sorted by; e.g. 'timestamp
asc, x desc'. The columns specified must be present in input table. If
any alias is given for any column name, the alias must be used, rather
than the original column name. The default value is ''.
CHUNK_SIZE
: Indicates the number of records per chunk to be used for
the result table. Must be used in combination with the result_table
option.
LIMIT
: The
number of records to keep. The default value is ''.
TTL
: Sets the TTL of the
table specified in result_table
.
VIEW_ID
:
view this result table is part of. The default value is ''.
CREATE_INDEXES
: Comma-separated list of columns on which to create
indexes on the table specified in result_table
. The columns
specified must be present in output column names. If any alias is given
for any column name, the alias must be used, rather than the original
column name.
RESULT_TABLE_FORCE_REPLICATED
: Force the result table to be replicated
(ignores any sharding). Must be used in combination with the result_table
option.
Supported values:
The default value is FALSE
.
Map
.
A set of string constants for the parameter options
.Modifier and Type | Field and Description | ||
---|---|---|---|
static String |
CHUNK_SIZE
Indicates the number of records per chunk to be used for the result
table.
|
||
static String |
COLLECTION_NAME
[DEPRECATED--please specify the containing schema as part of
result_table and use GPUdb.createSchema(CreateSchemaRequest) to create the
schema if non-existent] Name of a schema which is to contain the
table specified in result_table . |
||
static String |
CREATE_INDEXES
Comma-separated list of columns on which to create indexes on the
table specified in
result_table . |
||
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 result_table . |
||
static String |
EXPRESSION
Filter expression to apply to the table prior to unpivot processing.
|
||
static String |
FALSE |
||
static String |
LIMIT
The number of records to keep.
|
||
static String |
ORDER_BY
Comma-separated list of the columns to be sorted by; e.g.
|
||
static String |
RESULT_TABLE
The name of a table used to store the results, in
[schema_name.]table_name format, using standard
static String RESULT_TABLE_FORCE_REPLICATED
Force the result table to be replicated (ignores any sharding).
| ||
static String |
RESULT_TABLE_PERSIST
If
true , then the result table specified in result_table will be persisted and will not expire unless a ttl is specified. |
||
static String |
TRUE |
||
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 result_table
. If
result_table_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_result_table_name
.
Supported values:
The default value is FALSE
.public static final String TRUE
public static final String FALSE
public static final String COLLECTION_NAME
result_table
and use GPUdb.createSchema(CreateSchemaRequest)
to create the
schema if non-existent] Name of a schema which is to contain the
table specified in result_table
. If the schema is
non-existent, it will be automatically created.public static final String RESULT_TABLE
public static final String RESULT_TABLE_PERSIST
true
, then the result table specified in result_table
will be persisted and will not expire unless a ttl
is specified. If false
, then the result table 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 EXPRESSION
public static final String ORDER_BY
public static final String CHUNK_SIZE
result_table
option.public static final String LIMIT
public static final String TTL
result_table
.public static final String VIEW_ID
public static final String CREATE_INDEXES
result_table
. The columns specified must
be present in output column names. If any alias is given for any
column name, the alias must be used, rather than the original column
name.public static final String RESULT_TABLE_FORCE_REPLICATED
result_table
option.
Supported values:
The default value is FALSE
.Copyright © 2024. All rights reserved.