> ## 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.

# ExportRecordsToFilesRequest

> ExportRecordsToFilesRequest — 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 ExportRecordsToFilesRequest" className="title">Class ExportRecordsToFilesRequest</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.ExportRecordsToFilesRequest</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">ExportRecordsToFilesRequest</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#exportRecordsToFiles(com.gpudb.protocol.ExportRecordsToFilesRequest)"><code>GPUdb.exportRecordsToFiles</code></a>.
      <p> Export records from a table to files. All tables can be exported, in full or partial (see <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_EXPORT"><code>COLUMNS\_TO\_EXPORT</code></a> and <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_SKIP"><code>COLUMNS\_TO\_SKIP</code></a>). Additional filtering can be applied when using export table with expression through SQL. Default destination is KIFS, though other storage types (Azure, S3, GCS, and HDFS) are supported through <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DATASINK_NAME"><code>DATASINK\_NAME</code></a>; see <a href="/content/api/java/com/gpudb/GPUdb#createDatasink(com.gpudb.protocol.CreateDatasinkRequest)"><code>GPUdb.createDatasink</code></a>. </p>
      <p> Server's local file system is not supported. Default file format is delimited text. See options for different file types and different options for each file type. Table is saved to a single file if within max file size limits (may vary depending on datasink type). If not, then table is split into multiple files; these may be smaller than the max size limit. </p>
      <p> All filenames created are returned in the response.</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/ExportRecordsToFilesRequest.Options" className="type-name-link" title="class in com.gpudb.protocol">ExportRecordsToFilesRequest.Options</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/ExportRecordsToFilesRequest" title="class in com.gpudb.protocol"><code>ExportRecordsToFilesRequest</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">ExportRecordsToFilesRequest</a>()</code></div>

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

            <div className="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.lang.String,java.lang.String,java.util.Map)" className="member-name-link">ExportRecordsToFilesRequest</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/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> filepath, <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 ExportRecordsToFilesRequest 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/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="#getFilepath()" className="member-name-link">getFilepath</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Path to data export target.</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/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 even-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 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>org.apache.avro.Schema</code></div>
                <div className="col-second odd-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 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="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="#getTableName()" className="member-name-link">getTableName</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">The name of the table whose records are to be exported.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
                <div className="col-second odd-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 odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
                <div className="col-second even-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 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="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest" title="class in com.gpudb.protocol">ExportRecordsToFilesRequest</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setFilepath(java.lang.String)" className="member-name-link">setFilepath</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> filepath)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Path to data export target.</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/ExportRecordsToFilesRequest" title="class in com.gpudb.protocol">ExportRecordsToFilesRequest</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/ExportRecordsToFilesRequest" title="class in com.gpudb.protocol">ExportRecordsToFilesRequest</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">The name of the table whose records are to be exported.</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>ExportRecordsToFilesRequest</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">ExportRecordsToFilesRequest</span>()</div>
                <div className="block">Constructs an ExportRecordsToFilesRequest object with default parameters.</div>
              </div>
            </li>

            <li>
              <div className="section detail" id="<init>(java.lang.String,java.lang.String,java.util.Map)">
                <h3>ExportRecordsToFilesRequest</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">ExportRecordsToFilesRequest</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/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> filepath, <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 ExportRecordsToFilesRequest object with the specified parameters.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>tableName</code> - The name of the table whose records are to be exported.</div>
                  <div className="dd"><code>filepath</code> - Path to data export target. If <code>filepath</code> has a file extension, it is read as the name of a file. If <code>filepath</code> is a directory, then the source table name with a random UUID appended will be used as the name of each exported file, all written to that directory. If filepath is a filename, then all exported files will have a random UUID appended to the given name. In either case, the target directory specified or implied must exist. The names of all exported files are returned in the response.</div>

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

                    <ul>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#BATCH_SIZE"><code>BATCH\_SIZE</code></a>: Number of records to be exported as a batch. The default value is '1000000'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a>: For each source column specified, applies the column-property-bound format. Currently supported column properties include date, time, and datetime. The parameter value must be formatted as a JSON string of maps of column names to maps of column properties to their corresponding column formats, e.g., '{"{"} "order\_date" : {"{"} "date" : "%Y.%m.%d" {"}"}, "order\_time" : {"{"} "time" : "%H:%M:%S" {"}"} {"}"}'. See <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DEFAULT_COLUMN_FORMATS"><code>DEFAULT\_COLUMN\_FORMATS</code></a> for valid format syntax. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_EXPORT"><code>COLUMNS\_TO\_EXPORT</code></a>: Specifies a comma-delimited list of columns from the source table to export, written to the output file in the order they are given. Column names can be provided, in which case the target file will use those names as the column headers as well. Alternatively, column numbers can be specified--discretely or as a range. For example, a value of '5,7,1..3' will write values from the fifth column in the source table into the first column in the target file, from the seventh column in the source table into the second column in the target file, and from the first through third columns in the source table into the third through fifth columns in the target file. Mutually exclusive with <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_SKIP"><code>COLUMNS\_TO\_SKIP</code></a>. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_SKIP"><code>COLUMNS\_TO\_SKIP</code></a>: Comma-separated list of column names or column numbers to not export. All columns in the source table not specified will be written to the target file in the order they appear in the table definition. Mutually exclusive with <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_EXPORT"><code>COLUMNS\_TO\_EXPORT</code></a>. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DATASINK_NAME"><code>DATASINK\_NAME</code></a>: Datasink name, created using <a href="/content/api/java/com/gpudb/GPUdb#createDatasink(com.gpudb.protocol.CreateDatasinkRequest)"><code>GPUdb.createDatasink</code></a>. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DEFAULT_COLUMN_FORMATS"><code>DEFAULT\_COLUMN\_FORMATS</code></a>: Specifies the default format to use to write data. Currently supported column properties include date, time, and datetime. This default column-property-bound format can be overridden by specifying a column property and format for a given source column in <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a>. For each specified annotation, the format will apply to all columns with that annotation unless custom <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a> for that annotation are specified. The parameter value must be formatted as a JSON string that is a map of column properties to their respective column formats, e.g., '{"{"} "date" : "%Y.%m.%d", "time" : "%H:%M:%S" {"}"}'. Column formats are specified as a string of control characters and plain text. The supported control characters are 'Y', 'm', 'd', 'H', 'M', 'S', and 's', which follow the Linux 'strptime()' specification, as well as 's', which specifies seconds and fractional seconds (though the fractional component will be truncated past milliseconds). Formats for the 'date' annotation must include the 'Y', 'm', and 'd' control characters. Formats for the 'time' annotation must include the 'H', 'M', and either 'S' or 's' (but not both) control characters. Formats for the 'datetime' annotation meet both the 'date' and 'time' control character requirements. For example, '{"{"}"datetime" : "%m/%d/%Y %H:%M:%S" {"}"}' would be used to write text as "05/04/2000 12:12:11" </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#EXPORT_DDL"><code>EXPORT\_DDL</code></a>: Save DDL to a separate file. The default value is 'false'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_EXTENSION"><code>FILE\_EXTENSION</code></a>: Extension to give the export file. The default value is '.csv'. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a>: Specifies the file format to use when exporting data. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a>: Delimited text file format; e.g., CSV, TSV, PSV, etc. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#PARQUET"><code>PARQUET</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#KINETICA_HEADER"><code>KINETICA\_HEADER</code></a>: Whether to include a Kinetica proprietary header. Will not be written if <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_HAS_HEADER"><code>TEXT\_HAS\_HEADER</code></a> is <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FALSE"><code>FALSE</code></a>. Supported values:

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

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

                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#KINETICA_HEADER_DELIMITER"><code>KINETICA\_HEADER\_DELIMITER</code></a>: If a Kinetica proprietary header is included, then specify a property separator. Different from column delimiter. The default value is '|'. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COMPRESSION_TYPE"><code>COMPRESSION\_TYPE</code></a>: File compression type. GZip can be applied to text and Parquet files. Snappy can only be applied to Parquet files, and is the default compression for them. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#UNCOMPRESSED"><code>UNCOMPRESSED</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SNAPPY"><code>SNAPPY</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#GZIP"><code>GZIP</code></a> </li>
                        </ul>
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SINGLE_FILE"><code>SINGLE\_FILE</code></a>: Save records to a single file. This option may be ignored if file size exceeds internal file size limits (this limit will differ on different targets). Supported values:

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

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

                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SINGLE_FILE_MAX_SIZE"><code>SINGLE\_FILE\_MAX\_SIZE</code></a>: Max file size (in MB) to allow saving to a single file. May be overridden by target limitations. The default value is ''. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_DELIMITER"><code>TEXT\_DELIMITER</code></a>: Specifies the character to write out to delimit field values and field names in the header (if present). For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a> <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. The default value is ','. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_HAS_HEADER"><code>TEXT\_HAS\_HEADER</code></a>: Indicates whether to write out a header row. For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. Supported values:

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

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

                      <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_NULL_STRING"><code>TEXT\_NULL\_STRING</code></a>: Specifies the character string that should be written out for the null value in the data. For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a> <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. The default value is '\N'. </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">The name of the table whose records are to be exported.</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/ExportRecordsToFilesRequest" title="class in com.gpudb.protocol">ExportRecordsToFilesRequest</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">The name of the table whose records are to be exported.</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="getFilepath()">
                <h3>getFilepath</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">getFilepath</span>()</div>
                <div className="block">Path to data export target. If <a href="#getFilepath()"><code>filepath</code></a> has a file extension, it is read as the name of a file. If <a href="#getFilepath()"><code>filepath</code></a> is a directory, then the source table name with a random UUID appended will be used as the name of each exported file, all written to that directory. If filepath is a filename, then all exported files will have a random UUID appended to the given name. In either case, the target directory specified or implied must exist. The names of all exported files are returned in the response.</div>

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

            <li>
              <div className="section detail" id="setFilepath(java.lang.String)">
                <h3>setFilepath</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest" title="class in com.gpudb.protocol">ExportRecordsToFilesRequest</a></span> <span className="element-name">setFilepath</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> filepath)</span></div>
                <div className="block">Path to data export target. If <a href="#getFilepath()"><code>filepath</code></a> has a file extension, it is read as the name of a file. If <a href="#getFilepath()"><code>filepath</code></a> is a directory, then the source table name with a random UUID appended will be used as the name of each exported file, all written to that directory. If filepath is a filename, then all exported files will have a random UUID appended to the given name. In either case, the target directory specified or implied must exist. The names of all exported files are returned in the response.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>filepath</code> - The new value for <code>filepath</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/ExportRecordsToFilesRequest.Options#BATCH_SIZE"><code>BATCH\_SIZE</code></a>: Number of records to be exported as a batch. The default value is '1000000'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a>: For each source column specified, applies the column-property-bound format. Currently supported column properties include date, time, and datetime. The parameter value must be formatted as a JSON string of maps of column names to maps of column properties to their corresponding column formats, e.g., '{"{"} "order\_date" : {"{"} "date" : "%Y.%m.%d" {"}"}, "order\_time" : {"{"} "time" : "%H:%M:%S" {"}"} {"}"}'. See <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DEFAULT_COLUMN_FORMATS"><code>DEFAULT\_COLUMN\_FORMATS</code></a> for valid format syntax. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_EXPORT"><code>COLUMNS\_TO\_EXPORT</code></a>: Specifies a comma-delimited list of columns from the source table to export, written to the output file in the order they are given. Column names can be provided, in which case the target file will use those names as the column headers as well. Alternatively, column numbers can be specified--discretely or as a range. For example, a value of '5,7,1..3' will write values from the fifth column in the source table into the first column in the target file, from the seventh column in the source table into the second column in the target file, and from the first through third columns in the source table into the third through fifth columns in the target file. Mutually exclusive with <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_SKIP"><code>COLUMNS\_TO\_SKIP</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_SKIP"><code>COLUMNS\_TO\_SKIP</code></a>: Comma-separated list of column names or column numbers to not export. All columns in the source table not specified will be written to the target file in the order they appear in the table definition. Mutually exclusive with <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_EXPORT"><code>COLUMNS\_TO\_EXPORT</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DATASINK_NAME"><code>DATASINK\_NAME</code></a>: Datasink name, created using <a href="/content/api/java/com/gpudb/GPUdb#createDatasink(com.gpudb.protocol.CreateDatasinkRequest)"><code>GPUdb.createDatasink</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DEFAULT_COLUMN_FORMATS"><code>DEFAULT\_COLUMN\_FORMATS</code></a>: Specifies the default format to use to write data. Currently supported column properties include date, time, and datetime. This default column-property-bound format can be overridden by specifying a column property and format for a given source column in <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a>. For each specified annotation, the format will apply to all columns with that annotation unless custom <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a> for that annotation are specified. The parameter value must be formatted as a JSON string that is a map of column properties to their respective column formats, e.g., '{"{"} "date" : "%Y.%m.%d", "time" : "%H:%M:%S" {"}"}'. Column formats are specified as a string of control characters and plain text. The supported control characters are 'Y', 'm', 'd', 'H', 'M', 'S', and 's', which follow the Linux 'strptime()' specification, as well as 's', which specifies seconds and fractional seconds (though the fractional component will be truncated past milliseconds). Formats for the 'date' annotation must include the 'Y', 'm', and 'd' control characters. Formats for the 'time' annotation must include the 'H', 'M', and either 'S' or 's' (but not both) control characters. Formats for the 'datetime' annotation meet both the 'date' and 'time' control character requirements. For example, '{"{"}"datetime" : "%m/%d/%Y %H:%M:%S" {"}"}' would be used to write text as "05/04/2000 12:12:11" </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#EXPORT_DDL"><code>EXPORT\_DDL</code></a>: Save DDL to a separate file. The default value is 'false'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_EXTENSION"><code>FILE\_EXTENSION</code></a>: Extension to give the export file. The default value is '.csv'. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a>: Specifies the file format to use when exporting data. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a>: Delimited text file format; e.g., CSV, TSV, PSV, etc. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#PARQUET"><code>PARQUET</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#KINETICA_HEADER"><code>KINETICA\_HEADER</code></a>: Whether to include a Kinetica proprietary header. Will not be written if <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_HAS_HEADER"><code>TEXT\_HAS\_HEADER</code></a> is <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FALSE"><code>FALSE</code></a>. Supported values:

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

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

                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#KINETICA_HEADER_DELIMITER"><code>KINETICA\_HEADER\_DELIMITER</code></a>: If a Kinetica proprietary header is included, then specify a property separator. Different from column delimiter. The default value is '|'. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COMPRESSION_TYPE"><code>COMPRESSION\_TYPE</code></a>: File compression type. GZip can be applied to text and Parquet files. Snappy can only be applied to Parquet files, and is the default compression for them. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#UNCOMPRESSED"><code>UNCOMPRESSED</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SNAPPY"><code>SNAPPY</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#GZIP"><code>GZIP</code></a> </li>
                      </ul>
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SINGLE_FILE"><code>SINGLE\_FILE</code></a>: Save records to a single file. This option may be ignored if file size exceeds internal file size limits (this limit will differ on different targets). Supported values:

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

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

                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SINGLE_FILE_MAX_SIZE"><code>SINGLE\_FILE\_MAX\_SIZE</code></a>: Max file size (in MB) to allow saving to a single file. May be overridden by target limitations. The default value is ''. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_DELIMITER"><code>TEXT\_DELIMITER</code></a>: Specifies the character to write out to delimit field values and field names in the header (if present). For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a> <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. The default value is ','. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_HAS_HEADER"><code>TEXT\_HAS\_HEADER</code></a>: Indicates whether to write out a header row. For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. Supported values:

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

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

                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_NULL_STRING"><code>TEXT\_NULL\_STRING</code></a>: Specifies the character string that should be written out for the null value in the data. For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a> <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. The default value is '\N'. </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/ExportRecordsToFilesRequest" title="class in com.gpudb.protocol">ExportRecordsToFilesRequest</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/ExportRecordsToFilesRequest.Options#BATCH_SIZE"><code>BATCH\_SIZE</code></a>: Number of records to be exported as a batch. The default value is '1000000'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a>: For each source column specified, applies the column-property-bound format. Currently supported column properties include date, time, and datetime. The parameter value must be formatted as a JSON string of maps of column names to maps of column properties to their corresponding column formats, e.g., '{"{"} "order\_date" : {"{"} "date" : "%Y.%m.%d" {"}"}, "order\_time" : {"{"} "time" : "%H:%M:%S" {"}"} {"}"}'. See <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DEFAULT_COLUMN_FORMATS"><code>DEFAULT\_COLUMN\_FORMATS</code></a> for valid format syntax. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_EXPORT"><code>COLUMNS\_TO\_EXPORT</code></a>: Specifies a comma-delimited list of columns from the source table to export, written to the output file in the order they are given. Column names can be provided, in which case the target file will use those names as the column headers as well. Alternatively, column numbers can be specified--discretely or as a range. For example, a value of '5,7,1..3' will write values from the fifth column in the source table into the first column in the target file, from the seventh column in the source table into the second column in the target file, and from the first through third columns in the source table into the third through fifth columns in the target file. Mutually exclusive with <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_SKIP"><code>COLUMNS\_TO\_SKIP</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_SKIP"><code>COLUMNS\_TO\_SKIP</code></a>: Comma-separated list of column names or column numbers to not export. All columns in the source table not specified will be written to the target file in the order they appear in the table definition. Mutually exclusive with <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMNS_TO_EXPORT"><code>COLUMNS\_TO\_EXPORT</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DATASINK_NAME"><code>DATASINK\_NAME</code></a>: Datasink name, created using <a href="/content/api/java/com/gpudb/GPUdb#createDatasink(com.gpudb.protocol.CreateDatasinkRequest)"><code>GPUdb.createDatasink</code></a>. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DEFAULT_COLUMN_FORMATS"><code>DEFAULT\_COLUMN\_FORMATS</code></a>: Specifies the default format to use to write data. Currently supported column properties include date, time, and datetime. This default column-property-bound format can be overridden by specifying a column property and format for a given source column in <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a>. For each specified annotation, the format will apply to all columns with that annotation unless custom <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COLUMN_FORMATS"><code>COLUMN\_FORMATS</code></a> for that annotation are specified. The parameter value must be formatted as a JSON string that is a map of column properties to their respective column formats, e.g., '{"{"} "date" : "%Y.%m.%d", "time" : "%H:%M:%S" {"}"}'. Column formats are specified as a string of control characters and plain text. The supported control characters are 'Y', 'm', 'd', 'H', 'M', 'S', and 's', which follow the Linux 'strptime()' specification, as well as 's', which specifies seconds and fractional seconds (though the fractional component will be truncated past milliseconds). Formats for the 'date' annotation must include the 'Y', 'm', and 'd' control characters. Formats for the 'time' annotation must include the 'H', 'M', and either 'S' or 's' (but not both) control characters. Formats for the 'datetime' annotation meet both the 'date' and 'time' control character requirements. For example, '{"{"}"datetime" : "%m/%d/%Y %H:%M:%S" {"}"}' would be used to write text as "05/04/2000 12:12:11" </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#EXPORT_DDL"><code>EXPORT\_DDL</code></a>: Save DDL to a separate file. The default value is 'false'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_EXTENSION"><code>FILE\_EXTENSION</code></a>: Extension to give the export file. The default value is '.csv'. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a>: Specifies the file format to use when exporting data. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a>: Delimited text file format; e.g., CSV, TSV, PSV, etc. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#PARQUET"><code>PARQUET</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#KINETICA_HEADER"><code>KINETICA\_HEADER</code></a>: Whether to include a Kinetica proprietary header. Will not be written if <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_HAS_HEADER"><code>TEXT\_HAS\_HEADER</code></a> is <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FALSE"><code>FALSE</code></a>. Supported values:

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

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

                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#KINETICA_HEADER_DELIMITER"><code>KINETICA\_HEADER\_DELIMITER</code></a>: If a Kinetica proprietary header is included, then specify a property separator. Different from column delimiter. The default value is '|'. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#COMPRESSION_TYPE"><code>COMPRESSION\_TYPE</code></a>: File compression type. GZip can be applied to text and Parquet files. Snappy can only be applied to Parquet files, and is the default compression for them. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#UNCOMPRESSED"><code>UNCOMPRESSED</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SNAPPY"><code>SNAPPY</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#GZIP"><code>GZIP</code></a> </li>
                      </ul>
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SINGLE_FILE"><code>SINGLE\_FILE</code></a>: Save records to a single file. This option may be ignored if file size exceeds internal file size limits (this limit will differ on different targets). Supported values:

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

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

                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#SINGLE_FILE_MAX_SIZE"><code>SINGLE\_FILE\_MAX\_SIZE</code></a>: Max file size (in MB) to allow saving to a single file. May be overridden by target limitations. The default value is ''. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_DELIMITER"><code>TEXT\_DELIMITER</code></a>: Specifies the character to write out to delimit field values and field names in the header (if present). For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a> <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. The default value is ','. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_HAS_HEADER"><code>TEXT\_HAS\_HEADER</code></a>: Indicates whether to write out a header row. For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. Supported values:

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

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

                    <li><a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#TEXT_NULL_STRING"><code>TEXT\_NULL\_STRING</code></a>: Specifies the character string that should be written out for the null value in the data. For <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#DELIMITED_TEXT"><code>DELIMITED\_TEXT</code></a> <a href="/content/api/java/com/gpudb/protocol/ExportRecordsToFilesRequest.Options#FILE_TYPE"><code>FILE\_TYPE</code></a> only. The default value is '\N'. </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>
