Class AggregateGroupByRequest.Options

    • Field Detail

      • COLLECTION_NAME

        public static final String COLLECTION_NAME
        [DEPRECATED--please specify the containing schema as part of RESULT_TABLE and use GPUdb.createSchema to create the schema if non-existent] Name of a schema which is to contain the table specified in RESULT_TABLE. If the schema provided is non-existent, it will be automatically created.
        See Also:
        Constant Field Values
      • EXPRESSION

        public static final String EXPRESSION
        Filter expression to apply to the table prior to computing the aggregate group by.
        See Also:
        Constant Field Values
      • PIPELINED_EXPRESSION_EVALUATION

        public static final String PIPELINED_EXPRESSION_EVALUATION
        evaluate the group-by during last JoinedSet filter plan step. Supported values: The default value is FALSE.
        See Also:
        Constant Field Values
      • SORT_ORDER

        public static final String SORT_ORDER
        [DEPRECATED--use order_by instead] String indicating how the returned values should be sorted - ascending or descending. Supported values:
        • ASCENDING: Indicates that the returned values should be sorted in ascending order.
        • DESCENDING: Indicates that the returned values should be sorted in descending order.
        The default value is ASCENDING.
        See Also:
        Constant Field Values
      • ASCENDING

        public static final String ASCENDING
        Indicates that the returned values should be sorted in ascending order.
        See Also:
        Constant Field Values
      • DESCENDING

        public static final String DESCENDING
        Indicates that the returned values should be sorted in descending order.
        See Also:
        Constant Field Values
      • SORT_BY

        public static final String SORT_BY
        [DEPRECATED--use order_by instead] String determining how the results are sorted. Supported values:
        • KEY: Indicates that the returned values should be sorted by key, which corresponds to the grouping columns. If you have multiple grouping columns (and are sorting by key), it will first sort the first grouping column, then the second grouping column, etc.
        • VALUE: Indicates that the returned values should be sorted by value, which corresponds to the aggregates. If you have multiple aggregates (and are sorting by value), it will first sort by the first aggregate, then the second aggregate, etc.
        The default value is VALUE.
        See Also:
        Constant Field Values
      • KEY

        public static final String KEY
        Indicates that the returned values should be sorted by key, which corresponds to the grouping columns. If you have multiple grouping columns (and are sorting by key), it will first sort the first grouping column, then the second grouping column, etc.
        See Also:
        Constant Field Values
      • VALUE

        public static final String VALUE
        Indicates that the returned values should be sorted by value, which corresponds to the aggregates. If you have multiple aggregates (and are sorting by value), it will first sort by the first aggregate, then the second aggregate, etc.
        See Also:
        Constant Field Values
      • ORDER_BY

        public static final String ORDER_BY
        Comma-separated list of the columns to be sorted by as well as the sort direction, e.g., 'timestamp asc, x desc'. The default value is ''.
        See Also:
        Constant Field Values
      • RESULT_TABLE

        public static final String RESULT_TABLE
        The name of a table used to store the results, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. Column names (group-by and aggregate fields) need to be given aliases e.g. ["FChar256 as fchar256", "sum(FDouble) as sfd"]. If present, no results are returned in the response. This option is not available if one of the grouping attributes is an unrestricted string (i.e.; not charN) type.
        See Also:
        Constant Field Values
      • RESULT_TABLE_PERSIST

        public static final 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.
        See Also:
        Constant Field Values
      • RESULT_TABLE_FORCE_REPLICATED

        public static final String 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.
        See Also:
        Constant Field Values
      • RESULT_TABLE_GENERATE_SOFT_PK

        public static final String RESULT_TABLE_GENERATE_SOFT_PK
        If TRUE then set a soft primary key for the result table. Must be used in combination with the RESULT_TABLE option. Supported values: The default value is FALSE.
        See Also:
        Constant Field Values
      • CHUNK_SIZE

        public static final String 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.
        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 the result table. Must be used in combination with the RESULT_TABLE option.
        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 the result table. Must be used in combination with the RESULT_TABLE option.
        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 result table. Must be used in combination with the RESULT_TABLE option.
        See Also:
        Constant Field Values
      • VIEW_ID

        public static final String VIEW_ID
        ID of view of which the result table will be a member. The default value is ''.
        See Also:
        Constant Field Values
      • PIVOT_VALUES

        public static final String PIVOT_VALUES
        The value list provided will become the column headers in the output. Should be the values from the pivot_column.
        See Also:
        Constant Field Values
      • GROUPING_SETS

        public static final String GROUPING_SETS
        Customize the grouping attribute sets to compute the aggregates. These sets can include ROLLUP or CUBE operators. The attribute sets should be enclosed in parentheses and can include composite attributes. All attributes specified in the grouping sets must present in the group-by attributes.
        See Also:
        Constant Field Values
      • CUBE

        public static final String CUBE
        This option is used to specify the multidimensional aggregates.
        See Also:
        Constant Field Values
      • SHARD_KEY

        public static final String SHARD_KEY
        Comma-separated list of the columns to be sharded on; e.g. 'column1, column2'. The columns specified must be present in columnNames. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''.
        See Also:
        Constant Field Values