> ## 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::HasTypeRequest

> gpudb::HasTypeRequest — 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#a70f01970c1caaccd6cf17b208a980b50">GPUdb::hasType</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/has__type_8h_source">gpudb/protocol/has\_type.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:a502378ae16c3b68b450c3c15c9c41f0d" id="r_a502378ae16c3b68b450c3c15c9c41f0d">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a502378ae16c3b68b450c3c15c9c41f0d">HasTypeRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a502378ae16c3b68b450c3c15c9c41f0d">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1HasTypeRequest" title="A set of parameters for GPUdb::hasType.">HasTypeRequest</a> object with default parameters. <br /></td>
      </tr>

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

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

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

      <tr className="separator:a9303c2b54989b6149a5b0b484dee89f8">
        <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:ab40896d1c56a83256f6befc8cd3e9d81" id="r_ab40896d1c56a83256f6befc8cd3e9d81">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ab40896d1c56a83256f6befc8cd3e9d81">typeId</a></td>
      </tr>

      <tr className="memdesc:ab40896d1c56a83256f6befc8cd3e9d81">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Id of the type returned in response to <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#abaf7eca0d3c131b8fede4850d51f1a1a">GPUdb::createType</a> request. <br /></td>
      </tr>

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

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

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

      <tr className="separator:a5981b8c9832c8cfe5d63aeabc159dffc">
        <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#a70f01970c1caaccd6cf17b208a980b50">GPUdb::hasType</a>. </p>
      <p>Check for the existence of a type. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/has__type_8h_source#l00017">17</a> of file <a className="el" href="/content/api/cpp/has__type_8h_source">has\_type.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a502378ae16c3b68b450c3c15c9c41f0d">◆ </a></span>HasTypeRequest() <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::HasTypeRequest::HasTypeRequest </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_1HasTypeRequest" title="A set of parameters for GPUdb::hasType.">HasTypeRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/has__type_8h_source#l00022">22</a> of file <a className="el" href="/content/api/cpp/has__type_8h_source">has\_type.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a9303c2b54989b6149a5b0b484dee89f8">◆ </a></span>HasTypeRequest() <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::HasTypeRequest::HasTypeRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">typeId\_</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_1HasTypeRequest" title="A set of parameters for GPUdb::hasType.">HasTypeRequest</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">typeId\_</td>
                <td>Id of the type returned in response to <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#abaf7eca0d3c131b8fede4850d51f1a1a">GPUdb::createType</a> request. </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__type_8h_source#l00037">37</a> of file <a className="el" href="/content/api/cpp/has__type_8h_source">has\_type.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::HasTypeRequest::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__type_8h_source#l00053">53</a> of file <a className="el" href="/content/api/cpp/has__type_8h_source">has\_type.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ab40896d1c56a83256f6befc8cd3e9d81">◆ </a></span>typeId</h2>

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

      <div className="memdoc">
        <p>Id of the type returned in response to <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#abaf7eca0d3c131b8fede4850d51f1a1a">GPUdb::createType</a> request. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/has__type_8h_source#l00048">48</a> of file <a className="el" href="/content/api/cpp/has__type_8h_source">has\_type.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__type_8h_source">has\_type.h</a></li>
    </ul>
  </div>
</div>
