> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AggregateGroupByRequest

> AggregateGroupByRequest — Kinetica Java API

<div className="kinetica-javadoc">
  <div className="header">
    <div className="sub-title"><span className="package-label-in-type">Package</span> <a href="/content/api/java/com/gpudb/protocol/package-summary">com.gpudb.protocol</a></div>
    <h1 title="Class AggregateGroupByRequest" className="title">Class AggregateGroupByRequest</h1>
  </div>

  <div className="inheritance" title="Inheritance Tree">
    <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">java.lang.Object</a>
    <div className="inheritance">com.gpudb.protocol.AggregateGroupByRequest</div>
  </div>

  <div className="section class-description" id="class-description">
    <div className="dl notes">
      <div className="dt">All Implemented Interfaces:</div>
      <div className="dd"><code>org.apache.avro.generic.GenericContainer</code>, <code>org.apache.avro.generic.IndexedRecord</code></div>
    </div>

    <hr />

    <div className="type-signature"><span className="modifiers">public class </span><span className="element-name type-name-label">AggregateGroupByRequest</span> <span className="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> implements org.apache.avro.generic.IndexedRecord</span></div>

    <div className="block">
      A set of parameters for <a href="/content/api/java/com/gpudb/GPUdb#aggregateGroupBy(com.gpudb.protocol.AggregateGroupByRequest)"><code>GPUdb.aggregateGroupBy</code></a>.
      <p> Calculates unique combinations (groups) of values for the given columns in a given table or view and computes aggregates on each unique combination. This is somewhat analogous to an SQL-style SELECT...GROUP BY. </p>
      <p> For aggregation details and examples, see <a href="/content/concepts/aggregation/" target="_top">Aggregation</a>. For limitations, see <a href="/content/concepts/aggregation/#limitations" target="_top">Aggregation Limitations</a>. </p>
      <p> Any column(s) can be grouped on, and all column types except unrestricted-length strings may be used for computing applicable aggregates. </p>
      <p> The results can be paged via the <a href="#getOffset()"><code>offset</code></a> and <a href="#getLimit()"><code>limit</code></a> parameters. For example, to get 10 groups with the largest counts the inputs would be: limit=10, options={"{"}"sort\_order":"descending", "sort\_by":"value"{"}"}. </p>
      <p> <a href="#getOptions()"><code>options</code></a> can be used to customize behavior of this call e.g. filtering or sorting the results. </p>
      <p> To group by columns 'x' and 'y' and compute the number of objects within each group, use: column\_names=\['x','y','count(\*)']. </p>
      <p> To also compute the sum of 'z' over each group, use: column\_names=\['x','y','count(\*)','sum(z)']. </p>
      <p> Available <a href="/content/concepts/expressions/#aggregate-expressions" target="_top">aggregation functions</a> are: count(\*), sum, min, max, avg, mean, stddev, stddev\_pop, stddev\_samp, var, var\_pop, var\_samp, arg\_min, arg\_max and count\_distinct. </p>
      <p> Available grouping functions are <a href="/content/concepts/rollup/" target="_top">Rollup</a>, <a href="/content/concepts/cube/" target="_top">Cube</a>, and <a href="/content/concepts/grouping_sets/" target="_top">Grouping Sets</a> </p>
      <p> This service also provides support for <a href="/content/concepts/pivot/" target="_top">Pivot</a> operations. </p>
      <p> Filtering on aggregates is supported via expressions using <a href="/content/concepts/expressions/#aggregate-expressions" target="_top">aggregation functions</a> supplied to <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HAVING"><code>HAVING</code></a>. </p>
      <p> The response is returned as a dynamic schema. For details see: <a href="/content/api/concepts/#dynamic-schemas" target="_top">dynamic schemas documentation</a>. </p>
      <p> If a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> name is specified in the <a href="#getOptions()"><code>options</code></a>, the results are stored in a new table with that name--no results are returned in the response. Both the table name and resulting column names must adhere to <a href="/content/concepts/tables/#table" target="_top">standard naming conventions</a>; column/aggregation expressions will need to be aliased. If the source table's <a href="/content/concepts/tables/#shard-keys" target="_top">shard key</a> is used as the grouping column(s) and all result records are selected (<a href="#getOffset()"><code>offset</code></a> is 0 and <a href="#getLimit()"><code>limit</code></a> is -9999), the result table will be sharded, in all other cases it will be replicated. Sorting will properly function only if the result table is replicated or if there is only one processing node and should not be relied upon in other cases. Not available when any of the values of <a href="#getColumnNames()"><code>columnNames</code></a> is an unrestricted-length string.</p>
    </div>
  </div>

  <div className="section summary">
    <ul className="summary-list">
      <li>
        <div className="section nested-class-summary" id="nested-class-summary">
          <h2>Nested Class Summary</h2>
          <div className="caption"><span>Nested Classes</span></div>

          <div className="summary-table three-column-summary">
            <div className="table-header col-first">Modifier and Type</div>
            <div className="table-header col-second">Class</div>
            <div className="table-header col-last">Description</div>
            <div className="col-first even-row-color"><code>static final class </code></div>
            <div className="col-second even-row-color"><code><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding" className="type-name-link" title="class in com.gpudb.protocol">AggregateGroupByRequest.Encoding</a></code></div>

            <div className="col-last even-row-color">
              <div className="block">A set of string constants for the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol"><code>AggregateGroupByRequest</code></a> parameter <a href="#getEncoding()"><code>encoding</code></a>.</div>
            </div>

            <div className="col-first odd-row-color"><code>static final class </code></div>
            <div className="col-second odd-row-color"><code><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options" className="type-name-link" title="class in com.gpudb.protocol">AggregateGroupByRequest.Options</a></code></div>

            <div className="col-last odd-row-color">
              <div className="block">A set of string constants for the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol"><code>AggregateGroupByRequest</code></a> parameter <a href="#getOptions()"><code>options</code></a>.</div>
            </div>
          </div>
        </div>
      </li>

      <li>
        <div className="section constructor-summary" id="constructor-summary">
          <h2>Constructor Summary</h2>
          <div className="caption"><span>Constructors</span></div>

          <div className="summary-table two-column-summary">
            <div className="table-header col-first">Constructor</div>
            <div className="table-header col-last">Description</div>
            <div className="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" className="member-name-link">AggregateGroupByRequest</a>()</code></div>

            <div className="col-last even-row-color">
              <div className="block">Constructs an AggregateGroupByRequest object with default parameters.</div>
            </div>

            <div className="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.lang.String,java.util.List,long,long,java.lang.String,java.util.Map)" className="member-name-link">AggregateGroupByRequest</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> tableName, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> columnNames, long offset, long limit, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> encoding, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</code></div>

            <div className="col-last odd-row-color">
              <div className="block">Constructs an AggregateGroupByRequest object with the specified parameters.</div>
            </div>

            <div className="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String,java.util.List,long,long,java.util.Map)" className="member-name-link">AggregateGroupByRequest</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> tableName, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> columnNames, long offset, long limit, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</code></div>

            <div className="col-last even-row-color">
              <div className="block">Constructs an AggregateGroupByRequest object with the specified parameters.</div>
            </div>
          </div>
        </div>
      </li>

      <li>
        <div className="section method-summary" id="method-summary">
          <h2>Method Summary</h2>

          <div id="method-summary-table">
            <div className="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabIndex="0" className="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabIndex="-1" className="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabIndex="-1" className="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabIndex="-1" className="table-tab">Concrete Methods</button></div>

            <div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0">
              <div className="summary-table three-column-summary">
                <div className="table-header col-first">Modifier and Type</div>
                <div className="table-header col-second">Method</div>
                <div className="table-header col-last">Description</div>
                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#equals(java.lang.Object)" className="member-name-link">equals</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> obj)</code></div>
                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#get(int)" className="member-name-link">get</a><wbr />(int index)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static org.apache.avro.Schema</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getClassSchema()" className="member-name-link">getClassSchema</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
                  <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a><wbr />\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getColumnNames()" className="member-name-link">getColumnNames</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">List of one or more column names, expressions, and aggregate expressions.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getEncoding()" className="member-name-link">getEncoding</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Specifies the encoding for returned records.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLimit()" className="member-name-link">getLimit</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOffset()" className="member-name-link">getOffset</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">A positive integer indicating the number of initial results to skip (this can be useful for paging through the results).</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a><wbr />\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOptions()" className="member-name-link">getOptions</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Optional parameters.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>org.apache.avro.Schema</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSchema()" className="member-name-link">getSchema</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTableName()" className="member-name-link">getTableName</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Name of an existing table or view on which the operation will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hashCode()" className="member-name-link">hashCode</a>()</code></div>
                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#put(int,java.lang.Object)" className="member-name-link">put</a><wbr />(int index, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> value)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setColumnNames(java.util.List)" className="member-name-link">setColumnNames</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> columnNames)</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">List of one or more column names, expressions, and aggregate expressions.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setEncoding(java.lang.String)" className="member-name-link">setEncoding</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> encoding)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Specifies the encoding for returned records.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLimit(long)" className="member-name-link">setLimit</a><wbr />(long limit)</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOffset(long)" className="member-name-link">setOffset</a><wbr />(long offset)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">A positive integer indicating the number of initial results to skip (this can be useful for paging through the results).</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOptions(java.util.Map)" className="member-name-link">setOptions</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Optional parameters.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTableName(java.lang.String)" className="member-name-link">setTableName</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> tableName)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Name of an existing table or view on which the operation will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" className="member-name-link">toString</a>()</code></div>
                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
              </div>
            </div>
          </div>

          <div className="inherited-list">
            <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></h3>
            <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" className="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" className="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" className="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" className="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" className="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" className="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" className="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" className="external-link">wait</a></code>
          </div>
        </div>
      </li>
    </ul>
  </div>

  <div className="section details">
    <ul className="details-list">
      <li>
        <div className="section constructor-details" id="constructor-detail">
          <h2>Constructor Details</h2>

          <ul className="member-list">
            <li>
              <div className="section detail" id="<init>()">
                <h3>AggregateGroupByRequest</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">AggregateGroupByRequest</span>()</div>
                <div className="block">Constructs an AggregateGroupByRequest object with default parameters.</div>
              </div>
            </li>

            <li>
              <div className="section detail" id="<init>(java.lang.String,java.util.List,long,long,java.util.Map)">
                <h3>AggregateGroupByRequest</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">AggregateGroupByRequest</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> tableName, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> columnNames, long offset, long limit, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</span></div>
                <div className="block">Constructs an AggregateGroupByRequest object with the specified parameters.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>tableName</code> - Name of an existing table or view on which the operation will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</div>
                  <div className="dd"><code>columnNames</code> - List of one or more column names, expressions, and aggregate expressions.</div>
                  <div className="dd"><code>offset</code> - A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT.</div>
                  <div className="dd"><code>limit</code> - A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByResponse#getHasMoreRecords()"><code>hasMoreRecords</code></a> to see if more records exist in the result to be fetched, and <code>offset</code> and <code>limit</code> to request subsequent pages of results. The default value is -9999.</div>

                  <div className="dd">
                    <code>options</code> - Optional parameters.

                    <ul>
                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CREATE_TEMP_TABLE"><code>CREATE\_TEMP\_TABLE</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_PERSIST"><code>RESULT\_TABLE\_PERSIST</code></a> is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByResponse.Info#QUALIFIED_RESULT_TABLE_NAME"><code>QUALIFIED\_RESULT\_TABLE\_NAME</code></a>. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#COLLECTION_NAME"><code>COLLECTION\_NAME</code></a>: \[DEPRECATED--please specify the containing schema as part of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> and use <a href="/content/api/java/com/gpudb/GPUdb#createSchema(com.gpudb.protocol.CreateSchemaRequest)"><code>GPUdb.createSchema</code></a> to create the schema if non-existent] Name of a schema which is to contain the table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. If the schema provided is non-existent, it will be automatically created. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#EXPRESSION"><code>EXPRESSION</code></a>: Filter expression to apply to the table prior to computing the aggregate group by. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIPELINED_EXPRESSION_EVALUATION"><code>PIPELINED\_EXPRESSION\_EVALUATION</code></a>: Evaluate the group-by during last JoinedSet filter plan step. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HAVING"><code>HAVING</code></a>: Filter expression to apply to the aggregated results. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SORT_ORDER"><code>SORT\_ORDER</code></a>: \[DEPRECATED--use order\_by instead] String indicating how the returned values should be sorted - ascending or descending. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ASCENDING"><code>ASCENDING</code></a>: Indicates that the returned values should be sorted in ascending order. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#DESCENDING"><code>DESCENDING</code></a>: Indicates that the returned values should be sorted in descending order. </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ASCENDING"><code>ASCENDING</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SORT_BY"><code>SORT\_BY</code></a>: \[DEPRECATED--use order\_by instead] String determining how the results are sorted. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#KEY"><code>KEY</code></a>: 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. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VALUE"><code>VALUE</code></a>: 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. </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VALUE"><code>VALUE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ORDER_BY"><code>ORDER\_BY</code></a>: 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 ''. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#STRATEGY_DEFINITION"><code>STRATEGY\_DEFINITION</code></a>: The <a href="/content/rm/concepts/#tier-strategies" target="_top">tier strategy</a> for the table and its columns. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#COMPRESSION_CODEC"><code>COMPRESSION\_CODEC</code></a>: The default <a href="/content/concepts/column_compression/" target="_top">compression codec</a> for the result table's columns. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>: The name of a table used to store the results, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. 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. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_PERSIST"><code>RESULT\_TABLE\_PERSIST</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, then the result table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> will be persisted and will not expire unless a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a> is specified. If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>, then the result table will be an in-memory table and will expire unless a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a> is specified otherwise. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_FORCE_REPLICATED"><code>RESULT\_TABLE\_FORCE\_REPLICATED</code></a>: Force the result table to be replicated (ignores any sharding). Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_GENERATE_PK"><code>RESULT\_TABLE\_GENERATE\_PK</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> then set a primary key for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_GENERATE_SOFT_PK"><code>RESULT\_TABLE\_GENERATE\_SOFT\_PK</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> then set a soft primary key for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_SIZE"><code>CHUNK\_SIZE</code></a>: Indicates the number of records per chunk to be used for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_COLUMN_MAX_MEMORY"><code>CHUNK\_COLUMN\_MAX\_MEMORY</code></a>: 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 <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_MAX_MEMORY"><code>CHUNK\_MAX\_MEMORY</code></a>: 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 <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CREATE_INDEXES"><code>CREATE\_INDEXES</code></a>: Comma-separated list of columns on which to create indexes on the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_TYPE"><code>PARTITION\_TYPE</code></a>: <a href="/content/concepts/tables/#partitioning" target="_top">Partitioning</a> scheme to use for the result table. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RANGE"><code>RANGE</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-range" target="_top">range partitioning</a>. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#INTERVAL"><code>INTERVAL</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-interval" target="_top">interval partitioning</a>. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#LIST"><code>LIST</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitioning</a>. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HASH"><code>HASH</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-hash" target="_top">hash partitioning</a>. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SERIES"><code>SERIES</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-series" target="_top">series partitioning</a>. </li>
                        </ul>
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_KEYS"><code>PARTITION\_KEYS</code></a>: Comma-separated list of partition keys, which are the columns or column expressions by which records will be assigned to partitions defined by <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_DEFINITIONS"><code>PARTITION\_DEFINITIONS</code></a>. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_DEFINITIONS"><code>PARTITION\_DEFINITIONS</code></a>: Comma-separated list of partition definitions, whose format depends on the choice of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_TYPE"><code>PARTITION\_TYPE</code></a>. See <a href="/content/concepts/tables/#partitioning-by-range" target="_top">range partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-interval" target="_top">interval partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-hash" target="_top">hash partitioning</a>, or <a href="/content/concepts/tables/#partitioning-by-series" target="_top">series partitioning</a> for example formats. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#IS_AUTOMATIC_PARTITION"><code>IS\_AUTOMATIC\_PARTITION</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, a new partition will be created for values which don't fall into an existing partition. Currently only supported for <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitions</a>. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VIEW_ID"><code>VIEW\_ID</code></a>: ID of view of which the result table will be a member. The default value is ''. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT"><code>PIVOT</code></a>: Pivot column. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT_VALUES"><code>PIVOT\_VALUES</code></a>: Comma-separated list of the values in the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT"><code>PIVOT</code></a> column. The list provided will become the column header prefixes in the output. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#GROUPING_SETS"><code>GROUPING\_SETS</code></a>: 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. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ROLLUP"><code>ROLLUP</code></a>: This option is used to specify the multilevel aggregates. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CUBE"><code>CUBE</code></a>: This option is used to specify the multidimensional aggregates. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SHARD_KEY"><code>SHARD\_KEY</code></a>: Comma-separated list of the columns to be sharded on; e.g. 'column1, column2'. The columns specified must be present in <code> columnNames</code>. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''. </li>
                    </ul>

                    The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
                  </div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="<init>(java.lang.String,java.util.List,long,long,java.lang.String,java.util.Map)">
                <h3>AggregateGroupByRequest</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">AggregateGroupByRequest</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> tableName, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> columnNames, long offset, long limit, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> encoding, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</span></div>
                <div className="block">Constructs an AggregateGroupByRequest object with the specified parameters.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>tableName</code> - Name of an existing table or view on which the operation will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</div>
                  <div className="dd"><code>columnNames</code> - List of one or more column names, expressions, and aggregate expressions.</div>
                  <div className="dd"><code>offset</code> - A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT.</div>
                  <div className="dd"><code>limit</code> - A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByResponse#getHasMoreRecords()"><code>hasMoreRecords</code></a> to see if more records exist in the result to be fetched, and <code>offset</code> and <code>limit</code> to request subsequent pages of results. The default value is -9999.</div>

                  <div className="dd">
                    <code>encoding</code> - Specifies the encoding for returned records. Supported values:

                    <ul>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#BINARY"><code>BINARY</code></a>: Indicates that the returned records should be binary encoded. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#JSON"><code>JSON</code></a>: Indicates that the returned records should be JSON-encoded. </li>
                    </ul>

                    The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#BINARY"><code>BINARY</code></a>.
                  </div>

                  <div className="dd">
                    <code>options</code> - Optional parameters.

                    <ul>
                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CREATE_TEMP_TABLE"><code>CREATE\_TEMP\_TABLE</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_PERSIST"><code>RESULT\_TABLE\_PERSIST</code></a> is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByResponse.Info#QUALIFIED_RESULT_TABLE_NAME"><code>QUALIFIED\_RESULT\_TABLE\_NAME</code></a>. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#COLLECTION_NAME"><code>COLLECTION\_NAME</code></a>: \[DEPRECATED--please specify the containing schema as part of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> and use <a href="/content/api/java/com/gpudb/GPUdb#createSchema(com.gpudb.protocol.CreateSchemaRequest)"><code>GPUdb.createSchema</code></a> to create the schema if non-existent] Name of a schema which is to contain the table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. If the schema provided is non-existent, it will be automatically created. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#EXPRESSION"><code>EXPRESSION</code></a>: Filter expression to apply to the table prior to computing the aggregate group by. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIPELINED_EXPRESSION_EVALUATION"><code>PIPELINED\_EXPRESSION\_EVALUATION</code></a>: Evaluate the group-by during last JoinedSet filter plan step. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HAVING"><code>HAVING</code></a>: Filter expression to apply to the aggregated results. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SORT_ORDER"><code>SORT\_ORDER</code></a>: \[DEPRECATED--use order\_by instead] String indicating how the returned values should be sorted - ascending or descending. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ASCENDING"><code>ASCENDING</code></a>: Indicates that the returned values should be sorted in ascending order. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#DESCENDING"><code>DESCENDING</code></a>: Indicates that the returned values should be sorted in descending order. </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ASCENDING"><code>ASCENDING</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SORT_BY"><code>SORT\_BY</code></a>: \[DEPRECATED--use order\_by instead] String determining how the results are sorted. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#KEY"><code>KEY</code></a>: 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. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VALUE"><code>VALUE</code></a>: 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. </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VALUE"><code>VALUE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ORDER_BY"><code>ORDER\_BY</code></a>: 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 ''. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#STRATEGY_DEFINITION"><code>STRATEGY\_DEFINITION</code></a>: The <a href="/content/rm/concepts/#tier-strategies" target="_top">tier strategy</a> for the table and its columns. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#COMPRESSION_CODEC"><code>COMPRESSION\_CODEC</code></a>: The default <a href="/content/concepts/column_compression/" target="_top">compression codec</a> for the result table's columns. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>: The name of a table used to store the results, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. 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. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_PERSIST"><code>RESULT\_TABLE\_PERSIST</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, then the result table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> will be persisted and will not expire unless a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a> is specified. If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>, then the result table will be an in-memory table and will expire unless a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a> is specified otherwise. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_FORCE_REPLICATED"><code>RESULT\_TABLE\_FORCE\_REPLICATED</code></a>: Force the result table to be replicated (ignores any sharding). Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_GENERATE_PK"><code>RESULT\_TABLE\_GENERATE\_PK</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> then set a primary key for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_GENERATE_SOFT_PK"><code>RESULT\_TABLE\_GENERATE\_SOFT\_PK</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> then set a soft primary key for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_SIZE"><code>CHUNK\_SIZE</code></a>: Indicates the number of records per chunk to be used for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_COLUMN_MAX_MEMORY"><code>CHUNK\_COLUMN\_MAX\_MEMORY</code></a>: 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 <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_MAX_MEMORY"><code>CHUNK\_MAX\_MEMORY</code></a>: 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 <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CREATE_INDEXES"><code>CREATE\_INDEXES</code></a>: Comma-separated list of columns on which to create indexes on the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_TYPE"><code>PARTITION\_TYPE</code></a>: <a href="/content/concepts/tables/#partitioning" target="_top">Partitioning</a> scheme to use for the result table. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RANGE"><code>RANGE</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-range" target="_top">range partitioning</a>. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#INTERVAL"><code>INTERVAL</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-interval" target="_top">interval partitioning</a>. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#LIST"><code>LIST</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitioning</a>. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HASH"><code>HASH</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-hash" target="_top">hash partitioning</a>. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SERIES"><code>SERIES</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-series" target="_top">series partitioning</a>. </li>
                        </ul>
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_KEYS"><code>PARTITION\_KEYS</code></a>: Comma-separated list of partition keys, which are the columns or column expressions by which records will be assigned to partitions defined by <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_DEFINITIONS"><code>PARTITION\_DEFINITIONS</code></a>. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_DEFINITIONS"><code>PARTITION\_DEFINITIONS</code></a>: Comma-separated list of partition definitions, whose format depends on the choice of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_TYPE"><code>PARTITION\_TYPE</code></a>. See <a href="/content/concepts/tables/#partitioning-by-range" target="_top">range partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-interval" target="_top">interval partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-hash" target="_top">hash partitioning</a>, or <a href="/content/concepts/tables/#partitioning-by-series" target="_top">series partitioning</a> for example formats. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#IS_AUTOMATIC_PARTITION"><code>IS\_AUTOMATIC\_PARTITION</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, a new partition will be created for values which don't fall into an existing partition. Currently only supported for <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitions</a>. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VIEW_ID"><code>VIEW\_ID</code></a>: ID of view of which the result table will be a member. The default value is ''. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT"><code>PIVOT</code></a>: Pivot column. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT_VALUES"><code>PIVOT\_VALUES</code></a>: Comma-separated list of the values in the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT"><code>PIVOT</code></a> column. The list provided will become the column header prefixes in the output. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#GROUPING_SETS"><code>GROUPING\_SETS</code></a>: 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. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ROLLUP"><code>ROLLUP</code></a>: This option is used to specify the multilevel aggregates. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CUBE"><code>CUBE</code></a>: This option is used to specify the multidimensional aggregates. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SHARD_KEY"><code>SHARD\_KEY</code></a>: Comma-separated list of the columns to be sharded on; e.g. 'column1, column2'. The columns specified must be present in <code> columnNames</code>. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''. </li>
                    </ul>

                    The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
                  </div>
                </div>
              </div>
            </li>
          </ul>
        </div>
      </li>

      <li>
        <div className="section method-details" id="method-detail">
          <h2>Method Details</h2>

          <ul className="member-list">
            <li>
              <div className="section detail" id="getClassSchema()">
                <h3>getClassSchema</h3>
                <div className="member-signature"><span className="modifiers">public static</span> <span className="return-type">org.apache.avro.Schema</span> <span className="element-name">getClassSchema</span>()</div>
                <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The schema for the class.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getTableName()">
                <h3>getTableName</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></span> <span className="element-name">getTableName</span>()</div>
                <div className="block">Name of an existing table or view on which the operation will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>tableName</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setTableName(java.lang.String)">
                <h3>setTableName</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></span> <span className="element-name">setTableName</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> tableName)</span></div>
                <div className="block">Name of an existing table or view on which the operation will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>tableName</code> - The new value for <code>tableName</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getColumnNames()">
                <h3>getColumnNames</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></span> <span className="element-name">getColumnNames</span>()</div>
                <div className="block">List of one or more column names, expressions, and aggregate expressions.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>columnNames</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setColumnNames(java.util.List)">
                <h3>setColumnNames</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></span> <span className="element-name">setColumnNames</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> columnNames)</span></div>
                <div className="block">List of one or more column names, expressions, and aggregate expressions.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>columnNames</code> - The new value for <code>columnNames</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getOffset()">
                <h3>getOffset</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">long</span> <span className="element-name">getOffset</span>()</div>
                <div className="block">A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>offset</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setOffset(long)">
                <h3>setOffset</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></span> <span className="element-name">setOffset</span><wbr /><span className="parameters">(long offset)</span></div>
                <div className="block">A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>offset</code> - The new value for <code>offset</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getLimit()">
                <h3>getLimit</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">long</span> <span className="element-name">getLimit</span>()</div>
                <div className="block">A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByResponse#getHasMoreRecords()"><code>hasMoreRecords</code></a> to see if more records exist in the result to be fetched, and <a href="#getOffset()"><code>offset</code></a> and <a href="#getLimit()"><code>limit</code></a> to request subsequent pages of results. The default value is -9999.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>limit</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setLimit(long)">
                <h3>setLimit</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></span> <span className="element-name">setLimit</span><wbr /><span className="parameters">(long limit)</span></div>
                <div className="block">A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByResponse#getHasMoreRecords()"><code>hasMoreRecords</code></a> to see if more records exist in the result to be fetched, and <a href="#getOffset()"><code>offset</code></a> and <a href="#getLimit()"><code>limit</code></a> to request subsequent pages of results. The default value is -9999.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>limit</code> - The new value for <code>limit</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getEncoding()">
                <h3>getEncoding</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></span> <span className="element-name">getEncoding</span>()</div>

                <div className="block">
                  Specifies the encoding for returned records. Supported values:

                  <ul>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#BINARY"><code>BINARY</code></a>: Indicates that the returned records should be binary encoded. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#JSON"><code>JSON</code></a>: Indicates that the returned records should be JSON-encoded. </li>
                  </ul>

                  The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#BINARY"><code>BINARY</code></a>.
                </div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>encoding</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setEncoding(java.lang.String)">
                <h3>setEncoding</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></span> <span className="element-name">setEncoding</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> encoding)</span></div>

                <div className="block">
                  Specifies the encoding for returned records. Supported values:

                  <ul>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#BINARY"><code>BINARY</code></a>: Indicates that the returned records should be binary encoded. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#JSON"><code>JSON</code></a>: Indicates that the returned records should be JSON-encoded. </li>
                  </ul>

                  The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Encoding#BINARY"><code>BINARY</code></a>.
                </div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>encoding</code> - The new value for <code>encoding</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getOptions()">
                <h3>getOptions</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></span> <span className="element-name">getOptions</span>()</div>

                <div className="block">
                  Optional parameters.

                  <ul>
                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CREATE_TEMP_TABLE"><code>CREATE\_TEMP\_TABLE</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_PERSIST"><code>RESULT\_TABLE\_PERSIST</code></a> is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByResponse.Info#QUALIFIED_RESULT_TABLE_NAME"><code>QUALIFIED\_RESULT\_TABLE\_NAME</code></a>. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#COLLECTION_NAME"><code>COLLECTION\_NAME</code></a>: \[DEPRECATED--please specify the containing schema as part of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> and use <a href="/content/api/java/com/gpudb/GPUdb#createSchema(com.gpudb.protocol.CreateSchemaRequest)"><code>GPUdb.createSchema</code></a> to create the schema if non-existent] Name of a schema which is to contain the table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. If the schema provided is non-existent, it will be automatically created. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#EXPRESSION"><code>EXPRESSION</code></a>: Filter expression to apply to the table prior to computing the aggregate group by. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIPELINED_EXPRESSION_EVALUATION"><code>PIPELINED\_EXPRESSION\_EVALUATION</code></a>: Evaluate the group-by during last JoinedSet filter plan step. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HAVING"><code>HAVING</code></a>: Filter expression to apply to the aggregated results. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SORT_ORDER"><code>SORT\_ORDER</code></a>: \[DEPRECATED--use order\_by instead] String indicating how the returned values should be sorted - ascending or descending. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ASCENDING"><code>ASCENDING</code></a>: Indicates that the returned values should be sorted in ascending order. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#DESCENDING"><code>DESCENDING</code></a>: Indicates that the returned values should be sorted in descending order. </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ASCENDING"><code>ASCENDING</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SORT_BY"><code>SORT\_BY</code></a>: \[DEPRECATED--use order\_by instead] String determining how the results are sorted. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#KEY"><code>KEY</code></a>: 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. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VALUE"><code>VALUE</code></a>: 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. </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VALUE"><code>VALUE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ORDER_BY"><code>ORDER\_BY</code></a>: 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 ''. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#STRATEGY_DEFINITION"><code>STRATEGY\_DEFINITION</code></a>: The <a href="/content/rm/concepts/#tier-strategies" target="_top">tier strategy</a> for the table and its columns. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#COMPRESSION_CODEC"><code>COMPRESSION\_CODEC</code></a>: The default <a href="/content/concepts/column_compression/" target="_top">compression codec</a> for the result table's columns. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>: The name of a table used to store the results, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. 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. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_PERSIST"><code>RESULT\_TABLE\_PERSIST</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, then the result table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> will be persisted and will not expire unless a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a> is specified. If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>, then the result table will be an in-memory table and will expire unless a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a> is specified otherwise. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_FORCE_REPLICATED"><code>RESULT\_TABLE\_FORCE\_REPLICATED</code></a>: Force the result table to be replicated (ignores any sharding). Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_GENERATE_PK"><code>RESULT\_TABLE\_GENERATE\_PK</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> then set a primary key for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_GENERATE_SOFT_PK"><code>RESULT\_TABLE\_GENERATE\_SOFT\_PK</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> then set a soft primary key for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_SIZE"><code>CHUNK\_SIZE</code></a>: Indicates the number of records per chunk to be used for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_COLUMN_MAX_MEMORY"><code>CHUNK\_COLUMN\_MAX\_MEMORY</code></a>: 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 <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_MAX_MEMORY"><code>CHUNK\_MAX\_MEMORY</code></a>: 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 <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CREATE_INDEXES"><code>CREATE\_INDEXES</code></a>: Comma-separated list of columns on which to create indexes on the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_TYPE"><code>PARTITION\_TYPE</code></a>: <a href="/content/concepts/tables/#partitioning" target="_top">Partitioning</a> scheme to use for the result table. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RANGE"><code>RANGE</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-range" target="_top">range partitioning</a>. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#INTERVAL"><code>INTERVAL</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-interval" target="_top">interval partitioning</a>. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#LIST"><code>LIST</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitioning</a>. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HASH"><code>HASH</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-hash" target="_top">hash partitioning</a>. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SERIES"><code>SERIES</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-series" target="_top">series partitioning</a>. </li>
                      </ul>
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_KEYS"><code>PARTITION\_KEYS</code></a>: Comma-separated list of partition keys, which are the columns or column expressions by which records will be assigned to partitions defined by <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_DEFINITIONS"><code>PARTITION\_DEFINITIONS</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_DEFINITIONS"><code>PARTITION\_DEFINITIONS</code></a>: Comma-separated list of partition definitions, whose format depends on the choice of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_TYPE"><code>PARTITION\_TYPE</code></a>. See <a href="/content/concepts/tables/#partitioning-by-range" target="_top">range partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-interval" target="_top">interval partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-hash" target="_top">hash partitioning</a>, or <a href="/content/concepts/tables/#partitioning-by-series" target="_top">series partitioning</a> for example formats. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#IS_AUTOMATIC_PARTITION"><code>IS\_AUTOMATIC\_PARTITION</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, a new partition will be created for values which don't fall into an existing partition. Currently only supported for <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitions</a>. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VIEW_ID"><code>VIEW\_ID</code></a>: ID of view of which the result table will be a member. The default value is ''. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT"><code>PIVOT</code></a>: Pivot column. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT_VALUES"><code>PIVOT\_VALUES</code></a>: Comma-separated list of the values in the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT"><code>PIVOT</code></a> column. The list provided will become the column header prefixes in the output. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#GROUPING_SETS"><code>GROUPING\_SETS</code></a>: 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. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ROLLUP"><code>ROLLUP</code></a>: This option is used to specify the multilevel aggregates. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CUBE"><code>CUBE</code></a>: This option is used to specify the multidimensional aggregates. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SHARD_KEY"><code>SHARD\_KEY</code></a>: Comma-separated list of the columns to be sharded on; e.g. 'column1, column2'. The columns specified must be present in <a href="#getColumnNames()"><code>columnNames</code></a>. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''. </li>
                  </ul>

                  The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
                </div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>options</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setOptions(java.util.Map)">
                <h3>setOptions</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest" title="class in com.gpudb.protocol">AggregateGroupByRequest</a></span> <span className="element-name">setOptions</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</span></div>

                <div className="block">
                  Optional parameters.

                  <ul>
                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CREATE_TEMP_TABLE"><code>CREATE\_TEMP\_TABLE</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_PERSIST"><code>RESULT\_TABLE\_PERSIST</code></a> is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByResponse.Info#QUALIFIED_RESULT_TABLE_NAME"><code>QUALIFIED\_RESULT\_TABLE\_NAME</code></a>. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#COLLECTION_NAME"><code>COLLECTION\_NAME</code></a>: \[DEPRECATED--please specify the containing schema as part of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> and use <a href="/content/api/java/com/gpudb/GPUdb#createSchema(com.gpudb.protocol.CreateSchemaRequest)"><code>GPUdb.createSchema</code></a> to create the schema if non-existent] Name of a schema which is to contain the table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. If the schema provided is non-existent, it will be automatically created. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#EXPRESSION"><code>EXPRESSION</code></a>: Filter expression to apply to the table prior to computing the aggregate group by. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIPELINED_EXPRESSION_EVALUATION"><code>PIPELINED\_EXPRESSION\_EVALUATION</code></a>: Evaluate the group-by during last JoinedSet filter plan step. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HAVING"><code>HAVING</code></a>: Filter expression to apply to the aggregated results. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SORT_ORDER"><code>SORT\_ORDER</code></a>: \[DEPRECATED--use order\_by instead] String indicating how the returned values should be sorted - ascending or descending. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ASCENDING"><code>ASCENDING</code></a>: Indicates that the returned values should be sorted in ascending order. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#DESCENDING"><code>DESCENDING</code></a>: Indicates that the returned values should be sorted in descending order. </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ASCENDING"><code>ASCENDING</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SORT_BY"><code>SORT\_BY</code></a>: \[DEPRECATED--use order\_by instead] String determining how the results are sorted. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#KEY"><code>KEY</code></a>: 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. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VALUE"><code>VALUE</code></a>: 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. </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VALUE"><code>VALUE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ORDER_BY"><code>ORDER\_BY</code></a>: 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 ''. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#STRATEGY_DEFINITION"><code>STRATEGY\_DEFINITION</code></a>: The <a href="/content/rm/concepts/#tier-strategies" target="_top">tier strategy</a> for the table and its columns. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#COMPRESSION_CODEC"><code>COMPRESSION\_CODEC</code></a>: The default <a href="/content/concepts/column_compression/" target="_top">compression codec</a> for the result table's columns. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>: The name of a table used to store the results, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. 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. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_PERSIST"><code>RESULT\_TABLE\_PERSIST</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, then the result table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> will be persisted and will not expire unless a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a> is specified. If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>, then the result table will be an in-memory table and will expire unless a <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a> is specified otherwise. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_FORCE_REPLICATED"><code>RESULT\_TABLE\_FORCE\_REPLICATED</code></a>: Force the result table to be replicated (ignores any sharding). Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_GENERATE_PK"><code>RESULT\_TABLE\_GENERATE\_PK</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> then set a primary key for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE_GENERATE_SOFT_PK"><code>RESULT\_TABLE\_GENERATE\_SOFT\_PK</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> then set a soft primary key for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TTL"><code>TTL</code></a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_SIZE"><code>CHUNK\_SIZE</code></a>: Indicates the number of records per chunk to be used for the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_COLUMN_MAX_MEMORY"><code>CHUNK\_COLUMN\_MAX\_MEMORY</code></a>: 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 <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CHUNK_MAX_MEMORY"><code>CHUNK\_MAX\_MEMORY</code></a>: 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 <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CREATE_INDEXES"><code>CREATE\_INDEXES</code></a>: Comma-separated list of columns on which to create indexes on the result table. Must be used in combination with the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RESULT_TABLE"><code>RESULT\_TABLE</code></a> option. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_TYPE"><code>PARTITION\_TYPE</code></a>: <a href="/content/concepts/tables/#partitioning" target="_top">Partitioning</a> scheme to use for the result table. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#RANGE"><code>RANGE</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-range" target="_top">range partitioning</a>. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#INTERVAL"><code>INTERVAL</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-interval" target="_top">interval partitioning</a>. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#LIST"><code>LIST</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitioning</a>. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#HASH"><code>HASH</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-hash" target="_top">hash partitioning</a>. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SERIES"><code>SERIES</code></a>: Use <a href="/content/concepts/tables/#partitioning-by-series" target="_top">series partitioning</a>. </li>
                      </ul>
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_KEYS"><code>PARTITION\_KEYS</code></a>: Comma-separated list of partition keys, which are the columns or column expressions by which records will be assigned to partitions defined by <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_DEFINITIONS"><code>PARTITION\_DEFINITIONS</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_DEFINITIONS"><code>PARTITION\_DEFINITIONS</code></a>: Comma-separated list of partition definitions, whose format depends on the choice of <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PARTITION_TYPE"><code>PARTITION\_TYPE</code></a>. See <a href="/content/concepts/tables/#partitioning-by-range" target="_top">range partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-interval" target="_top">interval partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitioning</a>, <a href="/content/concepts/tables/#partitioning-by-hash" target="_top">hash partitioning</a>, or <a href="/content/concepts/tables/#partitioning-by-series" target="_top">series partitioning</a> for example formats. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#IS_AUTOMATIC_PARTITION"><code>IS\_AUTOMATIC\_PARTITION</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a>, a new partition will be created for values which don't fall into an existing partition. Currently only supported for <a href="/content/concepts/tables/#partitioning-by-list" target="_top">list partitions</a>. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#VIEW_ID"><code>VIEW\_ID</code></a>: ID of view of which the result table will be a member. The default value is ''. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT"><code>PIVOT</code></a>: Pivot column. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT_VALUES"><code>PIVOT\_VALUES</code></a>: Comma-separated list of the values in the <a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#PIVOT"><code>PIVOT</code></a> column. The list provided will become the column header prefixes in the output. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#GROUPING_SETS"><code>GROUPING\_SETS</code></a>: 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. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#ROLLUP"><code>ROLLUP</code></a>: This option is used to specify the multilevel aggregates. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#CUBE"><code>CUBE</code></a>: This option is used to specify the multidimensional aggregates. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/AggregateGroupByRequest.Options#SHARD_KEY"><code>SHARD\_KEY</code></a>: Comma-separated list of the columns to be sharded on; e.g. 'column1, column2'. The columns specified must be present in <a href="#getColumnNames()"><code>columnNames</code></a>. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''. </li>
                  </ul>

                  The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
                </div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>options</code> - The new value for <code>options</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getSchema()">
                <h3>getSchema</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">org.apache.avro.Schema</span> <span className="element-name">getSchema</span>()</div>
                <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>

                <div className="dl notes">
                  <div className="dt">Specified by:</div>
                  <div className="dd"><code>getSchema</code> in interface <code>org.apache.avro.generic.GenericContainer</code></div>
                  <div className="dt">Returns:</div>
                  <div className="dd">The schema object describing this class.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="get(int)">
                <h3>get</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></span> <span className="element-name">get</span><wbr /><span className="parameters">(int index)</span></div>
                <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>

                <div className="dl notes">
                  <div className="dt">Specified by:</div>
                  <div className="dd"><code>get</code> in interface <code>org.apache.avro.generic.IndexedRecord</code></div>
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>index</code> - the position of the field to get</div>
                  <div className="dt">Returns:</div>
                  <div className="dd">value of the field with the given index.</div>
                  <div className="dt">Throws:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang" className="external-link">IndexOutOfBoundsException</a></code></div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="put(int,java.lang.Object)">
                <h3>put</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">void</span> <span className="element-name">put</span><wbr /><span className="parameters">(int index, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> value)</span></div>
                <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>

                <div className="dl notes">
                  <div className="dt">Specified by:</div>
                  <div className="dd"><code>put</code> in interface <code>org.apache.avro.generic.IndexedRecord</code></div>
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>index</code> - the position of the field to set</div>
                  <div className="dd"><code>value</code> - the value to set</div>
                  <div className="dt">Throws:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang" className="external-link">IndexOutOfBoundsException</a></code></div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="equals(java.lang.Object)">
                <h3>equals</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">boolean</span> <span className="element-name">equals</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> obj)</span></div>

                <div className="dl notes">
                  <div className="dt">Overrides:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" className="external-link">equals</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></code></div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="toString()">
                <h3>toString</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></span> <span className="element-name">toString</span>()</div>

                <div className="dl notes">
                  <div className="dt">Overrides:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" className="external-link">toString</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></code></div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="hashCode()">
                <h3>hashCode</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">int</span> <span className="element-name">hashCode</span>()</div>

                <div className="dl notes">
                  <div className="dt">Overrides:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" className="external-link">hashCode</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></code></div>
                </div>
              </div>
            </li>
          </ul>
        </div>
      </li>
    </ul>
  </div>
</div>
