public static final class CreateUnionRequest.Options extends Object
COLLECTION_NAME
: Name of a collection which is to contain the union. If
the collection provided is non-existent, the collection will be
automatically created. If empty, then the union will be a top-level
table.
MATERIALIZE_ON_GPU
: If 'true' then the columns of the union will be
cached on the GPU.
Supported values:
The default value is FALSE
.
MODE
: If 'merge_views' then this operation will merge (i.e. union) the
provided views. All 'table_names' must be views from the same underlying
base table.
Supported values:
UNION_ALL
:
Retains all rows from the specified tables.
UNION
: Retains all unique rows from the specified tables (synonym for
'union_distinct').
UNION_DISTINCT
: Retains all unique rows from the specified tables.
EXCEPT
: Retains all unique rows from the first table that do not appear
in the second table (only works on 2 tables).
INTERSECT
:
Retains all unique rows that appear in both of the specified tables
(only works on 2 tables).
MERGE_VIEWS
:
Merge two or more views (or views of views) of the same base data set
into a new view. The resulting view would match the results of a SQL OR
operation, e.g., if filter 1 creates a view using the expression 'x =
10' and filter 2 creates a view using the expression 'x <= 10', then the
merge views operation creates a new view using the expression 'x = 10 OR
x <= 10'.
UNION_ALL
.
TTL
: Sets the TTL of the table specified in tableName
. The
value must be the desired TTL in minutes.
PERSIST
: If
true
then the union will be persisted as a regular table (it
will not be automatically cleared unless a ttl
is provided, and
the table data can be modified in subsequent operations). If false
then the union will be a read-only, memory-only temporary table.
Supported values:
The default value is FALSE
.
options
.Modifier and Type | Field and Description |
---|---|
static String |
COLLECTION_NAME
Name of a collection which is to contain the union.
|
static String |
EXCEPT
Retains all unique rows from the first table that do not appear in
the second table (only works on 2 tables).
|
static String |
FALSE |
static String |
INTERSECT
Retains all unique rows that appear in both of the specified tables
(only works on 2 tables).
|
static String |
MATERIALIZE_ON_GPU
If 'true' then the columns of the union will be cached on the GPU.
|
static String |
MERGE_VIEWS
Merge two or more views (or views of views) of the same base data
set into a new view.
|
static String |
MODE
If 'merge_views' then this operation will merge (i.e.
|
static String |
PERSIST
If
true then the union will be persisted as a regular table
(it will not be automatically cleared unless a ttl is
provided, and the table data can be modified in subsequent
operations). |
static String |
TRUE |
static String |
TTL
Sets the TTL of the table specified in
tableName . |
static String |
UNION
Retains all unique rows from the specified tables (synonym for
'union_distinct').
|
static String |
UNION_ALL
Retains all rows from the specified tables.
|
static String |
UNION_DISTINCT
Retains all unique rows from the specified tables.
|
public static final String COLLECTION_NAME
public static final String MATERIALIZE_ON_GPU
FALSE
.public static final String TRUE
public static final String FALSE
public static final String MODE
UNION_ALL
:
Retains all rows from the specified tables.
UNION
: Retains
all unique rows from the specified tables (synonym for
'union_distinct').
UNION_DISTINCT
: Retains all unique rows from the specified tables.
EXCEPT
:
Retains all unique rows from the first table that do not appear in
the second table (only works on 2 tables).
INTERSECT
:
Retains all unique rows that appear in both of the specified tables
(only works on 2 tables).
MERGE_VIEWS
: Merge two or more views (or views of views) of the
same base data set into a new view. The resulting view would match
the results of a SQL OR operation, e.g., if filter 1 creates a view
using the expression 'x = 10' and filter 2 creates a view using the
expression 'x <= 10', then the merge views operation creates a new
view using the expression 'x = 10 OR x <= 10'.
UNION_ALL
.public static final String UNION_ALL
public static final String UNION
public static final String UNION_DISTINCT
public static final String EXCEPT
public static final String INTERSECT
public static final String MERGE_VIEWS
public static final String TTL
tableName
. The value
must be the desired TTL in minutes.public static final String PERSIST
true
then the union will be persisted as a regular table
(it will not be automatically cleared unless a ttl
is
provided, and the table data can be modified in subsequent
operations). If false
then the union will be a read-only,
memory-only temporary table.
Supported values:
The default value is FALSE
.Copyright © 2017. All rights reserved.