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

> gpudb::ClearStatisticsRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a4f92562790e4fa6169b14fe3a356d495">GPUdb::clearStatistics</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/clear__statistics_8h_source">gpudb/protocol/clear\_statistics.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:acd0ca3e06bb2a089a90020a21b6469e2" id="r_acd0ca3e06bb2a089a90020a21b6469e2">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#acd0ca3e06bb2a089a90020a21b6469e2">ClearStatisticsRequest</a> ()</td>
      </tr>

      <tr className="memdesc:acd0ca3e06bb2a089a90020a21b6469e2">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1ClearStatisticsRequest" title="A set of parameters for GPUdb::clearStatistics.">ClearStatisticsRequest</a> object with default parameters. <br /></td>
      </tr>

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

      <tr className="memitem:a25bffb6e347d6672d30d6b8de271b19d" id="r_a25bffb6e347d6672d30d6b8de271b19d">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a25bffb6e347d6672d30d6b8de271b19d">ClearStatisticsRequest</a> (const std::string \&tableName\_, const std::string \&columnName\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

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

      <tr className="separator:a25bffb6e347d6672d30d6b8de271b19d">
        <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:a3ad25159d0e51a2f38a20069b11ec75d" id="r_a3ad25159d0e51a2f38a20069b11ec75d">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a3ad25159d0e51a2f38a20069b11ec75d">tableName</a></td>
      </tr>

      <tr className="memdesc:a3ad25159d0e51a2f38a20069b11ec75d">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of a table, in \[ schema\_name. ]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. <br /></td>
      </tr>

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

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

      <tr className="memdesc:a5d170bd46a6b6fdb55e1caa1ce8c7a06">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the column in <a className="el" href="#a3ad25159d0e51a2f38a20069b11ec75d">tableName</a> for which to clear statistics. <br /></td>
      </tr>

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

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

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

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

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

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a4f92562790e4fa6169b14fe3a356d495">GPUdb::clearStatistics</a>. </p>
      <p>Clears statistics (cardinality, mean value, etc.) for a column in a specified table. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/clear__statistics_8h_source#l00019">19</a> of file <a className="el" href="/content/api/cpp/clear__statistics_8h_source">clear\_statistics.h</a>.</p>
    </div>

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

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

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

                  <td>)</td>

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

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

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1ClearStatisticsRequest" title="A set of parameters for GPUdb::clearStatistics.">ClearStatisticsRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/clear__statistics_8h_source#l00024">24</a> of file <a className="el" href="/content/api/cpp/clear__statistics_8h_source">clear\_statistics.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::ClearStatisticsRequest::ClearStatisticsRequest </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 std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">columnName\_</span></span>, </td>
                </tr>

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

                  <td />

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

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

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1ClearStatisticsRequest" title="A set of parameters for GPUdb::clearStatistics.">ClearStatisticsRequest</a> object with the specified parameters. </p>

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

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">tableName\_</td>
                <td>Name of a table, 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 table. The default value is ''. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">columnName\_</td>
                <td>Name of the column in <span className="em arg">tableName\_</span> for which to clear statistics. The column must be from an existing table. An empty string clears statistics for all columns in the table. The default value is ''. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>
                <td>Optional parameters. The default value is an empty map. </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/clear__statistics_8h_source#l00049">49</a> of file <a className="el" href="/content/api/cpp/clear__statistics_8h_source">clear\_statistics.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Name of the column in <a className="el" href="#a3ad25159d0e51a2f38a20069b11ec75d">tableName</a> for which to clear statistics. </p>
        <p>The column must be from an existing table. An empty string clears statistics for all columns in the table. The default value is ''. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/clear__statistics_8h_source#l00069">69</a> of file <a className="el" href="/content/api/cpp/clear__statistics_8h_source">clear\_statistics.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a461375f331b18f494cf523d0bd412c5c">◆ </a></span>options</h2>

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

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/clear__statistics_8h_source#l00074">74</a> of file <a className="el" href="/content/api/cpp/clear__statistics_8h_source">clear\_statistics.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a3ad25159d0e51a2f38a20069b11ec75d">◆ </a></span>tableName</h2>

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

      <div className="memdoc">
        <p>Name of a table, in \[ schema\_name. ]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. </p>
        <p>Must be an existing table. The default value is ''. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/clear__statistics_8h_source#l00062">62</a> of file <a className="el" href="/content/api/cpp/clear__statistics_8h_source">clear\_statistics.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/clear__statistics_8h_source">clear\_statistics.h</a></li>
    </ul>
  </div>
</div>
