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

# createCatalog

<div className="kinetica-javadoc">
  <ul className="member-list">
    <li>
      <div className="section detail" id="createCatalog(com.gpudb.protocol.CreateCatalogRequest)">
        <h3>createCatalog</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/CreateCatalogResponse" title="class in com.gpudb.protocol">CreateCatalogResponse</a></span> <span className="element-name">createCatalog</span><wbr /><span className="parameters">(<a href="/content/api/java/com/gpudb/protocol/CreateCatalogRequest" title="class in com.gpudb.protocol">CreateCatalogRequest</a> request)</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">Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.</div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>request</code> - <a href="/content/api/java/com/gpudb/protocol/CreateCatalogRequest" title="class in com.gpudb.protocol"><code>Request</code></a> object containing the parameters for the operation.</div>
          <div className="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/CreateCatalogResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</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 an error occurs during the operation.</div>
        </div>
      </div>
    </li>

    <li>
      <div className="section detail" id="createCatalog(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Map)">
        <h3>createCatalog</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/CreateCatalogResponse" title="class in com.gpudb.protocol">CreateCatalogResponse</a></span> <span className="element-name">createCatalog</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> name, <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> tableFormat, <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> location, <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> 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> credential, <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> datasource, <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> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
        <div className="block">Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.</div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>name</code> - Name of the catalog to be created.</div>
          <div className="dd"><code>tableFormat</code> - Table format (iceberg, hudi, deltalake).</div>
          <div className="dd"><code>location</code> - Location of the catalog in 'http\[s]://\[server\[:port]]]' format.</div>
          <div className="dd"><code>type</code> - Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue).</div>
          <div className="dd"><code>credential</code> - Name of the <a href="/content/concepts/credentials" target="_top">credential</a> object to be used in catalog.</div>
          <div className="dd"><code>datasource</code> - Password for the remote system user; may be an empty string.</div>

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

            <ul>
              <li>
                <a href="/content/api/java/com/gpudb/protocol/CreateCatalogRequest.Options#ACCESS_DELEGATION"><code>ACCESS\_DELEGATION</code></a>: Use access delegation for object store. Supported values:

                <ul>
                  <li><a href="/content/api/java/com/gpudb/protocol/CreateCatalogRequest.Options#DATASOURCE_CREDENTIALS"><code>DATASOURCE\_CREDENTIALS</code></a> </li>
                  <li><a href="/content/api/java/com/gpudb/protocol/CreateCatalogRequest.Options#VENDED_CREDENTIALS"><code>VENDED\_CREDENTIALS</code></a> </li>
                </ul>

                The default value is <a href="/content/api/java/com/gpudb/protocol/CreateCatalogRequest.Options#DATASOURCE_CREDENTIALS"><code>DATASOURCE\_CREDENTIALS</code></a>.
              </li>

              <li>
                <a href="/content/api/java/com/gpudb/protocol/CreateCatalogRequest.Options#SKIP_VALIDATION"><code>SKIP\_VALIDATION</code></a>: Bypass validation of connection to remote source. Supported values:

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

                The default value is <a href="/content/api/java/com/gpudb/protocol/CreateCatalogRequest.Options#FALSE"><code>FALSE</code></a>.
              </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="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/CreateCatalogResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</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 an error occurs during the operation.</div>
        </div>
      </div>
    </li>
  </ul>
</div>
