Package com.gpudb.protocol
Class CreateUnionRequest.Options
- java.lang.Object
-
- com.gpudb.protocol.CreateUnionRequest.Options
-
- Enclosing class:
- CreateUnionRequest
public static final class CreateUnionRequest.Options extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHUNK_COLUMN_MAX_MEMORYIndicates the target maximum data size for each column in a chunk to be used for this output table.static StringCHUNK_MAX_MEMORYIndicates the target maximum data size for all columns in a chunk to be used for this output table.static StringCHUNK_SIZEIndicates the number of records per chunk to be used for this output table.static StringCOLLECTION_NAME[DEPRECATED--please specify the containing schema for the projection as part oftableNameand useGPUdb.createSchemato create the schema if non-existent] Name of the schema for the output table.static StringCOMPRESSION_CODECThe default compression codec for this table's columns.static StringCREATE_INDEXESComma-separated list of columns on which to create indexes on the output table.static StringCREATE_TEMP_TABLEstatic StringEXCEPTRetains all unique rows from the first table that do not appear in the second table (only works on 2 tables).static StringEXCEPT_ALLRetains all rows(including duplicates) from the first table that do not appear in the second table (only works on 2 tables).static StringFALSEstatic StringFORCE_REPLICATEDstatic StringINTERSECTRetains all unique rows that appear in both of the specified tables (only works on 2 tables).static StringINTERSECT_ALLRetains all rows(including duplicates) that appear in both of the specified tables (only works on 2 tables).static StringLONG_HASHWhen true use 128 bit hash for union-distinct, except, except_all, intersect and intersect_all modes.static StringMODEThe mode describes what rows of the tables being unioned will be retained.static StringNO_COUNTReturn a count of 0 for the union table response to avoid the cost of counting; optimization needed for many chunk virtual_union's.static StringPERSISTstatic StringSTRATEGY_DEFINITIONThe tier strategy for the table and its columns.static StringTRUEstatic StringTTLstatic StringUNIONRetains all unique rows from the specified tables (synonym forUNION_DISTINCT).static StringUNION_ALLRetains all rows from the specified tables.static StringUNION_DISTINCTRetains all unique rows from the specified tables.static StringVIEW_IDID of view of which this output table is a member.
-
-
-
Field Detail
-
CREATE_TEMP_TABLE
public static final String CREATE_TEMP_TABLE
IfTRUE, a unique temporary table name will be generated in the sys_temp schema and used in place oftableName. IfPERSISTisFALSE(or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned inQUALIFIED_TABLE_NAME. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
TRUE
public static final String TRUE
- See Also:
- Constant Field Values
-
FALSE
public static final String FALSE
- See Also:
- Constant Field Values
-
COLLECTION_NAME
public static final String COLLECTION_NAME
[DEPRECATED--please specify the containing schema for the projection as part oftableNameand useGPUdb.createSchemato create the schema if non-existent] Name of the schema for the output table. If the schema provided is non-existent, it will be automatically created. The default value is ''.- See Also:
- Constant Field Values
-
MODE
public static final String MODE
The mode describes what rows of the tables being unioned will be retained. Supported values:UNION_ALL: Retains all rows from the specified tables.UNION: Retains all unique rows from the specified tables (synonym forUNION_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).EXCEPT_ALL: Retains all rows(including duplicates) 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).INTERSECT_ALL: Retains all rows(including duplicates) that appear in both of the specified tables (only works on 2 tables).
UNION_ALL.- See Also:
- Constant Field Values
-
UNION_ALL
public static final String UNION_ALL
Retains all rows from the specified tables.- See Also:
- Constant Field Values
-
UNION
public static final String UNION
Retains all unique rows from the specified tables (synonym forUNION_DISTINCT).- See Also:
- Constant Field Values
-
UNION_DISTINCT
public static final String UNION_DISTINCT
Retains all unique rows from the specified tables.- See Also:
- Constant Field Values
-
EXCEPT
public static final String EXCEPT
Retains all unique rows from the first table that do not appear in the second table (only works on 2 tables).- See Also:
- Constant Field Values
-
EXCEPT_ALL
public static final String EXCEPT_ALL
Retains all rows(including duplicates) from the first table that do not appear in the second table (only works on 2 tables).- See Also:
- Constant Field Values
-
INTERSECT
public static final String INTERSECT
Retains all unique rows that appear in both of the specified tables (only works on 2 tables).- See Also:
- Constant Field Values
-
INTERSECT_ALL
public static final String INTERSECT_ALL
Retains all rows(including duplicates) that appear in both of the specified tables (only works on 2 tables).- See Also:
- Constant Field Values
-
LONG_HASH
public static final String LONG_HASH
When true use 128 bit hash for union-distinct, except, except_all, intersect and intersect_all modes. Otherwise use 64 bit hash.- See Also:
- Constant Field Values
-
CHUNK_SIZE
public static final String CHUNK_SIZE
Indicates the number of records per chunk to be used for this output table.- See Also:
- Constant Field Values
-
CHUNK_COLUMN_MAX_MEMORY
public static final String CHUNK_COLUMN_MAX_MEMORY
Indicates the target maximum data size for each column in a chunk to be used for this output table.- See Also:
- Constant Field Values
-
CHUNK_MAX_MEMORY
public static final String CHUNK_MAX_MEMORY
Indicates the target maximum data size for all columns in a chunk to be used for this output table.- See Also:
- Constant Field Values
-
CREATE_INDEXES
public static final String CREATE_INDEXES
Comma-separated list of columns on which to create indexes on the output table. The columns specified must be present inoutputColumnNames.- See Also:
- Constant Field Values
-
TTL
public static final String TTL
- See Also:
- Constant Field Values
-
PERSIST
public static final String PERSIST
IfTRUE, then the output table specified intableNamewill be persisted and will not expire unless aTTLis specified. IfFALSE, then the output table will be an in-memory table and will expire unless aTTLis specified otherwise. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
VIEW_ID
public static final String VIEW_ID
ID of view of which this output table is a member. The default value is ''.- See Also:
- Constant Field Values
-
FORCE_REPLICATED
public static final String FORCE_REPLICATED
IfTRUE, then the output table specified intableNamewill be replicated even if the source tables are not. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
STRATEGY_DEFINITION
public static final String STRATEGY_DEFINITION
The tier strategy for the table and its columns.- See Also:
- Constant Field Values
-
COMPRESSION_CODEC
public static final String COMPRESSION_CODEC
The default compression codec for this table's columns.- See Also:
- Constant Field Values
-
NO_COUNT
public static final String NO_COUNT
Return a count of 0 for the union table response to avoid the cost of counting; optimization needed for many chunk virtual_union's. The default value is 'false'.- See Also:
- Constant Field Values
-
-