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

> gpudb::RecordKeyBuilder — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p><code>#include \<<a className="el" href="/content/api/cpp/GPUdbMultiHeadIOUtils_8h_source">gpudb/utils/GPUdbMultiHeadIOUtils.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:aa30843ec12bc2701e019d9806f3f43a9" id="r_aa30843ec12bc2701e019d9806f3f43a9">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aa30843ec12bc2701e019d9806f3f43a9">RecordKeyBuilder</a> (bool is\_primary\_key, const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">gpudb::Type</a> \&record\_type)</td>
      </tr>

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

      <tr className="memitem:a9ef4f013b9ba1e43e1c2e55bd92cad9b" id="r_a9ef4f013b9ba1e43e1c2e55bd92cad9b">
        <td className="memItemLeft" align="right" valign="top">bool </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a9ef4f013b9ba1e43e1c2e55bd92cad9b">build</a> (const <a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a> \&record, <a className="el" href="/content/api/cpp/classgpudb_1_1RecordKey">RecordKey</a> \&record\_key) const</td>
      </tr>

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

      <tr className="memitem:a2051841af92acf8f6c5430fd38be8f80" id="r_a2051841af92acf8f6c5430fd38be8f80">
        <td className="memItemLeft" align="right" valign="top">bool </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a2051841af92acf8f6c5430fd38be8f80">buildExpression</a> (const <a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a> \&record, std::string \&result) const</td>
      </tr>

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

      <tr className="memitem:afae0fb29e58d6fb9f705b66ebea4ebda" id="r_afae0fb29e58d6fb9f705b66ebea4ebda">
        <td className="memItemLeft" align="right" valign="top">bool </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#afae0fb29e58d6fb9f705b66ebea4ebda">has\_key</a> () const</td>
      </tr>

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

      <tr className="memitem:a898a593fc50f2562a0f308796a868483" id="r_a898a593fc50f2562a0f308796a868483">
        <td className="memItemLeft" align="right" valign="top">bool </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a898a593fc50f2562a0f308796a868483">operator==</a> (const <a className="el" href="/content/api/cpp/classgpudb_1_1RecordKeyBuilder">RecordKeyBuilder</a> \&rhs) const</td>
      </tr>

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

      <tr className="memitem:aabe1409305ec82b70887e4c861a22a7c" id="r_aabe1409305ec82b70887e4c861a22a7c">
        <td className="memItemLeft" align="right" valign="top">bool </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aabe1409305ec82b70887e4c861a22a7c">operator!=</a> (const <a className="el" href="/content/api/cpp/classgpudb_1_1RecordKeyBuilder">RecordKeyBuilder</a> \&rhs) const</td>
      </tr>

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

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

    <div className="textblock">
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/GPUdbMultiHeadIOUtils_8h_source#l00254">254</a> of file <a className="el" href="/content/api/cpp/GPUdbMultiHeadIOUtils_8h_source">GPUdbMultiHeadIOUtils.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#aa30843ec12bc2701e019d9806f3f43a9">◆ </a></span>RecordKeyBuilder()</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">gpudb::RecordKeyBuilder::RecordKeyBuilder </td>
            <td>(</td>
            <td className="paramtype">bool</td>
            <td className="paramname"><span className="paramname"><span className="em">is\_primary\_key</span></span>, </td>
          </tr>

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

            <td />

            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">gpudb::Type</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">record\_type</span></span> )</td>
          </tr>
        </table>
      </div>

      <div className="memdoc" />
    </div>

    <h2 className="groupheader">Member Function Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a9ef4f013b9ba1e43e1c2e55bd92cad9b">◆ </a></span>build()</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">bool gpudb::RecordKeyBuilder::build </td>
            <td>(</td>
            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">record</span></span>, </td>
          </tr>

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

            <td />

            <td className="paramtype"><a className="el" href="/content/api/cpp/classgpudb_1_1RecordKey">RecordKey</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">record\_key</span></span> ) const</td>
          </tr>
        </table>
      </div>

      <div className="memdoc" />
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a2051841af92acf8f6c5430fd38be8f80">◆ </a></span>buildExpression()</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">bool gpudb::RecordKeyBuilder::buildExpression </td>
            <td>(</td>
            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">record</span></span>, </td>
          </tr>

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

            <td />

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

      <div className="memdoc" />
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#afae0fb29e58d6fb9f705b66ebea4ebda">◆ </a></span>has\_key()</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">bool gpudb::RecordKeyBuilder::has\_key </td>
                  <td>(</td>

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

                  <td>)</td>
                  <td> const</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 className="definition">Definition at line <a className="el" href="/content/api/cpp/GPUdbMultiHeadIOUtils_8h_source#l00318">318</a> of file <a className="el" href="/content/api/cpp/GPUdbMultiHeadIOUtils_8h_source">GPUdbMultiHeadIOUtils.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#aabe1409305ec82b70887e4c861a22a7c">◆ </a></span>operator!=()</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">bool gpudb::RecordKeyBuilder::operator!= </td>
                  <td>(</td>
                  <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1RecordKeyBuilder">RecordKeyBuilder</a> &</td>
                  <td className="paramname"><span className="paramname"><span className="em">rhs</span></span></td>
                  <td>)</td>
                  <td> const</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 className="definition">Definition at line <a className="el" href="/content/api/cpp/GPUdbMultiHeadIOUtils_8h_source#l00323">323</a> of file <a className="el" href="/content/api/cpp/GPUdbMultiHeadIOUtils_8h_source">GPUdbMultiHeadIOUtils.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a898a593fc50f2562a0f308796a868483">◆ </a></span>operator==()</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">bool gpudb::RecordKeyBuilder::operator== </td>
            <td>(</td>
            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1RecordKeyBuilder">RecordKeyBuilder</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">rhs</span></span></td>
            <td>)</td>
            <td> const</td>
          </tr>
        </table>
      </div>

      <div className="memdoc" />
    </div>

    <hr />

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

    <ul>
      <li>gpudb/utils/<a className="el" href="/content/api/cpp/GPUdbMultiHeadIOUtils_8h_source">GPUdbMultiHeadIOUtils.h</a></li>
    </ul>
  </div>
</div>
