> ## 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-doxygen">
  <div id="ac1a6c29a53988d10165a41ae5ce64658" />

  <h2 className="memtitle"><span className="permalink"><a href="#ac1a6c29a53988d10165a41ae5ce64658">◆ </a></span>createCatalog() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">CreateCatalogResponse</a> gpudb::GPUdb::createCatalog </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogRequest">CreateCatalogRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a78817925c0fe763a6bcfa967c0c4a3d8" />

  <h2 className="memtitle"><span className="permalink"><a href="#a78817925c0fe763a6bcfa967c0c4a3d8">◆ </a></span>createCatalog() <span className="overload">\[2/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">CreateCatalogResponse</a> & gpudb::GPUdb::createCatalog </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogRequest">CreateCatalogRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">CreateCatalogResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a75400b465e05223445c85418a570431a" />

  <h2 className="memtitle"><span className="permalink"><a href="#a75400b465e05223445c85418a570431a">◆ </a></span>createCatalog() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">CreateCatalogResponse</a> gpudb::GPUdb::createCatalog </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">tableFormat</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">location</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">type</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">credential</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">datasource</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">name</td>
              <td>Name of the catalog to be created. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">tableFormat</td>
              <td>Table format (iceberg, hudi, deltalake). </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">location</td>
              <td>Location of the catalog in 'http\[s]://\[server\[:port]]]' format. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">type</td>
              <td><a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> of the catalog (REST (unity, polaris, tabular), nessie, hive, glue). </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">credential</td>
              <td>Name of the <a href="/content/concepts/credentials" target="_top">credential</a> object to be used in catalog. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">datasource</td>
              <td>Password for the remote system user; may be an empty string. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#aaaa1925d5f6fa4a9301184d25a5dff2c">create\_catalog\_access\_delegation</a>: Use access delegation for object store. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#affc0a1c0e86ac6150585cf9a0a15cc87">create\_catalog\_datasource\_credentials</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a754adf5d916f717c0b3d8033d6864b65">create\_catalog\_vended\_credentials</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#affc0a1c0e86ac6150585cf9a0a15cc87">create\_catalog\_datasource\_credentials</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a0f2f4db7367dd6bb39e8b5deecd0efba">create\_catalog\_skip\_validation</a>: Bypass validation of connection to remote source. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a2a3375faf37eec7ee2b916662f4caf7f">create\_catalog\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6ebac5b67471f8cab689f87cee97947f">create\_catalog\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6ebac5b67471f8cab689f87cee97947f">create\_catalog\_false</a>.
                  </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a989ff90c51590e7793d43031ad48f7a9" />

  <h2 className="memtitle"><span className="permalink"><a href="#a989ff90c51590e7793d43031ad48f7a9">◆ </a></span>createCatalog() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">CreateCatalogResponse</a> & gpudb::GPUdb::createCatalog </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">tableFormat</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">location</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">type</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">credential</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">datasource</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">CreateCatalogResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">name</td>
              <td>Name of the catalog to be created. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">tableFormat</td>
              <td>Table format (iceberg, hudi, deltalake). </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">location</td>
              <td>Location of the catalog in 'http\[s]://\[server\[:port]]]' format. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">type</td>
              <td><a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> of the catalog (REST (unity, polaris, tabular), nessie, hive, glue). </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">credential</td>
              <td>Name of the <a href="/content/concepts/credentials" target="_top">credential</a> object to be used in catalog. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">datasource</td>
              <td>Password for the remote system user; may be an empty string. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#aaaa1925d5f6fa4a9301184d25a5dff2c">create\_catalog\_access\_delegation</a>: Use access delegation for object store. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#affc0a1c0e86ac6150585cf9a0a15cc87">create\_catalog\_datasource\_credentials</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a754adf5d916f717c0b3d8033d6864b65">create\_catalog\_vended\_credentials</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#affc0a1c0e86ac6150585cf9a0a15cc87">create\_catalog\_datasource\_credentials</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a0f2f4db7367dd6bb39e8b5deecd0efba">create\_catalog\_skip\_validation</a>: Bypass validation of connection to remote source. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a2a3375faf37eec7ee2b916662f4caf7f">create\_catalog\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6ebac5b67471f8cab689f87cee97947f">create\_catalog\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6ebac5b67471f8cab689f87cee97947f">create\_catalog\_false</a>.
                  </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateCatalogResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
