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

# getRecordsFromCollection

<div className="kinetica-doxygen">
  <div id="a1ba5c0e420cec6f8947cd6dcd2fd815f" />

  <h2 className="memtitle"><span className="permalink"><a href="#a1ba5c0e420cec6f8947cd6dcd2fd815f">◆ </a></span>getRecordsFromCollection() <span className="overload">\[1/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const ::avro::ValidSchema &</td>
                <td className="paramname"><span className="paramname"><span className="em">schema\_</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</a> &</td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span> ) 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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">schema\_</td>
              <td>Avro schema object used for decoding returned objects. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34654</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="aacfa6bf43de67a468d40a0c6aa8b0f9e" />

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

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > & gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const ::avro::ValidSchema &</td>
                <td className="paramname"><span className="paramname"><span className="em">schema\_</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > &</td>
                <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) 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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">schema\_</td>
              <td>Avro schema object used for decoding returned objects. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34742</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="ab6e252847329faf291bc90d214718650" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab6e252847329faf291bc90d214718650">◆ </a></span>getRecordsFromCollection() <span className="overload">\[3/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const ::avro::ValidSchema &</td>
                <td className="paramname"><span className="paramname"><span className="em">schema\_</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">tableName</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">limit</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>
          </td>

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

    <div className="memdoc">
      <p>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">schema\_</td>
              <td>Avro schema object used for decoding returned objects. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34873</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="a3297c7c58cca0a4e2b8cc76b1ffa18ad" />

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

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > & gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const ::avro::ValidSchema &</td>
                <td className="paramname"><span className="paramname"><span className="em">schema\_</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">tableName</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">limit</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > &</td>
                <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) 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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">schema\_</td>
              <td>Avro schema object used for decoding returned objects. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">35057</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="ae32bea3bdbfef60b21d2fb7506439ca5" />

  <h2 className="memtitle"><span className="permalink"><a href="#ae32bea3bdbfef60b21d2fb7506439ca5">◆ </a></span>getRecordsFromCollection() <span className="overload">\[5/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</a> &</td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a737a76b0c9fdd8d091dc6d02e9fcac78">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

      <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_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34390</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="aaa7b31e43eaf534a9a0965f5984d43ff" />

  <h2 className="memtitle"><span className="permalink"><a href="#aaa7b31e43eaf534a9a0965f5984d43ff">◆ </a></span>getRecordsFromCollection() <span className="overload">\[6/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<> </div>

      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > gpudb::GPUdb::getRecordsFromCollection </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a737a76b0c9fdd8d091dc6d02e9fcac78">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</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_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="aaa7b31e43eaf534a9a0965f5984d43ff" />

  <h2 className="memtitle"><span className="permalink"><a href="#aaa7b31e43eaf534a9a0965f5984d43ff">◆ </a></span>getRecordsFromCollection() <span className="overload">\[7/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<> </div>

      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > gpudb::GPUdb::getRecordsFromCollection </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a737a76b0c9fdd8d091dc6d02e9fcac78">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</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_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a7425d039e0e34fca7b910bcd958a30e5" />

  <h2 className="memtitle"><span className="permalink"><a href="#a7425d039e0e34fca7b910bcd958a30e5">◆ </a></span>getRecordsFromCollection() <span className="overload">\[8/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<> </div>

      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > & gpudb::GPUdb::getRecordsFromCollection </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a737a76b0c9fdd8d091dc6d02e9fcac78">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</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_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a7425d039e0e34fca7b910bcd958a30e5" />

  <h2 className="memtitle"><span className="permalink"><a href="#a7425d039e0e34fca7b910bcd958a30e5">◆ </a></span>getRecordsFromCollection() <span className="overload">\[9/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<> </div>

      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > & gpudb::GPUdb::getRecordsFromCollection </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a737a76b0c9fdd8d091dc6d02e9fcac78">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</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_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a15bca10aa1488dac3494f994c2ca5753" />

  <h2 className="memtitle"><span className="permalink"><a href="#a15bca10aa1488dac3494f994c2ca5753">◆ </a></span>getRecordsFromCollection() <span className="overload">\[10/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > & gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > &</td>
                <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) 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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a737a76b0c9fdd8d091dc6d02e9fcac78">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

      <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_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34433</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="ad07e8ca5da326049590fc62762c630a1" />

  <h2 className="memtitle"><span className="permalink"><a href="#ad07e8ca5da326049590fc62762c630a1">◆ </a></span>getRecordsFromCollection() <span className="overload">\[11/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const std::string &</td>
                <td className="paramname"><span className="paramname"><span className="em">tableName</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">limit</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>
          </td>

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

    <div className="memdoc">
      <p>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34516</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="a2981090225cf80548a10e8d35ed3d8a4" />

  <h2 className="memtitle"><span className="permalink"><a href="#a2981090225cf80548a10e8d35ed3d8a4">◆ </a></span>getRecordsFromCollection() <span className="overload">\[12/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<> </div>

      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > gpudb::GPUdb::getRecordsFromCollection </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">tableName</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">limit</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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</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">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a2981090225cf80548a10e8d35ed3d8a4" />

  <h2 className="memtitle"><span className="permalink"><a href="#a2981090225cf80548a10e8d35ed3d8a4">◆ </a></span>getRecordsFromCollection() <span className="overload">\[13/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<> </div>

      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > gpudb::GPUdb::getRecordsFromCollection </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">tableName</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">limit</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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</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">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a551401d018ca79303a27b3b504d2288a" />

  <h2 className="memtitle"><span className="permalink"><a href="#a551401d018ca79303a27b3b504d2288a">◆ </a></span>getRecordsFromCollection() <span className="overload">\[14/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<> </div>

      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > & gpudb::GPUdb::getRecordsFromCollection </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">tableName</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">limit</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</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">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a551401d018ca79303a27b3b504d2288a" />

  <h2 className="memtitle"><span className="permalink"><a href="#a551401d018ca79303a27b3b504d2288a">◆ </a></span>getRecordsFromCollection() <span className="overload">\[15/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<> </div>

      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > & gpudb::GPUdb::getRecordsFromCollection </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">tableName</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const int64\_t</td>
          <td className="paramname"><span className="paramname"><span className="em">limit</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< boost::any > &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</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">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="ac438b7fefc4616a82a996f7597be53cd" />

  <h2 className="memtitle"><span className="permalink"><a href="#ac438b7fefc4616a82a996f7597be53cd">◆ </a></span>getRecordsFromCollection() <span className="overload">\[16/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > & gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const std::string &</td>
                <td className="paramname"><span className="paramname"><span className="em">tableName</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">limit</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > &</td>
                <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) 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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34608</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="a36d0a8b40fe139b5889367a6cd4fb52e" />

  <h2 className="memtitle"><span className="permalink"><a href="#a36d0a8b40fe139b5889367a6cd4fb52e">◆ </a></span>getRecordsFromCollection() <span className="overload">\[17/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> &</td>
                <td className="paramname"><span className="paramname"><span className="em">type\_</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</a> &</td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span> ) 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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">type\_</td>
              <td><a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> object used for decoding returned objects. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34696</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="aca16e6eb9cd2c12afdd910b778cc8b25" />

  <h2 className="memtitle"><span className="permalink"><a href="#aca16e6eb9cd2c12afdd910b778cc8b25">◆ </a></span>getRecordsFromCollection() <span className="overload">\[18/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > & gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> &</td>
                <td className="paramname"><span className="paramname"><span className="em">type\_</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">GetRecordsFromCollectionRequest</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > &</td>
                <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) 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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#a80af610012202241c80bcc0a23466f76">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest#af08501c9b67fbbee5a8195313d7e7120">limit</a> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">type\_</td>
              <td><a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> object used for decoding returned objects. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionRequest">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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34788</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="a1459d3d7015e72a3d8b783a7984e737b" />

  <h2 className="memtitle"><span className="permalink"><a href="#a1459d3d7015e72a3d8b783a7984e737b">◆ </a></span>getRecordsFromCollection() <span className="overload">\[19/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> &</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">tableName</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">limit</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>
          </td>

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

    <div className="memdoc">
      <p>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">type\_</td>
              <td><a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> object used for decoding returned objects. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">34963</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>

  <div id="abd901e4bd4f9e2f1a4e54503b8fd44b2" />

  <h2 className="memtitle"><span className="permalink"><a href="#abd901e4bd4f9e2f1a4e54503b8fd44b2">◆ </a></span>getRecordsFromCollection() <span className="overload">\[20/20]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <div className="memtemplate"> template\<typename TResponse> </div>

      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > & gpudb::GPUdb::getRecordsFromCollection </td>
                <td>(</td>
                <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> &</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">tableName</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">offset</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">const int64\_t</td>
                <td className="paramname"><span className="paramname"><span className="em">limit</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_1GetRecordsFromCollectionResponse">GetRecordsFromCollectionResponse</a>\< TResponse > &</td>
                <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) 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>Retrieves records from a collection. </p>
      <p>The operation can optionally return the record IDs which can be used in certain queries such as <a className="el" href="#a8f916f1513778ef51cfb294659f452ae">deleteRecords</a>.</p>
      <p>This operation supports paging through the data via the <span className="em arg">offset</span> and <span className="em arg">limit</span> parameters.</p>
      <p>Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>

      <div className="dl tparams">
        <div className="dt">Template Parameters</div>

        <div className="dd">
          <table className="tparams">
            <tr>
              <td className="paramname">TResponse</td>
              <td>The type of object being retrieved.</td>
            </tr>
          </table>
        </div>
      </div>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">type\_</td>
              <td><a className="el" href="/content/api/cpp/classgpudb_1_1Type">Type</a> object used for decoding returned objects. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">tableName</td>
              <td>Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. Must be an existing collection or table. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">offset</td>
              <td>A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX\_INT. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">limit</td>
              <td>A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the <a href="/content/config/#config-main-general" target="_top">max\_get\_records\_size</a> parameter in the server configuration. Use <span className="em arg">offset</span> and <span className="em arg">limit</span> to request subsequent pages of results. The default value is -9999. </td>
            </tr>

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

              <td>
                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6da5094c030db5012a21b0b4a8aca2b">get\_records\_from\_collection\_return\_record\_ids</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">true</a> then return the internal record ID along with each returned record. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a335c36c8beee7ace6f681927cce8e277">get\_records\_from\_collection\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6f96653f15171fb8f903b09c84db00e8">get\_records\_from\_collection\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a606a950809142651cd4f726d43c5ee4d">get\_records\_from\_collection\_expression</a>: Filter expression to apply to the table. The default value is ''. </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_1GetRecordsFromCollectionResponse">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_1GetRecordsFromCollectionResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">35151</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/GPUdb.hpp">GPUdb.hpp</a>.</p>
    </div>
  </div>
</div>
