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

> gpudb::GPUdbIngestor — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p><code>#include \<<a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source">gpudb/GPUdbIngestor.hpp</a>></code></p>
    <p>Inherits boost::noncopyable.</p>

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

      <tr className="memitem:a6f2f834a617b47a523183524aa496266" id="r_a6f2f834a617b47a523183524aa496266">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a6f2f834a617b47a523183524aa496266">GPUdbIngestor</a> (const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> \&db, const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">gpudb::Type</a> \&record\_type, const std::string \&table\_name, const <a className="el" href="/content/api/cpp/classgpudb_1_1WorkerList">WorkerList</a> \&worker\_list, const std::map\< std::string, std::string > \&insert\_options, size\_t batch\_size)</td>
      </tr>

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

      <tr className="memitem:a6447879fc0a551d71ac880a2ba13fd6f" id="r_a6447879fc0a551d71ac880a2ba13fd6f">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a6447879fc0a551d71ac880a2ba13fd6f">GPUdbIngestor</a> (const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> \&db, const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">gpudb::Type</a> \&record\_type, const std::string \&table\_name, const <a className="el" href="/content/api/cpp/classgpudb_1_1WorkerList">WorkerList</a> \&worker\_list, size\_t batch\_size)</td>
      </tr>

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

      <tr className="memitem:a5ffb11576aa3c50d505ccd11e094d55f" id="r_a5ffb11576aa3c50d505ccd11e094d55f">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a5ffb11576aa3c50d505ccd11e094d55f">GPUdbIngestor</a> (const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> \&db, const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">gpudb::Type</a> \&record\_type, const std::string \&table\_name, const std::map\< std::string, std::string > \&insert\_options, size\_t batch\_size)</td>
      </tr>

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

      <tr className="memitem:aa288afe85fe2b49a3848c3581d869a33" id="r_aa288afe85fe2b49a3848c3581d869a33">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aa288afe85fe2b49a3848c3581d869a33">GPUdbIngestor</a> (const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> \&db, const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">gpudb::Type</a> \&record\_type, const std::string \&table\_name, size\_t batch\_size)</td>
      </tr>

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

      <tr className="memitem:afe6f44767a46cf7a4f29bfbd91020920" id="r_afe6f44767a46cf7a4f29bfbd91020920">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#afe6f44767a46cf7a4f29bfbd91020920">\~GPUdbIngestor</a> ()</td>
      </tr>

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

      <tr className="memitem:afa4c701fcea30064daf742ae18f8c60b" id="r_afa4c701fcea30064daf742ae18f8c60b">
        <td className="memItemLeft" align="right" valign="top">const std::string & </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#afa4c701fcea30064daf742ae18f8c60b">getTableName</a> () const</td>
      </tr>

      <tr className="memdesc:afa4c701fcea30064daf742ae18f8c60b">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Returns the name of the table on which this class operates. <br /></td>
      </tr>

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

      <tr className="memitem:a3a91ea8cc2865f8d7530b0eec2f75bdd" id="r_a3a91ea8cc2865f8d7530b0eec2f75bdd">
        <td className="memItemLeft" align="right" valign="top">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> & </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a3a91ea8cc2865f8d7530b0eec2f75bdd">getGPUdb</a> () const</td>
      </tr>

      <tr className="memdesc:a3a91ea8cc2865f8d7530b0eec2f75bdd">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Returns the <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> client handle that this class uses internally. <br /></td>
      </tr>

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

      <tr className="memitem:a1b25d43c9433a653fd418d46ce9851d5" id="r_a1b25d43c9433a653fd418d46ce9851d5">
        <td className="memItemLeft" align="right" valign="top">const std::map\< std::string, std::string > & </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a1b25d43c9433a653fd418d46ce9851d5">getOptions</a> () const</td>
      </tr>

      <tr className="memdesc:a1b25d43c9433a653fd418d46ce9851d5">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Returns the insertion options the ingestor uses. <br /></td>
      </tr>

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

      <tr className="memitem:a370a08d4a8f39869367c7cebbc0f075b" id="r_a370a08d4a8f39869367c7cebbc0f075b">
        <td className="memItemLeft" align="right" valign="top">size\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a370a08d4a8f39869367c7cebbc0f075b">getCountInserted</a> () const</td>
      </tr>

      <tr className="memdesc:a370a08d4a8f39869367c7cebbc0f075b">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Returns the count of records inserted so far through this ingestor instance; An atomic operation. <br /></td>
      </tr>

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

      <tr className="memitem:a91fcc89d4ae20c3da2c0ee0f26a1042f" id="r_a91fcc89d4ae20c3da2c0ee0f26a1042f">
        <td className="memItemLeft" align="right" valign="top">size\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a91fcc89d4ae20c3da2c0ee0f26a1042f">getCountUpdated</a> () const</td>
      </tr>

      <tr className="memdesc:a91fcc89d4ae20c3da2c0ee0f26a1042f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Returns the count of records updated so far through this ingestor instance; An atomic operation. <br /></td>
      </tr>

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

      <tr className="memitem:a26ec47ad5a83dbd4e885a4c670122fba" id="r_a26ec47ad5a83dbd4e885a4c670122fba">
        <td className="memItemLeft" align="right" valign="top">std::vector\< <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdbInsertionException">GPUdbInsertionException</a> > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a26ec47ad5a83dbd4e885a4c670122fba">getErrors</a> ()</td>
      </tr>

      <tr className="memdesc:a26ec47ad5a83dbd4e885a4c670122fba">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Returns the list of errors received since the last call to <a className="el" href="#a26ec47ad5a83dbd4e885a4c670122fba" title="Returns the list of errors received since the last call to getErrors(), and clears the list.">getErrors()</a>, and clears the list. <br /></td>
      </tr>

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

      <tr className="memitem:aecff11bac1f1a19f5ee3e35a19220ce9" id="r_aecff11bac1f1a19f5ee3e35a19220ce9">
        <td className="memItemLeft" align="right" valign="top">std::vector\< <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdbInsertionException">GPUdbInsertionException</a> > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aecff11bac1f1a19f5ee3e35a19220ce9">getWarnings</a> ()</td>
      </tr>

      <tr className="memdesc:aecff11bac1f1a19f5ee3e35a19220ce9">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Returns the list of warnings received since the last call to <a className="el" href="#aecff11bac1f1a19f5ee3e35a19220ce9" title="Returns the list of warnings received since the last call to getWarnings(), and clears the list.">getWarnings()</a>, and clears the list. <br /></td>
      </tr>

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

      <tr className="memitem:ad1f6cebaf77d3673a1fe75e2bf9cac00" id="r_ad1f6cebaf77d3673a1fe75e2bf9cac00">
        <td className="memItemLeft" align="right" valign="top">void </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ad1f6cebaf77d3673a1fe75e2bf9cac00">flush</a> ()</td>
      </tr>

      <tr className="memdesc:ad1f6cebaf77d3673a1fe75e2bf9cac00">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Ensures that all queued records are inserted into the database. <br /></td>
      </tr>

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

      <tr className="memitem:a4d74afe2ab47ae2b18a27a2d58d8f611" id="r_a4d74afe2ab47ae2b18a27a2d58d8f611">
        <td className="memItemLeft" align="right" valign="top">void </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a4d74afe2ab47ae2b18a27a2d58d8f611">insert</a> (<a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a> record)</td>
      </tr>

      <tr className="memdesc:a4d74afe2ab47ae2b18a27a2d58d8f611">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Queues a record for insertion into <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a>. <br /></td>
      </tr>

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

      <tr className="memitem:a4c3e0625dfa8e8cb47a1e1b2001b4358" id="r_a4c3e0625dfa8e8cb47a1e1b2001b4358">
        <td className="memItemLeft" align="right" valign="top">void </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a4c3e0625dfa8e8cb47a1e1b2001b4358">insert</a> (std::vector\< <a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a> > records)</td>
      </tr>

      <tr className="memdesc:a4c3e0625dfa8e8cb47a1e1b2001b4358">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Queues a list of records for insertion into Kientica. <br /></td>
      </tr>

      <tr className="separator:a4c3e0625dfa8e8cb47a1e1b2001b4358">
        <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/GPUdbIngestor_8hpp_source#l00033">33</a> of file <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source">GPUdbIngestor.hpp</a>.</p>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">gpudb::GPUdbIngestor::GPUdbIngestor </td>
            <td>(</td>
            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">db</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>

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

            <td />

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

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

            <td />

            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1WorkerList">WorkerList</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">worker\_list</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">insert\_options</span></span>, </td>
          </tr>

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

            <td />

            <td className="paramtype">size\_t</td>
            <td className="paramname"><span className="paramname"><span className="em">batch\_size</span></span> )</td>
          </tr>
        </table>
      </div>

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

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">gpudb::GPUdbIngestor::GPUdbIngestor </td>
            <td>(</td>
            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">db</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>

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

            <td />

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

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

            <td />

            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1WorkerList">WorkerList</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">worker\_list</span></span>, </td>
          </tr>

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

            <td />

            <td className="paramtype">size\_t</td>
            <td className="paramname"><span className="paramname"><span className="em">batch\_size</span></span> )</td>
          </tr>
        </table>
      </div>

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

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">gpudb::GPUdbIngestor::GPUdbIngestor </td>
            <td>(</td>
            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">db</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>

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

            <td />

            <td className="paramtype">const std::string &</td>
            <td className="paramname"><span className="paramname"><span className="em">table\_name</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">insert\_options</span></span>, </td>
          </tr>

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

            <td />

            <td className="paramtype">size\_t</td>
            <td className="paramname"><span className="paramname"><span className="em">batch\_size</span></span> )</td>
          </tr>
        </table>
      </div>

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

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">gpudb::GPUdbIngestor::GPUdbIngestor </td>
            <td>(</td>
            <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> &</td>
            <td className="paramname"><span className="paramname"><span className="em">db</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>

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

            <td />

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

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

            <td />

            <td className="paramtype">size\_t</td>
            <td className="paramname"><span className="paramname"><span className="em">batch\_size</span></span> )</td>
          </tr>
        </table>
      </div>

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

    <h2 className="memtitle"><span className="permalink"><a href="#afe6f44767a46cf7a4f29bfbd91020920">◆ </a></span>\~GPUdbIngestor()</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">gpudb::GPUdbIngestor::\~GPUdbIngestor </td>
            <td>(</td>

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

            <td>)</td>

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

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

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">void gpudb::GPUdbIngestor::flush </td>
            <td>(</td>

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

            <td>)</td>

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

      <div className="memdoc">
        <p>Ensures that all queued records are inserted into the database. </p>
        <p>If an error occurs while inserting the records from any queue, the recoreds will no longer be in that queue nor in the database; catch GPUdbInsertException\<T> to get the list of records that were being inserted if needed (for example, to retry). Other queues may also still contain unflushed records if this occurs. </p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">size\_t gpudb::GPUdbIngestor::getCountInserted </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>Returns the count of records inserted so far through this ingestor instance; An atomic operation. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source#l00079">79</a> of file <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source">GPUdbIngestor.hpp</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">size\_t gpudb::GPUdbIngestor::getCountUpdated </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>Returns the count of records updated so far through this ingestor instance; An atomic operation. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source#l00085">85</a> of file <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source">GPUdbIngestor.hpp</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\< <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdbInsertionException">GPUdbInsertionException</a> > gpudb::GPUdbIngestor::getErrors </td>
            <td>(</td>

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

            <td>)</td>

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

      <div className="memdoc">
        <p>Returns the list of errors received since the last call to <a className="el" href="#a26ec47ad5a83dbd4e885a4c670122fba" title="Returns the list of errors received since the last call to getErrors(), and clears the list.">getErrors()</a>, and clears the list. </p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">gpudb::GPUdb</a> & gpudb::GPUdbIngestor::getGPUdb </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>Returns the <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> client handle that this class uses internally. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source#l00068">68</a> of file <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source">GPUdbIngestor.hpp</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const std::map\< std::string, std::string > & gpudb::GPUdbIngestor::getOptions </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>Returns the insertion options the ingestor uses. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source#l00073">73</a> of file <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source">GPUdbIngestor.hpp</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const std::string & gpudb::GPUdbIngestor::getTableName </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>Returns the name of the table on which this class operates. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source#l00063">63</a> of file <a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source">GPUdbIngestor.hpp</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\< <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdbInsertionException">GPUdbInsertionException</a> > gpudb::GPUdbIngestor::getWarnings </td>
            <td>(</td>

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

            <td>)</td>

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

      <div className="memdoc">
        <p>Returns the list of warnings received since the last call to <a className="el" href="#aecff11bac1f1a19f5ee3e35a19220ce9" title="Returns the list of warnings received since the last call to getWarnings(), and clears the list.">getWarnings()</a>, and clears the list. </p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">void gpudb::GPUdbIngestor::insert </td>
            <td>(</td>
            <td className="paramtype"><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>
            <td>)</td>

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

      <div className="memdoc">
        <p>Queues a record for insertion into <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a>. </p>
        <p>If the queue reaches the configured batch size, all records in the queue will be inserted into Kinetica before the method returns. If an error occurs while inserting the records, the records will no longer be in the queue nor in Kinetica; catch InsertException\<T> to get the list of records that were being inserted if needed (for example, to retry).</p>

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

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramname">record</td>
                <td>The record to insert.</td>
              </tr>
            </table>
          </div>
        </div>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">void gpudb::GPUdbIngestor::insert </td>
            <td>(</td>
            <td className="paramtype">std::vector\< <a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a> ></td>
            <td className="paramname"><span className="paramname"><span className="em">records</span></span></td>
            <td>)</td>

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

      <div className="memdoc">
        <p>Queues a list of records for insertion into Kientica. </p>
        <p>If any queue reaches the configured batch size, all records in the queue will be inserted into Kinetica before the method returns. If an error occurs while inserting the records, the records will no longer be in the queue nor in Kinetica; catch InsertException\<T> to get the list of records that were being inserted if needed (for example, to retry).</p>

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

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramname">records</td>
                <td>The records to insert.</td>
              </tr>
            </table>
          </div>
        </div>
      </div>
    </div>

    <hr />

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

    <ul>
      <li>gpudb/<a className="el" href="/content/api/cpp/GPUdbIngestor_8hpp_source">GPUdbIngestor.hpp</a></li>
    </ul>
  </div>
</div>
