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

# GPUdbFileHandler.Options

> GPUdbFileHandler.Options — 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/filesystem/package-summary">com.gpudb.filesystem</a></div>
    <h1 title="Class GPUdbFileHandler.Options" className="title">Class GPUdbFileHandler.Options</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.filesystem.GPUdbFileHandler.Options</div>
  </div>

  <div className="section class-description" id="class-description">
    <div className="dl notes">
      <div className="dt">Enclosing class:</div>
      <div className="dd"><code><a href="/content/api/java/com/gpudb/filesystem/GPUdbFileHandler" title="class in com.gpudb.filesystem">GPUdbFileHandler</a></code></div>
    </div>

    <hr />

    <div className="type-signature"><span className="modifiers">public static final class </span><span className="element-name type-name-label">GPUdbFileHandler.Options</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></span></div>
    <div className="block">This class models the options available for modifying some behaviors of the <a href="/content/api/java/com/gpudb/filesystem/GPUdbFileHandler" title="class in com.gpudb.filesystem"><code>GPUdbFileHandler</code></a> class.</div>
  </div>

  <div className="section summary">
    <ul className="summary-list">
      <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">Options</a>()</code></div>

            <div className="col-last even-row-color">
              <div className="block">Create default file handling options.</div>
            </div>

            <div className="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(com.gpudb.filesystem.GPUdbFileHandler.Options)" className="member-name-link">Options</a><wbr />(<a href="/content/api/java/com/gpudb/filesystem/GPUdbFileHandler.Options" title="class in com.gpudb.filesystem">GPUdbFileHandler.Options</a> other)</code></div>

            <div className="col-last odd-row-color">
              <div className="block">Create file handling options as a copy of the given ones.</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-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>long</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFileSizeToSplit()" className="member-name-link">getFileSizeToSplit</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Gets the value of the file split size--files smaller than this size will be uploaded in batches up to this size, and files greater than this size will be uploaded in parts up to this size.</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="#getFullFileDispatcherThreadpoolSize()" className="member-name-link">getFullFileDispatcherThreadpoolSize</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Returns the size of the thread pool used internally to handle batches of full file uploads.</div>
                </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="#setFileSizeToSplit(long)" className="member-name-link">setFileSizeToSplit</a><wbr />(long fileSizeToSplit)</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Sets the value of the file split size--files smaller than this size will be uploaded in batches up to this size, and files greater than this size will be uploaded in parts up to this size.</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/filesystem/GPUdbFileHandler.Options" title="class in com.gpudb.filesystem">GPUdbFileHandler.Options</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setFullFileDispatcherThreadpoolSize(int)" className="member-name-link">setFullFileDispatcherThreadpoolSize</a><wbr />(int fullFileDispatcherThreadpoolSize)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Sets the size of the thread pool used internally to handle batches of full file uploads.</div>
                </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#equals(java.lang.Object)" title="class or interface in java.lang" className="external-link">equals</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#hashCode()" title="class or interface in java.lang" className="external-link">hashCode</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#toString()" title="class or interface in java.lang" className="external-link">toString</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>Options</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">Options</span>()</div>
                <div className="block">Create default file handling options.</div>
              </div>
            </li>

            <li>
              <div className="section detail" id="<init>(com.gpudb.filesystem.GPUdbFileHandler.Options)">
                <h3>Options</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">Options</span><wbr /><span className="parameters">(<a href="/content/api/java/com/gpudb/filesystem/GPUdbFileHandler.Options" title="class in com.gpudb.filesystem">GPUdbFileHandler.Options</a> other)</span></div>
                <div className="block">Create file handling options as a copy of the given ones.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>other</code> - The <a href="/content/api/java/com/gpudb/filesystem/GPUdbFileHandler.Options" title="class in com.gpudb.filesystem"><code>GPUdbFileHandler.Options</code></a> instance to copy from.</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="getFullFileDispatcherThreadpoolSize()">
                <h3>getFullFileDispatcherThreadpoolSize</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">int</span> <span className="element-name">getFullFileDispatcherThreadpoolSize</span>()</div>
                <div className="block">Returns the size of the thread pool used internally to handle batches of full file uploads. The default value is 5.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The configured size of the dispatcher thread pool.</div>
                  <div className="dt">See Also:</div>

                  <div className="dd">
                    <ul className="tag-list-long">
                      <li><a href="#setFullFileDispatcherThreadpoolSize(int)"><code>setFullFileDispatcherThreadpoolSize(int)</code></a></li>
                    </ul>
                  </div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setFullFileDispatcherThreadpoolSize(int)">
                <h3>setFullFileDispatcherThreadpoolSize</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/filesystem/GPUdbFileHandler.Options" title="class in com.gpudb.filesystem">GPUdbFileHandler.Options</a></span> <span className="element-name">setFullFileDispatcherThreadpoolSize</span><wbr /><span className="parameters">(int fullFileDispatcherThreadpoolSize)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
                <div className="block">Sets the size of the thread pool used internally to handle batches of full file uploads. The default value is 5.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>fullFileDispatcherThreadpoolSize</code> - The number of threads that the file dispatcher pool should use.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd">The current <a href="/content/api/java/com/gpudb/filesystem/GPUdbFileHandler.Options" title="class in com.gpudb.filesystem"><code>GPUdbFileHandler.Options</code></a> instance.</div>
                  <div className="dt">Throws:</div>
                  <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code> - If the given thread pool size is invalid in the current execution environment.</div>
                  <div className="dt">See Also:</div>

                  <div className="dd">
                    <ul className="tag-list-long">
                      <li><a href="#getFullFileDispatcherThreadpoolSize()"><code>getFullFileDispatcherThreadpoolSize()</code></a></li>
                    </ul>
                  </div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getFileSizeToSplit()">
                <h3>getFileSizeToSplit</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">long</span> <span className="element-name">getFileSizeToSplit</span>()</div>
                <div className="block">Gets the value of the file split size--files smaller than this size will be uploaded in batches up to this size, and files greater than this size will be uploaded in parts up to this size.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The file split size in bytes.</div>
                  <div className="dt">See Also:</div>

                  <div className="dd">
                    <ul className="tag-list">
                      <li><a href="#setFileSizeToSplit(long)"><code>setFileSizeToSplit(long)</code></a></li>
                    </ul>
                  </div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setFileSizeToSplit(long)">
                <h3>setFileSizeToSplit</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">void</span> <span className="element-name">setFileSizeToSplit</span><wbr /><span className="parameters">(long fileSizeToSplit)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
                <div className="block">Sets the value of the file split size--files smaller than this size will be uploaded in batches up to this size, and files greater than this size will be uploaded in parts up to this size.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>fileSizeToSplit</code> - The file split size in bytes.</div>
                  <div className="dt">Throws:</div>
                  <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code></div>
                </div>
              </div>
            </li>
          </ul>
        </div>
      </li>
    </ul>
  </div>
</div>
