public static final class CreateProjectionRequest.Options extends Object
COLLECTION_NAME: Name of a collection to which the projection is to be assigned
as a child. If the collection provided is non-existent, the collection
will be automatically created. If empty, then the projection will be at
the top level. The default value is ''.
EXPRESSION: An optional filter expression to be applied to the source table prior to
the projection. The default value is ''.
IS_REPLICATED: If true then the projection will be replicated
even if the source table is not.
Supported values:
The default value is FALSE.
LIMIT: The
number of records to keep. The default value is ''.
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 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 ''.
MATERIALIZE_ON_GPU: If true then the columns of the projection
will be cached on the GPU.
Supported values:
The default value is FALSE.
CHUNK_SIZE: Indicates the chunk size to be used for this table.
CREATE_INDEXES: Comma-separated list of columns on which to create
indexes on the output table. The columns specified must be present in
columnNames. If any alias is given for any column name, the
alias must be used, rather than the original column name.
TTL: Sets the TTL of the
projection specified in projectionName.
SHARD_KEY:
Comma-separated list of the columns to be sharded on; e.g. 'column1,
column2'. The columns specified must be present in 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 ''.
PERSIST: If
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.
PRESERVE_DICT_ENCODING: If true, then columns that were dict
encoded in the source table will be dict encoded in the projection
table.
Supported values:
The default value is FALSE.
VIEW_ID:
view this projection is part of. The default value is ''.
Map.
A set of string constants for the parameter options.| Modifier and Type | Field and Description |
|---|---|
static String |
CHUNK_SIZE
Indicates the chunk size to be used for this table.
|
static String |
COLLECTION_NAME
Name of a collection to which the projection is to be
assigned as a child.
|
static String |
CREATE_INDEXES
Comma-separated list of columns on which to create indexes on the
output table.
|
static String |
EXPRESSION
An optional filter expression to be applied to the source table prior
to the projection.
|
static String |
FALSE |
static String |
IS_REPLICATED
If
true then the projection will be replicated even if the
source table is not. |
static String |
LIMIT
The number of records to keep.
|
static String |
MATERIALIZE_ON_GPU
If
true then the columns of the projection will be cached on
the GPU. |
static String |
ORDER_BY
Comma-separated list of the columns to be sorted by; e.g.
|
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 table. |
static String |
SHARD_KEY
Comma-separated list of the columns to be sharded on; e.g.
|
static String |
TRUE |
static String |
TTL
Sets the TTL of the projection specified in
projectionName. |
static String |
VIEW_ID
view this projection is part of.
|
public static final String COLLECTION_NAME
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 TRUE
public static final String FALSE
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 MATERIALIZE_ON_GPU
true then the columns of the projection will be cached on
the GPU.
Supported values:
The default value is FALSE.public static final String CHUNK_SIZE
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 table.
Supported values:
The default value is FALSE.public static final String VIEW_ID
Copyright © 2019. All rights reserved.