public static final class ExecuteSqlRequest.Options extends Object
PARALLEL_EXECUTION
: If false
, disables the parallel step
execution of the given query.
Supported values:
The default value is TRUE
.
COST_BASED_OPTIMIZATION
: If false
, disables the cost-based
optimization of the given query.
Supported values:
The default value is FALSE
.
PLAN_CACHE
: If
false
, disables plan caching for the given query.
Supported values:
The default value is TRUE
.
RULE_BASED_OPTIMIZATION
: If false
, disables rule-based rewrite
optimizations for the given query
Supported values:
The default value is TRUE
.
RESULTS_CACHING
: If false
, disables caching of the results of
the given query
Supported values:
The default value is TRUE
.
PAGING_TABLE
:
When empty or the specified paging table not exists, the system will
create a paging table and return when query output has more records than
the user asked. If the paging table exists in the system, the records
from the paging table are returned without evaluating the query.
PAGING_TABLE_TTL
: Sets the TTL of the paging table.
DISTRIBUTED_JOINS
: If true
, enables the use of distributed
joins in servicing the given query. Any query requiring a distributed
join will succeed, though hints can be used in the query to change the
distribution of the source data to allow the query to succeed.
Supported values:
The default value is FALSE
.
DISTRIBUTED_OPERATIONS
: If true
, enables the use of distributed
operations in servicing the given query. Any query requiring a
distributed join will succeed, though hints can be used in the query to
change the distribution of the source data to allow the query to
succeed.
Supported values:
The default value is FALSE
.
SSQ_OPTIMIZATION
: If false
, scalar subqueries will be
translated into joins
Supported values:
The default value is TRUE
.
LATE_MATERIALIZATION
: If true
, Joins/Filters results will
always be materialized ( saved to result tables format)
Supported values:
The default value is FALSE
.
TTL
: Sets the TTL of the intermediate result tables used in query
execution.
UPDATE_ON_EXISTING_PK
: Can be used to customize behavior when the
updated primary key value already exists as described in GPUdb.insertRecordsRaw(RawInsertRecordsRequest)
.
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 TRUE
.
VALIDATE_CHANGE_COLUMN
: When changing a column using alter table,
validate the change before applying it. If true
, then validate
all values. A value too large (or too long) for the new type will
prevent any change. If false
, then when a value is too large or
long, it will be truncated.
Supported values:
The default value is TRUE
.
PREPARE_MODE
:
If true
, compiles a query into an execution plan and saves it in
query cache. Query execution is not performed and an empty response will
be returned to user
Supported values:
The default value is FALSE
.
VIEW_ID
: NO_COUNT
:
Map
.
A set of string constants for the parameter options
.Modifier and Type | Field and Description |
---|---|
static String |
COST_BASED_OPTIMIZATION
If
false , disables the cost-based optimization of the given
query. |
static String |
DISTRIBUTED_JOINS
If
true , enables the use of distributed joins in servicing
the given query. |
static String |
DISTRIBUTED_OPERATIONS
If
true , enables the use of distributed operations in
servicing the given query. |
static String |
FALSE |
static String |
LATE_MATERIALIZATION
|
static String |
NO_COUNT
|
static String |
PAGING_TABLE
When empty or the specified paging table not exists, the system will
create a paging table and return when query output has more records
than the user asked.
|
static String |
PAGING_TABLE_TTL
Sets the TTL of the paging table.
|
static String |
PARALLEL_EXECUTION
If
false , disables the parallel step execution of the given
query. |
static String |
PLAN_CACHE
If
false , disables plan caching for the given query. |
static String |
PREPARE_MODE
If
true , compiles a query into an execution plan and saves
it in query cache. |
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 |
RESULTS_CACHING
|
static String |
RULE_BASED_OPTIMIZATION
|
static String |
SSQ_OPTIMIZATION
|
static String |
TRUE |
static String |
TTL
Sets the TTL of the intermediate result tables used in
query execution.
|
static String |
UPDATE_ON_EXISTING_PK
Can be used to customize behavior when the updated primary key value
already exists as described in
GPUdb.insertRecordsRaw(RawInsertRecordsRequest) . |
static String |
VALIDATE_CHANGE_COLUMN
When changing a column using alter table, validate the change before
applying it.
|
static String |
VIEW_ID
|
public static final String PARALLEL_EXECUTION
false
, disables the parallel step execution of the given
query.
Supported values:
The default value is TRUE
.public static final String TRUE
public static final String FALSE
public static final String COST_BASED_OPTIMIZATION
false
, disables the cost-based optimization of the given
query.
Supported values:
The default value is FALSE
.public static final String PLAN_CACHE
false
, disables plan caching for the given query.
Supported values:
The default value is TRUE
.public static final String RULE_BASED_OPTIMIZATION
false
, disables rule-based rewrite optimizations for the
given query
Supported values:
The default value is TRUE
.public static final String RESULTS_CACHING
false
, disables caching of the results of the given query
Supported values:
The default value is TRUE
.public static final String PAGING_TABLE
public static final String PAGING_TABLE_TTL
public static final String DISTRIBUTED_JOINS
true
, enables the use of distributed joins in servicing
the given query. Any query requiring a distributed join will
succeed, though hints can be used in the query to change the
distribution of the source data to allow the query to succeed.
Supported values:
The default value is FALSE
.public static final String DISTRIBUTED_OPERATIONS
true
, enables the use of distributed operations in
servicing the given query. Any query requiring a distributed join
will succeed, though hints can be used in the query to change the
distribution of the source data to allow the query to succeed.
Supported values:
The default value is FALSE
.public static final String SSQ_OPTIMIZATION
false
, scalar subqueries will be translated into joins
Supported values:
The default value is TRUE
.public static final String LATE_MATERIALIZATION
true
, Joins/Filters results will always be materialized
( saved to result tables format)
Supported values:
The default value is FALSE
.public static final String TTL
public static final String UPDATE_ON_EXISTING_PK
GPUdb.insertRecordsRaw(RawInsertRecordsRequest)
.
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 TRUE
.public static final String VALIDATE_CHANGE_COLUMN
true
, then validate all values. A value too
large (or too long) for the new type will prevent any change. If
false
, then when a value is too large or long, it will be
truncated.
Supported values:
The default value is TRUE
.public static final String PREPARE_MODE
true
, compiles a query into an execution plan and saves
it in query cache. Query execution is not performed and an empty
response will be returned to user
Supported values:
The default value is FALSE
.public static final String VIEW_ID
public static final String NO_COUNT
Copyright © 2020. All rights reserved.