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

# createTriggerByArea

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

  <h2 className="memtitle"><span className="permalink"><a href="#a6c6b5fc49fe85c5b89a0fe2f4ad90a1a">◆ </a></span>createTriggerByArea() <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"><a className="el" href="/content/api/cs/classkinetica_1_1CreateTriggerByAreaResponse">CreateTriggerByAreaResponse</a> kinetica.Kinetica.createTriggerByArea </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1CreateTriggerByAreaRequest">CreateTriggerByAreaRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></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>Sets up an area trigger mechanism for two column\_names for one or more tables. </p>
      <p>(This function is essentially the two-dimensional version of <a className="el" href="#aa6cc5e9a5eb5f54fb39d95ed86139cf3">createTriggerByRange</a>.) Once the trigger has been activated, any record added to the listed tables(s) via <a className="el" href="">insertRecords</a> with the chosen columns' values falling within the specified region will trip the trigger. All such records will be queued at the trigger port (by default '9001' but able to be retrieved via <a className="el" href="#a5388cd1d43fea381c678c42773d1904d">showSystemStatus</a>) for any listening client to collect. Active triggers can be cancelled by using the <a className="el" href="#a25879715a3c5a7b18e6a5423b13b2d06">clearTrigger</a> endpoint or by clearing all relevant tables.</p>
      <p>The output returns the trigger handle as well as indicating success or failure of the trigger activation.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request 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">Response 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-cs/blob/master/Kinetica/KineticaFunctions.cs#L28588">28588</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="af6c46209fabd6b0d9d5c2e172f5b8324" />

  <h2 className="memtitle"><span className="permalink"><a href="#af6c46209fabd6b0d9d5c2e172f5b8324">◆ </a></span>createTriggerByArea() <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"><a className="el" href="/content/api/cs/classkinetica_1_1CreateTriggerByAreaResponse">CreateTriggerByAreaResponse</a> kinetica.Kinetica.createTriggerByArea </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">request\_id</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IList\< string ></td>
                <td className="paramname"><span className="paramname"><span className="em">table\_names</span></span>, </td>
              </tr>

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

                <td />

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

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

                <td />

                <td className="paramtype">IList\< double ></td>
                <td className="paramname"><span className="paramname"><span className="em">x\_vector</span></span>, </td>
              </tr>

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

                <td />

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

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

                <td />

                <td className="paramtype">IList\< double ></td>
                <td className="paramname"><span className="paramname"><span className="em">y\_vector</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>Sets up an area trigger mechanism for two column\_names for one or more tables. </p>
      <p>(This function is essentially the two-dimensional version of <a className="el" href="#aa6cc5e9a5eb5f54fb39d95ed86139cf3">createTriggerByRange</a>.) Once the trigger has been activated, any record added to the listed tables(s) via <a className="el" href="">insertRecords</a> with the chosen columns' values falling within the specified region will trip the trigger. All such records will be queued at the trigger port (by default '9001' but able to be retrieved via <a className="el" href="#a5388cd1d43fea381c678c42773d1904d">showSystemStatus</a>) for any listening client to collect. Active triggers can be cancelled by using the <a className="el" href="#a25879715a3c5a7b18e6a5423b13b2d06">clearTrigger</a> endpoint or by clearing all relevant tables.</p>
      <p>The output returns the trigger handle as well as indicating success or failure of the trigger activation.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_id</td>
              <td>User-created ID for the trigger. The ID can be alphanumeric, contain symbols, and must contain at least one character. </td>
            </tr>

            <tr>
              <td className="paramname">table\_names</td>
              <td>Names of the tables on which the trigger will be activated and maintained, each 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">x\_column\_name</td>
              <td>Name of a numeric column on which the trigger is activated. Usually 'x' for geospatial data points.</td>
            </tr>

            <tr>
              <td className="paramname">x\_vector</td>
              <td>The respective coordinate values for the region on which the trigger is activated. This usually translates to the x-coordinates of a geospatial region.</td>
            </tr>

            <tr>
              <td className="paramname">y\_column\_name</td>
              <td>Name of a second numeric column on which the trigger is activated. Usually 'y' for geospatial data points. </td>
            </tr>

            <tr>
              <td className="paramname">y\_vector</td>
              <td>The respective coordinate values for the region on which the trigger is activated. This usually translates to the y-coordinates of a geospatial region. Must be the same length as xvals. </td>
            </tr>

            <tr>
              <td className="paramname">options</td>
              <td>Optional parameters. The default value is an empty Dictionary.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response 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-cs/blob/master/Kinetica/KineticaFunctions.cs#L28669">28669</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a2c42cb4373fd22dbb650200c1c6f3a55" />

  <h2 className="memtitle"><span className="permalink"><a href="#a2c42cb4373fd22dbb650200c1c6f3a55">◆ </a></span>CreateTriggerByAreaAsync() <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">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1CreateTriggerByAreaResponse">CreateTriggerByAreaResponse</a> > kinetica.Kinetica.CreateTriggerByAreaAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1CreateTriggerByAreaRequest">CreateTriggerByAreaRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</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>Sets up an area trigger mechanism for two column\_names for one or more tables. </p>
      <p>(async) </p>
      <p>(This function is essentially the two-dimensional version of <a className="el" href="#aa6cc5e9a5eb5f54fb39d95ed86139cf3">createTriggerByRange</a>.) Once the trigger has been activated, any record added to the listed tables(s) via <a className="el" href="">insertRecords</a> with the chosen columns' values falling within the specified region will trip the trigger. All such records will be queued at the trigger port (by default '9001' but able to be retrieved via <a className="el" href="#a5388cd1d43fea381c678c42773d1904d">showSystemStatus</a>) for any listening client to collect. Active triggers can be cancelled by using the <a className="el" href="#a25879715a3c5a7b18e6a5423b13b2d06">clearTrigger</a> endpoint or by clearing all relevant tables.</p>
      <p>The output returns the trigger handle as well as indicating success or failure of the trigger activation.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response 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-cs/blob/master/Kinetica/KineticaFunctions.cs#L28619">28619</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a7f7428c973feef68c90954fd8f148162" />

  <h2 className="memtitle"><span className="permalink"><a href="#a7f7428c973feef68c90954fd8f148162">◆ </a></span>CreateTriggerByAreaAsync() <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">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1CreateTriggerByAreaResponse">CreateTriggerByAreaResponse</a> > kinetica.Kinetica.CreateTriggerByAreaAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">request\_id</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IList\< string ></td>
                <td className="paramname"><span className="paramname"><span className="em">table\_names</span></span>, </td>
              </tr>

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

                <td />

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

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

                <td />

                <td className="paramtype">IList\< double ></td>
                <td className="paramname"><span className="paramname"><span className="em">x\_vector</span></span>, </td>
              </tr>

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

                <td />

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

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

                <td />

                <td className="paramtype">IList\< double ></td>
                <td className="paramname"><span className="paramname"><span className="em">y\_vector</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>

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

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</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>Sets up an area trigger mechanism for two column\_names for one or more tables. </p>
      <p>(async) </p>
      <p>(This function is essentially the two-dimensional version of <a className="el" href="#aa6cc5e9a5eb5f54fb39d95ed86139cf3">createTriggerByRange</a>.) Once the trigger has been activated, any record added to the listed tables(s) via <a className="el" href="">insertRecords</a> with the chosen columns' values falling within the specified region will trip the trigger. All such records will be queued at the trigger port (by default '9001' but able to be retrieved via <a className="el" href="#a5388cd1d43fea381c678c42773d1904d">showSystemStatus</a>) for any listening client to collect. Active triggers can be cancelled by using the <a className="el" href="#a25879715a3c5a7b18e6a5423b13b2d06">clearTrigger</a> endpoint or by clearing all relevant tables.</p>
      <p>The output returns the trigger handle as well as indicating success or failure of the trigger activation.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_id</td>
              <td>User-created ID for the trigger. The ID can be alphanumeric, contain symbols, and must contain at least one character. </td>
            </tr>

            <tr>
              <td className="paramname">table\_names</td>
              <td>Names of the tables on which the trigger will be activated and maintained, each 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">x\_column\_name</td>
              <td>Name of a numeric column on which the trigger is activated. Usually 'x' for geospatial data points.</td>
            </tr>

            <tr>
              <td className="paramname">x\_vector</td>
              <td>The respective coordinate values for the region on which the trigger is activated. This usually translates to the x-coordinates of a geospatial region.</td>
            </tr>

            <tr>
              <td className="paramname">y\_column\_name</td>
              <td>Name of a second numeric column on which the trigger is activated. Usually 'y' for geospatial data points. </td>
            </tr>

            <tr>
              <td className="paramname">y\_vector</td>
              <td>The respective coordinate values for the region on which the trigger is activated. This usually translates to the y-coordinates of a geospatial region. Must be the same length as xvals. </td>
            </tr>

            <tr>
              <td className="paramname">options</td>
              <td>Optional parameters. The default value is an empty Dictionary.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response 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-cs/blob/master/Kinetica/KineticaFunctions.cs#L28729">28729</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
