> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::ExecuteSqlResponse

> gpudb::ExecuteSqlResponse — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of results returned by <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a6b771232d18e050420781df48d656cf1">GPUdb::executeSql</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/execute__sql_8h_source">gpudb/protocol/execute\_sql.h</a>></code></p>

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

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

      <tr className="memdesc:a31017914427744a3452a963aad50efe8">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1ExecuteSqlResponse" title="A set of results returned by GPUdb::executeSql.">ExecuteSqlResponse</a> object with default parameters. <br /></td>
      </tr>

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

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

      <tr className="memitem:aeae8d686456977bcbcf46bc500c1b3a5" id="r_aeae8d686456977bcbcf46bc500c1b3a5">
        <td className="memItemLeft" align="right" valign="top">int64\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aeae8d686456977bcbcf46bc500c1b3a5">countAffected</a></td>
      </tr>

      <tr className="memdesc:aeae8d686456977bcbcf46bc500c1b3a5">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">The number of objects/records affected. <br /></td>
      </tr>

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

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

      <tr className="memdesc:a101c88538b230b84a27c4abc6e885429">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Avro schema of <a className="el" href="#a5f0830beb3d2da25e39659c44d393d3f">data</a> or <span className="em arg">jsonEncodedResponse</span>. <br /></td>
      </tr>

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

      <tr className="memitem:a5f0830beb3d2da25e39659c44d393d3f" id="r_a5f0830beb3d2da25e39659c44d393d3f">
        <td className="memItemLeft" align="right" valign="top">std::vector\< <a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a> > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a5f0830beb3d2da25e39659c44d393d3f">data</a></td>
      </tr>

      <tr className="memdesc:a5f0830beb3d2da25e39659c44d393d3f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Avro binary encoded response. <br /></td>
      </tr>

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

      <tr className="memitem:a99bfde96d8ce2b234d2650a999aea5b9" id="r_a99bfde96d8ce2b234d2650a999aea5b9">
        <td className="memItemLeft" align="right" valign="top">int64\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a99bfde96d8ce2b234d2650a999aea5b9">totalNumberOfRecords</a></td>
      </tr>

      <tr className="memdesc:a99bfde96d8ce2b234d2650a999aea5b9">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Total/Filtered number of records. <br /></td>
      </tr>

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

      <tr className="memitem:ad6879e86c6d33a6e6f16178ad3c75477" id="r_ad6879e86c6d33a6e6f16178ad3c75477">
        <td className="memItemLeft" align="right" valign="top">bool </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ad6879e86c6d33a6e6f16178ad3c75477">hasMoreRecords</a></td>
      </tr>

      <tr className="memdesc:ad6879e86c6d33a6e6f16178ad3c75477">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Too many records. <br /></td>
      </tr>

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

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

      <tr className="memdesc:a5556e6f48f643f7cbb2b3949b35d5eb8">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the table that has the result records of the query. <br /></td>
      </tr>

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

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

      <tr className="memdesc:a6d563927267e35001cb9ef8d145f4e35">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Additional information. <br /></td>
      </tr>

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

      <tr className="memitem:ac21c91bd2d9790a32ef75ac724d2df0e" id="r_ac21c91bd2d9790a32ef75ac724d2df0e">
        <td className="memItemLeft" align="right" valign="top"><a className="el" href="/content/api/cpp/namespacegpudb#ae9b078864a6fb22f785a332781018920">gpudb\_type\_ptr\_t</a> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ac21c91bd2d9790a32ef75ac724d2df0e">dataTypePtr</a></td>
      </tr>

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

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

    <div className="textblock">
      <p>A set of results returned by <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a6b771232d18e050420781df48d656cf1">GPUdb::executeSql</a>. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01429">1429</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
    </div>

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

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

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

                  <td>)</td>

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

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

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1ExecuteSqlResponse" title="A set of results returned by GPUdb::executeSql.">ExecuteSqlResponse</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01434">1434</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">int64\_t gpudb::ExecuteSqlResponse::countAffected</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>The number of objects/records affected. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01449">1449</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a5f0830beb3d2da25e39659c44d393d3f">◆ </a></span>data</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\<<a className="el" href="/content/api/cpp/classgpudb_1_1GenericRecord">gpudb::GenericRecord</a>> gpudb::ExecuteSqlResponse::data</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Avro binary encoded response. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01459">1459</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ac21c91bd2d9790a32ef75ac724d2df0e">◆ </a></span>dataTypePtr</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname"><a className="el" href="/content/api/cpp/namespacegpudb#ae9b078864a6fb22f785a332781018920">gpudb\_type\_ptr\_t</a> gpudb::ExecuteSqlResponse::dataTypePtr</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01500">1500</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ad6879e86c6d33a6e6f16178ad3c75477">◆ </a></span>hasMoreRecords</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">bool gpudb::ExecuteSqlResponse::hasMoreRecords</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Too many records. </p>
        <p>Returned a partial set. Supported values: </p>

        <ul>
          <li> true </li>
          <li> false </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01474">1474</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a6d563927267e35001cb9ef8d145f4e35">◆ </a></span>info</h2>

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

      <div className="memdoc">
        <p>Additional information. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9ea72c018bf10957e9cb011a0f1fb156">execute\_sql\_count</a>: Number of records without final limits applied. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a25ba4b49d3155936653a0dd22d27ff18">execute\_sql\_result\_table\_list</a>: List of tables, comma-separated, in addition to the <a className="el" href="#a5556e6f48f643f7cbb2b3949b35d5eb8">pagingTable</a>, created as result of the query. These should be cleared by the caller when they are done querying. </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01498">1498</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a5556e6f48f643f7cbb2b3949b35d5eb8">◆ </a></span>pagingTable</h2>

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

      <div className="memdoc">
        <p>Name of the table that has the result records of the query. </p>
        <p>Valid, when <a className="el" href="#ad6879e86c6d33a6e6f16178ad3c75477">hasMoreRecords</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ad0528036a98d995c38e3c55b0cd52d08">true</a>. The caller should clear this and all tables in <a className="el" href="/content/api/cpp/namespacegpudb#a25ba4b49d3155936653a0dd22d27ff18">result\_table\_list</a> when they are done querying. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01483">1483</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a101c88538b230b84a27c4abc6e885429">◆ </a></span>responseSchemaStr</h2>

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

      <div className="memdoc">
        <p>Avro schema of <a className="el" href="#a5f0830beb3d2da25e39659c44d393d3f">data</a> or <span className="em arg">jsonEncodedResponse</span>. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01454">1454</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a99bfde96d8ce2b234d2650a999aea5b9">◆ </a></span>totalNumberOfRecords</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">int64\_t gpudb::ExecuteSqlResponse::totalNumberOfRecords</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Total/Filtered number of records. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/execute__sql_8h_source#l01464">1464</a> of file <a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a>.</p>
      </div>
    </div>

    <hr />

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

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/execute__sql_8h_source">execute\_sql.h</a></li>
    </ul>
  </div>
</div>
