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

# gpudb::HasSchemaRequest

> gpudb::HasSchemaRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ad9239208a2646cbf0b1bd9bf4e1a0d50">GPUdb::hasSchema</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/has__schema_8h_source">gpudb/protocol/has\_schema.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a55fe51cdd5819759e3f9a66da56f2d05" id="r_a55fe51cdd5819759e3f9a66da56f2d05">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a55fe51cdd5819759e3f9a66da56f2d05">HasSchemaRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a55fe51cdd5819759e3f9a66da56f2d05">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1HasSchemaRequest" title="A set of parameters for GPUdb::hasSchema.">HasSchemaRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a55fe51cdd5819759e3f9a66da56f2d05">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a8a4e82fcd1bb4c5bc21f750df04f3444" id="r_a8a4e82fcd1bb4c5bc21f750df04f3444">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a8a4e82fcd1bb4c5bc21f750df04f3444">HasSchemaRequest</a> (const std::string \&schemaName\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a8a4e82fcd1bb4c5bc21f750df04f3444">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1HasSchemaRequest" title="A set of parameters for GPUdb::hasSchema.">HasSchemaRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a8a4e82fcd1bb4c5bc21f750df04f3444">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a495fa9b66368ed1d7484c0e9727520cb" id="r_a495fa9b66368ed1d7484c0e9727520cb">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a495fa9b66368ed1d7484c0e9727520cb">schemaName</a></td>
      </tr>

      <tr className="memdesc:a495fa9b66368ed1d7484c0e9727520cb">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the schema to check for existence, in root, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. <br /></td>
      </tr>

      <tr className="separator:a495fa9b66368ed1d7484c0e9727520cb">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a83f0eb7a824fc3487eef3891a0d5ea5b" id="r_a83f0eb7a824fc3487eef3891a0d5ea5b">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a83f0eb7a824fc3487eef3891a0d5ea5b">options</a></td>
      </tr>

      <tr className="memdesc:a83f0eb7a824fc3487eef3891a0d5ea5b">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a83f0eb7a824fc3487eef3891a0d5ea5b">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ad9239208a2646cbf0b1bd9bf4e1a0d50">GPUdb::hasSchema</a>. </p>
      <p>Checks for the existence of a schema with the given name. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/has__schema_8h_source#l00017">17</a> of file <a className="el" href="/content/api/cpp/has__schema_8h_source">has\_schema.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a55fe51cdd5819759e3f9a66da56f2d05">◆ </a></span>HasSchemaRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::HasSchemaRequest::HasSchemaRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1HasSchemaRequest" title="A set of parameters for GPUdb::hasSchema.">HasSchemaRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/has__schema_8h_source#l00022">22</a> of file <a className="el" href="/content/api/cpp/has__schema_8h_source">has\_schema.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::HasSchemaRequest::HasSchemaRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">schemaName\_</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>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1HasSchemaRequest" title="A set of parameters for GPUdb::hasSchema.">HasSchemaRequest</a> object with the specified parameters. </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">schemaName\_</td>
                <td>Name of the schema to check for existence, in root, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>
                <td>Optional parameters. The default value is an empty map. </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/has__schema_8h_source#l00038">38</a> of file <a className="el" href="/content/api/cpp/has__schema_8h_source">has\_schema.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a83f0eb7a824fc3487eef3891a0d5ea5b">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::HasSchemaRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/has__schema_8h_source#l00054">54</a> of file <a className="el" href="/content/api/cpp/has__schema_8h_source">has\_schema.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a495fa9b66368ed1d7484c0e9727520cb">◆ </a></span>schemaName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::HasSchemaRequest::schemaName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the schema to check for existence, in root, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/has__schema_8h_source#l00049">49</a> of file <a className="el" href="/content/api/cpp/has__schema_8h_source">has\_schema.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/has__schema_8h_source">has\_schema.h</a></li>
    </ul>
  </div>
</div>
