public static final class AggregateUniqueRequest.Options extends Object
COLLECTION_NAME
: Name of a collection which is to contain the table
specified in result_table
. If the collection provided is
non-existent, the collection will be automatically created. If empty,
then the table will be a top-level table.
EXPRESSION
: Optional filter expression to apply to the table.
SORT_ORDER
: String indicating how the returned values should be sorted.
Supported values:
The default value is ASCENDING
.
RESULT_TABLE
: The name of the table used to store the results. If
present, no results are returned in the response. Has the same naming
restrictions as tables. Not available if columnName
is an
unrestricted-length 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. 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
.
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
.
RESULT_TABLE_GENERATE_PK
: If true
then set a primary key for
the result table. Must be used in combination with the result_table
option.
Supported values:
The default value is FALSE
.
TTL
: Sets the TTL of the
table specified in result_table
.
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.
VIEW_ID
: ID
of view of which the result table will be a member. The default value
is ''.
Map
.
A set of string constants for the parameter options
.Modifier and Type | Field and Description |
---|---|
static String |
ASCENDING |
static String |
CHUNK_SIZE
Indicates the number of records per chunk to be used for the result
table.
|
static String |
COLLECTION_NAME
Name of a collection which is to contain the table specified in
result_table . |
static String |
DESCENDING |
static String |
EXPRESSION
Optional filter expression to apply to the table.
|
static String |
FALSE |
static String |
RESULT_TABLE
The name of the table used to store the results.
|
static String |
RESULT_TABLE_FORCE_REPLICATED
Force the result table to be replicated (ignores any sharding).
|
static String |
RESULT_TABLE_GENERATE_PK
If
true then set a primary key for the result table. |
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 |
SORT_ORDER
String indicating how the returned values should be sorted.
|
static String |
TRUE |
static String |
TTL
Sets the TTL of the table specified in
result_table . |
static String |
VIEW_ID
ID of view of which the result table will be a member.
|
public static final String COLLECTION_NAME
result_table
. If the collection provided is non-existent,
the collection will be automatically created. If empty, then the
table will be a top-level table.public static final String EXPRESSION
public static final String SORT_ORDER
ASCENDING
.public static final String ASCENDING
public static final String DESCENDING
public static final String RESULT_TABLE
columnName
is an
unrestricted-length string.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 TRUE
public static final String FALSE
public static final String RESULT_TABLE_FORCE_REPLICATED
result_table
option.
Supported values:
The default value is FALSE
.public static final String RESULT_TABLE_GENERATE_PK
true
then set a primary key for the result table. Must be
used in combination with the result_table
option.
Supported values:
The default value is FALSE
.public static final String TTL
result_table
.public static final String CHUNK_SIZE
result_table
option.public static final String VIEW_ID
Copyright © 2020. All rights reserved.