public static final class CreateJoinTableRequest.Options extends Object
COLLECTION_NAME
: Name of a collection which is to contain the join. If
the collection provided is non-existent, the collection will be
automatically created. If empty, then the join will be at the top level.
The default value is ''.
MAX_QUERY_DIMENSIONS
: The maximum number of tables in a join that can
be accessed by a query and are not equated by a foreign-key to
primary-key equality predicate
OPTIMIZE_LOOKUPS
: Use more memory to speed up the joining of tables.
Supported values:
The default value is FALSE
.
REFRESH_METHOD
: Method by which the join can be refreshed when the data
in underlying member tables have changed.
Supported values:
MANUAL
:
refresh only occurs when manually requested by calling this endpoint
with refresh option set to refresh
or full_refresh
ON_QUERY
:
incrementally refresh (refresh just those records added) whenever a new
query is issued and new data is inserted into the base table. A full
refresh of all the records occurs when a new query is issued and there
have been inserts to any non-base-tables since the last query. TTL will be
set to not expire; any ttl
specified will be ignored.
ON_INSERT
:
incrementally refresh (refresh just those records added) whenever new
data is inserted into a base table. A full refresh of all the records
occurs when a new query is issued and there have been inserts to any
non-base-tables since the last query. TTL will be
set to not expire; any ttl
specified will be ignored.
MANUAL
.
REFRESH
: Do a
manual refresh of the join if it exists - throws an error otherwise
Supported values:
NO_REFRESH
: don't refresh
REFRESH
:
incrementally refresh (refresh just those records added) if new data has
been inserted into the base table. A full refresh of all the records
occurs if there have been inserts to any non-base-tables since the last
refresh
FULL_REFRESH
: always refresh even if no new records have been added.
Only refresh method guaranteed to do a full refresh (refresh all the
records) if a delete or update has occurred since the last refresh.
NO_REFRESH
.
TTL
: Sets the TTL of the
join table specified in joinTableName
. Ignored if refresh_method
is either on_insert
or on_query
.
VIEW_ID
: view
this projection is part of. The default value is ''.
NO_COUNT
:
return a count of 0 for the join table for logging and for show_table.
optimization needed for large overlapped equi-join stencils. The
default value is 'false'.
CHUNK_SIZE
: Maximum size of a joined-chunk for this table. Defaults to
the gpudb.conf file chunk size
ALLOW_RIGHT_PRIMARY_KEY_JOIN
: When true allows right joins from a key
to a primary key to be done as primary key joins. Such a join table
cannot be joined to other join tables. When false the right join shall
be done as an equi-join. The default value is 'false'.
Map
.
A set of string constants for the parameter options
.Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_RIGHT_PRIMARY_KEY_JOIN
When true allows right joins from a key to a primary key to be done
as primary key joins.
|
static String |
CHUNK_SIZE
Maximum size of a joined-chunk for this table.
|
static String |
COLLECTION_NAME
Name of a collection which is to contain the join.
|
static String |
FALSE |
static String |
FULL_REFRESH
always refresh even if no new records have been added.
|
static String |
MANUAL
refresh only occurs when manually requested by calling this endpoint
with refresh option set to
refresh or full_refresh |
static String |
MAX_QUERY_DIMENSIONS
The maximum number of tables in a join that can be accessed by a
query and are not equated by a foreign-key to primary-key equality
predicate
|
static String |
NO_COUNT
return a count of 0 for the join table for logging and for
show_table.
|
static String |
NO_REFRESH
don't refresh
|
static String |
ON_INSERT
incrementally refresh (refresh just those records added) whenever
new data is inserted into a base table.
|
static String |
ON_QUERY
incrementally refresh (refresh just those records added) whenever a
new query is issued and new data is inserted into the base table.
|
static String |
OPTIMIZE_LOOKUPS
Use more memory to speed up the joining of tables.
|
static String |
REFRESH
incrementally refresh (refresh just those records added) if new data
has been inserted into the base table.
|
static String |
REFRESH_METHOD
Method by which the join can be refreshed when the data in
underlying member tables have changed.
|
static String |
TRUE |
static String |
TTL
Sets the TTL of the join table specified in
joinTableName . |
static String |
VIEW_ID
view this projection is part of.
|
public static final String COLLECTION_NAME
public static final String MAX_QUERY_DIMENSIONS
public static final String OPTIMIZE_LOOKUPS
FALSE
.public static final String TRUE
public static final String FALSE
public static final String REFRESH_METHOD
MANUAL
:
refresh only occurs when manually requested by calling this endpoint
with refresh option set to refresh
or full_refresh
ON_QUERY
: incrementally refresh (refresh just those records added)
whenever a new query is issued and new data is inserted into the
base table. A full refresh of all the records occurs when a new
query is issued and there have been inserts to any non-base-tables
since the last query. TTL will be set to not expire; any ttl
specified will be ignored.
ON_INSERT
: incrementally refresh (refresh just those records added)
whenever new data is inserted into a base table. A full refresh of
all the records occurs when a new query is issued and there have
been inserts to any non-base-tables since the last query. TTL will
be set to not expire; any ttl
specified will be ignored.
MANUAL
.public static final String MANUAL
refresh
or full_refresh
public static final String ON_QUERY
ttl
specified will be ignored.public static final String ON_INSERT
ttl
specified will be ignored.public static final String REFRESH
public static final String NO_REFRESH
public static final String FULL_REFRESH
public static final String TTL
joinTableName
. Ignored if refresh_method
is either on_insert
or on_query
.public static final String VIEW_ID
public static final String NO_COUNT
public static final String CHUNK_SIZE
public static final String ALLOW_RIGHT_PRIMARY_KEY_JOIN
Copyright © 2019. All rights reserved.