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

# kinetica.AggregateStatisticsRequest

> kinetica.AggregateStatisticsRequest — Kinetica C# API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cs/classkinetica_1_1Kinetica/aggregatestatistics#a8c91e892a238298aff0261a55ce34f7f">Kinetica.aggregateStatistics</a>. <a href="#details">More...</a></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader">
            <div id="nested-classes" />

            Classes
          </h2>
        </td>
      </tr>

      <tr className="memitem:">
        <td className="memItemLeft" align="right" valign="top">struct  </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options">Options</a></td>
      </tr>

      <tr className="memdesc:">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A set of string constants for the parameter <a className="el" href="#a1e0639c94b792e22dfd71828117d5a87" title="Optional parameters.">AggregateStatisticsRequest.options</a>. <a href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#details">More...</a><br /></td>
      </tr>

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

      <tr className="memitem:">
        <td className="memItemLeft" align="right" valign="top">struct  </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats">Stats</a></td>
      </tr>

      <tr className="memdesc:">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A set of string constants for the parameter <a className="el" href="#a5b71930496e24bf92a8255b6087c7a4d" title="Comma separated list of the statistics to calculate, e.g.">AggregateStatisticsRequest.stats</a>. <a href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#details">More...</a><br /></td>
      </tr>

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

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader">
            <div id="pub-methods" />

            Public Member Functions
          </h2>
        </td>
      </tr>

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

      <tr className="memdesc:a65810ca4e62b78a30d24c1aeabe2a498">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cs/classkinetica_1_1AggregateStatisticsRequest" title="A set of parameters for Kinetica.aggregateStatistics.">AggregateStatisticsRequest</a> object with default parameters. <br /></td>
      </tr>

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

      <tr className="memitem:a2a2839c640a6b6b2131e6858ce8cd10e" id="r_a2a2839c640a6b6b2131e6858ce8cd10e">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a2a2839c640a6b6b2131e6858ce8cd10e">AggregateStatisticsRequest</a> (string <a className="el" href="#ade827c0dc553204d1b8d8103fb076b24">table\_name</a>, string <a className="el" href="#aa789056d7b0c50c9d227b0eb95f79e10">column\_name</a>, string <a className="el" href="#a5b71930496e24bf92a8255b6087c7a4d">stats</a>, IDictionary\< string, string > <a className="el" href="#a1e0639c94b792e22dfd71828117d5a87">options</a>=null)</td>
      </tr>

      <tr className="memdesc:a2a2839c640a6b6b2131e6858ce8cd10e">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cs/classkinetica_1_1AggregateStatisticsRequest" title="A set of parameters for Kinetica.aggregateStatistics.">AggregateStatisticsRequest</a> object with the specified parameters. <br /></td>
      </tr>

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

      <tr className="inherit_header pub_methods_classkinetica_1_1KineticaData">
        <td colSpan="2"> Public Member Functions inherited from <a className="el" href="/content/api/cs/classkinetica_1_1KineticaData">kinetica.KineticaData</a></td>
      </tr>

      <tr className="memitem:a6a494237f126f79a7f478b7614323482 inherit pub_methods_classkinetica_1_1KineticaData" id="r_a6a494237f126f79a7f478b7614323482">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="/content/api/cs/classkinetica_1_1KineticaData#a6a494237f126f79a7f478b7614323482">KineticaData</a> (<a className="el" href="/content/api/cs/classkinetica_1_1KineticaType">KineticaType</a> type)</td>
      </tr>

      <tr className="memdesc:a6a494237f126f79a7f478b7614323482 inherit pub_methods_classkinetica_1_1KineticaData">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructor from <a className="el" href="/content/api/cs/classkinetica_1_1Kinetica" title="API to talk to Kinetica Database.">Kinetica</a> Type. <br /></td>
      </tr>

      <tr className="separator:a6a494237f126f79a7f478b7614323482 inherit pub_methods_classkinetica_1_1KineticaData">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ac8cbdce08f2dd7d0d02bf0f279d79b79 inherit pub_methods_classkinetica_1_1KineticaData" id="r_ac8cbdce08f2dd7d0d02bf0f279d79b79">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="/content/api/cs/classkinetica_1_1KineticaData#ac8cbdce08f2dd7d0d02bf0f279d79b79">KineticaData</a> (System.Type type=null)</td>
      </tr>

      <tr className="memdesc:ac8cbdce08f2dd7d0d02bf0f279d79b79 inherit pub_methods_classkinetica_1_1KineticaData">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Default constructor, with optional System.Type. <br /></td>
      </tr>

      <tr className="separator:ac8cbdce08f2dd7d0d02bf0f279d79b79 inherit pub_methods_classkinetica_1_1KineticaData">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a8fceb0fc6b641ef28b7548bc2820e48f inherit pub_methods_classkinetica_1_1KineticaData" id="r_a8fceb0fc6b641ef28b7548bc2820e48f">
        <td className="memItemLeft" align="right" valign="top">object </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="/content/api/cs/classkinetica_1_1KineticaData#a8fceb0fc6b641ef28b7548bc2820e48f">Get</a> (int fieldPos)</td>
      </tr>

      <tr className="memdesc:a8fceb0fc6b641ef28b7548bc2820e48f inherit pub_methods_classkinetica_1_1KineticaData">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Retrieve a specific property from this object. <br /></td>
      </tr>

      <tr className="separator:a8fceb0fc6b641ef28b7548bc2820e48f inherit pub_methods_classkinetica_1_1KineticaData">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ad02b0bac0aa3f8a64b0ec46a94bd06f0 inherit pub_methods_classkinetica_1_1KineticaData" id="r_ad02b0bac0aa3f8a64b0ec46a94bd06f0">
        <td className="memItemLeft" align="right" valign="top">void </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="/content/api/cs/classkinetica_1_1KineticaData#ad02b0bac0aa3f8a64b0ec46a94bd06f0">Put</a> (int fieldPos, object fieldValue)</td>
      </tr>

      <tr className="memdesc:ad02b0bac0aa3f8a64b0ec46a94bd06f0 inherit pub_methods_classkinetica_1_1KineticaData">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Write a specific property to this object. <br /></td>
      </tr>

      <tr className="separator:ad02b0bac0aa3f8a64b0ec46a94bd06f0 inherit pub_methods_classkinetica_1_1KineticaData">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader">
            <div id="properties" />

            Properties
          </h2>
        </td>
      </tr>

      <tr className="memitem:ade827c0dc553204d1b8d8103fb076b24" id="r_ade827c0dc553204d1b8d8103fb076b24">
        <td className="memItemLeft" align="right" valign="top">string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ade827c0dc553204d1b8d8103fb076b24">table\_name</a><code> \[get, set]</code></td>
      </tr>

      <tr className="memdesc:ade827c0dc553204d1b8d8103fb076b24">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the table on which the statistics operation will be performed, in \[schema\_name. <br /></td>
      </tr>

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

      <tr className="memitem:aa789056d7b0c50c9d227b0eb95f79e10" id="r_aa789056d7b0c50c9d227b0eb95f79e10">
        <td className="memItemLeft" align="right" valign="top">string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aa789056d7b0c50c9d227b0eb95f79e10">column\_name</a><code> \[get, set]</code></td>
      </tr>

      <tr className="memdesc:aa789056d7b0c50c9d227b0eb95f79e10">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the primary column for which the statistics are to be calculated. <br /></td>
      </tr>

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

      <tr className="memitem:a5b71930496e24bf92a8255b6087c7a4d" id="r_a5b71930496e24bf92a8255b6087c7a4d">
        <td className="memItemLeft" align="right" valign="top">string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a5b71930496e24bf92a8255b6087c7a4d">stats</a><code> \[get, set]</code></td>
      </tr>

      <tr className="memdesc:a5b71930496e24bf92a8255b6087c7a4d">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Comma separated list of the statistics to calculate, e.g. <br /></td>
      </tr>

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

      <tr className="memitem:a1e0639c94b792e22dfd71828117d5a87" id="r_a1e0639c94b792e22dfd71828117d5a87">
        <td className="memItemLeft" align="right" valign="top">IDictionary\< string, string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a1e0639c94b792e22dfd71828117d5a87">options</a> = new Dictionary\<string, string>()<code> \[get, set]</code></td>
      </tr>

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

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

      <tr className="inherit_header properties_classkinetica_1_1KineticaData">
        <td colSpan="2"> Properties inherited from <a className="el" href="/content/api/cs/classkinetica_1_1KineticaData">kinetica.KineticaData</a></td>
      </tr>

      <tr className="memitem:ae35f20177341ed020cb1c92195621499 inherit properties_classkinetica_1_1KineticaData" id="r_ae35f20177341ed020cb1c92195621499">
        <td className="memItemLeft" align="right" valign="top">Schema </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="/content/api/cs/classkinetica_1_1KineticaData#ae35f20177341ed020cb1c92195621499">Schema</a><code> \[get]</code></td>
      </tr>

      <tr className="memdesc:ae35f20177341ed020cb1c92195621499 inherit properties_classkinetica_1_1KineticaData">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Avro Schema for this class. <br /></td>
      </tr>

      <tr className="separator:ae35f20177341ed020cb1c92195621499 inherit properties_classkinetica_1_1KineticaData">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader">
            <div id="inherited" />

            Additional Inherited Members
          </h2>
        </td>
      </tr>

      <tr className="inherit_header pub_static_methods_classkinetica_1_1KineticaData">
        <td colSpan="2"> Static Public Member Functions inherited from <a className="el" href="/content/api/cs/classkinetica_1_1KineticaData">kinetica.KineticaData</a></td>
      </tr>

      <tr className="memitem:a9474d49c9399dbe86f31a3ba07ff4691 inherit pub_static_methods_classkinetica_1_1KineticaData" id="r_a9474d49c9399dbe86f31a3ba07ff4691">
        <td className="memItemLeft" align="right" valign="top">static ? RecordSchema </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="/content/api/cs/classkinetica_1_1KineticaData#a9474d49c9399dbe86f31a3ba07ff4691">SchemaFromType</a> (System.Type t, <a className="el" href="/content/api/cs/classkinetica_1_1KineticaType">KineticaType</a>? ktype=null)</td>
      </tr>

      <tr className="memdesc:a9474d49c9399dbe86f31a3ba07ff4691 inherit pub_static_methods_classkinetica_1_1KineticaData">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Create an Avro Schema from a System.Type and a <a className="el" href="/content/api/cs/classkinetica_1_1KineticaType" title="Describes a Kinetica record type — its columns, properties, and Avro schema — and can create the type...">KineticaType</a>. <br /></td>
      </tr>

      <tr className="separator:a9474d49c9399dbe86f31a3ba07ff4691 inherit pub_static_methods_classkinetica_1_1KineticaData">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <div id="details" />

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

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cs/classkinetica_1_1Kinetica/aggregatestatistics#a8c91e892a238298aff0261a55ce34f7f">Kinetica.aggregateStatistics</a>. </p>
      <p>Calculates the requested statistics of the given column(s) in a given table.</p>
      <p>The available statistics are: <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a1d2d290d476df9298613017ff2a5beba">COUNT</a> (number of total objects), <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#ab5fb571e4e9cd0a868e00ebb02e39ec5">MEAN</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a2a7cb3fb00a4a46add353855681c9612">STDV</a> (standard deviation), <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a4078fbc16884aff4e45915feabec72c2">VARIANCE</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aa1104b17e525829865af87cb5483e773">SKEW</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aa79a1a1776b7d294fe2210c38881e77c">KURTOSIS</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a61af5c5f290f944b3d59bbbe281a36be">SUM</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#ad6fa1ef1242407b30f12314e18f0bd66">MIN</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a59d17724a5382e5dc6ca903cb8f32722">MAX</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a70ad37e69b7d6710837e18de9713fc10">WEIGHTED\_AVERAGE</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a116f7f0f7f3b46136c3dcb78e5afc963">CARDINALITY</a> (unique count), <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a20a11628c07613e3ae2ba3583f690a66">ESTIMATED\_CARDINALITY</a>, <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aacd763b025f8f2595b9703a893d0b3d1">PERCENTILE</a>, and <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#af4bfd852c306355293fe5578b61817de">PERCENTILE\_RANK</a>.</p>
      <p>Estimated cardinality is calculated by using the hyperloglog approximation technique.</p>
      <p>Percentiles and percentile ranks are approximate and are calculated using the t-digest algorithm. They must include the desired <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aacd763b025f8f2595b9703a893d0b3d1">PERCENTILE</a>/<a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#af4bfd852c306355293fe5578b61817de">PERCENTILE\_RANK</a>. To compute multiple percentiles each value must be specified separately (i.e. 'percentile(75.0),percentile(99.0),percentile\_rank(1234.56),percentile\_rank(-5)').</p>
      <p>A second, comma-separated value can be added to the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aacd763b025f8f2595b9703a893d0b3d1">PERCENTILE</a> statistic to calculate percentile resolution, e.g., a 50th percentile with 200 resolution would be 'percentile(50,200)'.</p>
      <p>The weighted average statistic requires a weight column to be specified in <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a2d9a1f9e9945044e64dd81527a8d2a47">WEIGHT\_COLUMN\_NAME</a>. The weighted average is then defined as the sum of the products of <a className="el" href="#aa789056d7b0c50c9d227b0eb95f79e10" title="Name of the primary column for which the statistics are to be calculated.">AggregateStatisticsRequest.column\_name</a> times the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a2d9a1f9e9945044e64dd81527a8d2a47">WEIGHT\_COLUMN\_NAME</a> values divided by the sum of the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a2d9a1f9e9945044e64dd81527a8d2a47">WEIGHT\_COLUMN\_NAME</a> values.</p>
      <p>Additional columns can be used in the calculation of statistics via <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a1e269463a87980a31a2c23040edb1f43">ADDITIONAL\_COLUMN\_NAMES</a>. Values in these columns will be included in the overall aggregate calculation–individual aggregates will not be calculated per additional column. For instance, requesting the <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a1d2d290d476df9298613017ff2a5beba">COUNT</a> and <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#ab5fb571e4e9cd0a868e00ebb02e39ec5">MEAN</a> of <a className="el" href="#aa789056d7b0c50c9d227b0eb95f79e10" title="Name of the primary column for which the statistics are to be calculated.">AggregateStatisticsRequest.column\_name</a> x and <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a1e269463a87980a31a2c23040edb1f43">ADDITIONAL\_COLUMN\_NAMES</a> y and z, where x holds the numbers 1-10, y holds 11-20, and z holds 21-30, would return the total number of x, y, and z values (30), and the single average value across all x, y, and z values (15.5).</p>
      <p>The response includes a list of key/value pairs of each statistic requested and its corresponding value.</p>
      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs#L71">71</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs">AggregateStatistics.cs</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>

    <div id="a65810ca4e62b78a30d24c1aeabe2a498" />

    <h2 className="memtitle"><span className="permalink"><a href="#a65810ca4e62b78a30d24c1aeabe2a498">◆ </a></span>AggregateStatisticsRequest() <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">kinetica.AggregateStatisticsRequest.AggregateStatisticsRequest </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/cs/classkinetica_1_1AggregateStatisticsRequest" title="A set of parameters for Kinetica.aggregateStatistics.">AggregateStatisticsRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs#L295">295</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs">AggregateStatistics.cs</a>.</p>
      </div>
    </div>

    <div id="a2a2839c640a6b6b2131e6858ce8cd10e" />

    <h2 className="memtitle"><span className="permalink"><a href="#a2a2839c640a6b6b2131e6858ce8cd10e">◆ </a></span>AggregateStatisticsRequest() <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">kinetica.AggregateStatisticsRequest.AggregateStatisticsRequest </td>
                  <td>(</td>
                  <td className="paramtype">string</td>
                  <td className="paramname"><span className="paramname"><span className="em">table\_name</span></span>, </td>
                </tr>

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

                  <td />

                  <td className="paramtype">string</td>
                  <td className="paramname"><span className="paramname"><span className="em">column\_name</span></span>, </td>
                </tr>

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

                  <td />

                  <td className="paramtype">string</td>
                  <td className="paramname"><span className="paramname"><span className="em">stats</span></span>, </td>
                </tr>

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

                  <td />

                  <td className="paramtype">IDictionary\< string, string ></td>
                  <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</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 an <a className="el" href="/content/api/cs/classkinetica_1_1AggregateStatisticsRequest" title="A set of parameters for Kinetica.aggregateStatistics.">AggregateStatisticsRequest</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="paramname">table\_name</td>
                <td>Name of the table on which the statistics operation will be performed, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</td>
              </tr>

              <tr>
                <td className="paramname">column\_name</td>
                <td>Name of the primary column for which the statistics are to be calculated.</td>
              </tr>

              <tr>
                <td className="paramname">stats</td>

                <td>
                  Comma separated list of the statistics to calculate, e.g. "sum,mean". Supported values:

                  <ul>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a1d2d290d476df9298613017ff2a5beba">COUNT</a>: Number of objects (independent of the given column(s)). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#ab5fb571e4e9cd0a868e00ebb02e39ec5">MEAN</a>: Arithmetic mean (average), equivalent to sum/count. </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a2a7cb3fb00a4a46add353855681c9612">STDV</a>: Sample standard deviation (denominator is count-1). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a4078fbc16884aff4e45915feabec72c2">VARIANCE</a>: Unbiased sample variance (denominator is count-1). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aa1104b17e525829865af87cb5483e773">SKEW</a>: Skewness (third standardized moment). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aa79a1a1776b7d294fe2210c38881e77c">KURTOSIS</a>: Kurtosis (fourth standardized moment). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a61af5c5f290f944b3d59bbbe281a36be">SUM</a>: Sum of all values in the column(s). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#ad6fa1ef1242407b30f12314e18f0bd66">MIN</a>: Minimum value of the column(s). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a59d17724a5382e5dc6ca903cb8f32722">MAX</a>: Maximum value of the column(s). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a70ad37e69b7d6710837e18de9713fc10">WEIGHTED\_AVERAGE</a>: Weighted arithmetic mean (using the option <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a2d9a1f9e9945044e64dd81527a8d2a47">WEIGHT\_COLUMN\_NAME</a> as the weighting column). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a116f7f0f7f3b46136c3dcb78e5afc963">CARDINALITY</a>: Number of unique values in the column(s). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a20a11628c07613e3ae2ba3583f690a66">ESTIMATED\_CARDINALITY</a>: Estimate (via hyperloglog technique) of the number of unique values in the column(s). </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aacd763b025f8f2595b9703a893d0b3d1">PERCENTILE</a>: Estimate (via t-digest) of the given percentile of the column(s) (percentile(50.0) will be an approximation of the median). Add a second, comma-separated value to calculate percentile resolution, e.g., 'percentile(75,150)'. </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#af4bfd852c306355293fe5578b61817de">PERCENTILE\_RANK</a>: Estimate (via t-digest) of the percentile rank of the given value in the column(s) (if the given value is the median of the column(s), percentile\_rank(\<median>) will return approximately 50.0). </li>
                  </ul>
                </td>
              </tr>

              <tr>
                <td className="paramname">options</td>

                <td>
                  Optional parameters.

                  <ul>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a1e269463a87980a31a2c23040edb1f43">ADDITIONAL\_COLUMN\_NAMES</a>: A list of comma separated column names over which statistics can be accumulated along with the primary column. All columns listed and <span className="em">column\_name</span> must be of the same type. Must not include the column specified in <span className="em">column\_name</span> and no column can be listed twice. </li>
                    <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a2d9a1f9e9945044e64dd81527a8d2a47">WEIGHT\_COLUMN\_NAME</a>: Name of column used as weighting attribute for the weighted average statistic. </li>
                  </ul>

                  The default value is an empty Dictionary.
                </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs#L428">428</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs">AggregateStatistics.cs</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Property Documentation</h2>

    <div id="aa789056d7b0c50c9d227b0eb95f79e10" />

    <h2 className="memtitle"><span className="permalink"><a href="#aa789056d7b0c50c9d227b0eb95f79e10">◆ </a></span>column\_name</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">string kinetica.AggregateStatisticsRequest.column\_name</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Name of the primary column for which the statistics are to be calculated. </p>
        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs#L164">164</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs">AggregateStatistics.cs</a>.</p>
      </div>
    </div>

    <div id="a1e0639c94b792e22dfd71828117d5a87" />

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">IDictionary\<string, string> kinetica.AggregateStatisticsRequest.options = new Dictionary\<string, string>()</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a1e269463a87980a31a2c23040edb1f43">ADDITIONAL\_COLUMN\_NAMES</a>: A list of comma separated column names over which statistics can be accumulated along with the primary column. All columns listed and <a className="el" href="#aa789056d7b0c50c9d227b0eb95f79e10" title="Name of the primary column for which the statistics are to be calculated.">AggregateStatisticsRequest.column\_name</a> must be of the same type. Must not include the column specified in <a className="el" href="#aa789056d7b0c50c9d227b0eb95f79e10" title="Name of the primary column for which the statistics are to be calculated.">AggregateStatisticsRequest.column\_name</a> and no column can be listed twice. </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a2d9a1f9e9945044e64dd81527a8d2a47">WEIGHT\_COLUMN\_NAME</a>: Name of column used as weighting attribute for the weighted average statistic. </li>
        </ul>

        <p>The default value is an empty Dictionary.</p>
        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs#L291">291</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs">AggregateStatistics.cs</a>.</p>
      </div>
    </div>

    <div id="a5b71930496e24bf92a8255b6087c7a4d" />

    <h2 className="memtitle"><span className="permalink"><a href="#a5b71930496e24bf92a8255b6087c7a4d">◆ </a></span>stats</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">string kinetica.AggregateStatisticsRequest.stats</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Comma separated list of the statistics to calculate, e.g. </p>
        <p>"sum,mean". </p>
        <p>Supported values:</p>

        <ul>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a1d2d290d476df9298613017ff2a5beba">COUNT</a>: Number of objects (independent of the given column(s)). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#ab5fb571e4e9cd0a868e00ebb02e39ec5">MEAN</a>: Arithmetic mean (average), equivalent to sum/count. </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a2a7cb3fb00a4a46add353855681c9612">STDV</a>: Sample standard deviation (denominator is count-1). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a4078fbc16884aff4e45915feabec72c2">VARIANCE</a>: Unbiased sample variance (denominator is count-1). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aa1104b17e525829865af87cb5483e773">SKEW</a>: Skewness (third standardized moment). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aa79a1a1776b7d294fe2210c38881e77c">KURTOSIS</a>: Kurtosis (fourth standardized moment). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a61af5c5f290f944b3d59bbbe281a36be">SUM</a>: Sum of all values in the column(s). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#ad6fa1ef1242407b30f12314e18f0bd66">MIN</a>: Minimum value of the column(s). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a59d17724a5382e5dc6ca903cb8f32722">MAX</a>: Maximum value of the column(s). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a70ad37e69b7d6710837e18de9713fc10">WEIGHTED\_AVERAGE</a>: Weighted arithmetic mean (using the option <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Options#a2d9a1f9e9945044e64dd81527a8d2a47">WEIGHT\_COLUMN\_NAME</a> as the weighting column). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a116f7f0f7f3b46136c3dcb78e5afc963">CARDINALITY</a>: Number of unique values in the column(s). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#a20a11628c07613e3ae2ba3583f690a66">ESTIMATED\_CARDINALITY</a>: Estimate (via hyperloglog technique) of the number of unique values in the column(s). </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#aacd763b025f8f2595b9703a893d0b3d1">PERCENTILE</a>: Estimate (via t-digest) of the given percentile of the column(s) (percentile(50.0) will be an approximation of the median). Add a second, comma-separated value to calculate percentile resolution, e.g., 'percentile(75,150)'. </li>
          <li> <a className="el" href="/content/api/cs/structkinetica_1_1AggregateStatisticsRequest_1_1Stats#af4bfd852c306355293fe5578b61817de">PERCENTILE\_RANK</a>: Estimate (via t-digest) of the percentile rank of the given value in the column(s) (if the given value is the median of the column(s), percentile\_rank(\<median>) will return approximately 50.0). </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs#L266">266</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs">AggregateStatistics.cs</a>.</p>
      </div>
    </div>

    <div id="ade827c0dc553204d1b8d8103fb076b24" />

    <h2 className="memtitle"><span className="permalink"><a href="#ade827c0dc553204d1b8d8103fb076b24">◆ </a></span>table\_name</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">string kinetica.AggregateStatisticsRequest.table\_name</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Name of the table on which the statistics operation will be performed, in \[schema\_name. </p>
        <p>]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. </p>
        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs#L160">160</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs">AggregateStatistics.cs</a>.</p>
      </div>
    </div>

    <hr />

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

    <ul>
      <li>Kinetica/Protocol/<a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Protocol/AggregateStatistics.cs">AggregateStatistics.cs</a></li>
    </ul>
  </div>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.