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

# filterByList

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

  <h2 className="memtitle"><span className="permalink"><a href="/content/api/cs/classkinetica_1_1Kinetica/filterbylist#ac7cae8ee0faadb97af0a052b2c0bbe44">◆ </a></span>filterByList() <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_1FilterByListResponse">FilterByListResponse</a> kinetica.Kinetica.filterByList </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1FilterByListRequest">FilterByListRequest</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>Calculates which records from a table have values in the given list for the corresponding column. </p>
      <p>The operation is synchronous, meaning that a response will not be returned until all the objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input filter specification is also created if a <a className="el" href="/content/api/cs/classkinetica_1_1FilterByListRequest#abdd7a07474b7f9dc969fa4a72b8d4eb8">view\_name</a> is passed in as part of the request.</p>
      <p>For example, if a type definition has the columns 'x' and 'y', then a filter by list query with the column map {"{"}"x":\["10.1", "2.3"], "y":\["0.0", "-31.5", "42.0"]{"}"} will return the count of all data points whose x and y values match both in the respective x- and y-lists, e.g., "x = 10.1 and y = 0.0", "x = 2.3 and y = -31.5", etc. However, a record with "x = 10.1 and y = -31.5" or "x = 2.3 and y = 0.0" would not be returned because the values in the given lists do not correspond. </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#L38008">38008</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="a5a7dea844035e3ae8e259b8b38787c89" />

  <h2 className="memtitle"><span className="permalink"><a href="/content/api/cs/classkinetica_1_1Kinetica/filterbylist#a5a7dea844035e3ae8e259b8b38787c89">◆ </a></span>filterByList() <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_1FilterByListResponse">FilterByListResponse</a> kinetica.Kinetica.filterByList </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">view\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IDictionary\< string, IList\< string > ></td>
                <td className="paramname"><span className="paramname"><span className="em">column\_values\_map</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>Calculates which records from a table have values in the given list for the corresponding column. </p>
      <p>The operation is synchronous, meaning that a response will not be returned until all the objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input filter specification is also created if a <span className="em">view\_name</span> is passed in as part of the request.</p>
      <p>For example, if a type definition has the columns 'x' and 'y', then a filter by list query with the column map {"{"}"x":\["10.1", "2.3"], "y":\["0.0", "-31.5", "42.0"]{"}"} will return the count of all data points whose x and y values match both in the respective x- and y-lists, e.g., "x = 10.1 and y = 0.0", "x = 2.3 and y = -31.5", etc. However, a record with "x = 10.1 and y = -31.5" or "x = 2.3 and y = 0.0" would not be returned because the values in the given lists do not correspond. </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 to filter, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. This may be the name of a table or a view (when chaining queries).</td>
            </tr>

            <tr>
              <td className="paramname">view\_name</td>
              <td>If provided, then this will be the name of the view containing the results, in \[schema\_name.]view\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. Must not be an already existing table or view. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">column\_values\_map</td>
              <td>List of values for the corresponding column in the table.</td>
            </tr>

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

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#afbc751f89f8b6e46f25b4b748a8891e3">CREATE\_TEMP\_TABLE</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#ac268d723cbfcd057e255127f797553ae">TRUE</a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <span className="em">view\_name</span> . This is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListResponse_1_1Info#a2722a55d7a147988de926e4dc47c581b">QUALIFIED\_VIEW\_NAME</a>. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#ac268d723cbfcd057e255127f797553ae">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#acd8171e9fa5a1ded4a21625b6b94e7f8">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#acd8171e9fa5a1ded4a21625b6b94e7f8">FALSE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#a53708df0a56237ea7fcefc941a475342">COLLECTION\_NAME</a>: \[DEPRECATED–please specify the containing schema for the view as part of <span className="em">view\_name</span> and use <a className="el" href="/content/api/cs/classkinetica_1_1Kinetica/createschema#ac754b44062e7b90b8afa50ddfa8ccbf2">createSchema</a> to create the schema if non-existent] Name of a schema for the newly created view. If the schema provided is non-existent, it will be automatically created. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#a1b7b977aaa2c6d2714beebe792cba5d0">FILTER\_MODE</a>: String indicating the filter mode, either 'in\_list' or 'not\_in\_list'. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#a96db399c9998f1f84d4aec8d3a978dfb">IN\_LIST</a>: The filter will match all items that are in the provided list(s). </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#af0198ae6fd8cae851276dab9e69051dd">NOT\_IN\_LIST</a>: The filter will match all items that are not in the provided list(s). </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#a96db399c9998f1f84d4aec8d3a978dfb">IN\_LIST</a>.
                  </li>
                </ul>

                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#L38151">38151</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="aff5f2fd9ccbf1490f0580aa42edb71d5" />

  <h2 className="memtitle"><span className="permalink"><a href="/content/api/cs/classkinetica_1_1Kinetica/filterbylist#aff5f2fd9ccbf1490f0580aa42edb71d5">◆ </a></span>FilterByListAsync() <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_1FilterByListResponse">FilterByListResponse</a> > kinetica.Kinetica.FilterByListAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1FilterByListRequest">FilterByListRequest</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>Calculates which records from a table have values in the given list for the corresponding column. </p>
      <p>(async) </p>
      <p>The operation is synchronous, meaning that a response will not be returned until all the objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input filter specification is also created if a <a className="el" href="/content/api/cs/classkinetica_1_1FilterByListRequest#abdd7a07474b7f9dc969fa4a72b8d4eb8">view\_name</a> is passed in as part of the request.</p>
      <p>For example, if a type definition has the columns 'x' and 'y', then a filter by list query with the column map {"{"}"x":\["10.1", "2.3"], "y":\["0.0", "-31.5", "42.0"]{"}"} will return the count of all data points whose x and y values match both in the respective x- and y-lists, e.g., "x = 10.1 and y = 0.0", "x = 2.3 and y = -31.5", etc. However, a record with "x = 10.1 and y = -31.5" or "x = 2.3 and y = 0.0" would not be returned because the values in the given lists do not correspond. </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#L38039">38039</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="a7ccbaa348374a95318c874bbf2470557" />

  <h2 className="memtitle"><span className="permalink"><a href="/content/api/cs/classkinetica_1_1Kinetica/filterbylist#a7ccbaa348374a95318c874bbf2470557">◆ </a></span>FilterByListAsync() <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_1FilterByListResponse">FilterByListResponse</a> > kinetica.Kinetica.FilterByListAsync </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">view\_name</span></span>, </td>
              </tr>

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

                <td />

                <td className="paramtype">IDictionary\< string, IList\< string > ></td>
                <td className="paramname"><span className="paramname"><span className="em">column\_values\_map</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>Calculates which records from a table have values in the given list for the corresponding column. </p>
      <p>(async) </p>
      <p>The operation is synchronous, meaning that a response will not be returned until all the objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input filter specification is also created if a <span className="em">view\_name</span> is passed in as part of the request.</p>
      <p>For example, if a type definition has the columns 'x' and 'y', then a filter by list query with the column map {"{"}"x":\["10.1", "2.3"], "y":\["0.0", "-31.5", "42.0"]{"}"} will return the count of all data points whose x and y values match both in the respective x- and y-lists, e.g., "x = 10.1 and y = 0.0", "x = 2.3 and y = -31.5", etc. However, a record with "x = 10.1 and y = -31.5" or "x = 2.3 and y = 0.0" would not be returned because the values in the given lists do not correspond. </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 to filter, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. This may be the name of a table or a view (when chaining queries).</td>
            </tr>

            <tr>
              <td className="paramname">view\_name</td>
              <td>If provided, then this will be the name of the view containing the results, in \[schema\_name.]view\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a> and meeting <a href="/content/concepts/tables/#table-naming-criteria" target="_top">table naming criteria</a>. Must not be an already existing table or view. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">column\_values\_map</td>
              <td>List of values for the corresponding column in the table.</td>
            </tr>

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

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#afbc751f89f8b6e46f25b4b748a8891e3">CREATE\_TEMP\_TABLE</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#ac268d723cbfcd057e255127f797553ae">TRUE</a>, a unique temporary table name will be generated in the sys\_temp schema and used in place of <span className="em">view\_name</span> . This is always allowed even if the caller does not have permission to create tables. The generated name is returned in <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListResponse_1_1Info#a2722a55d7a147988de926e4dc47c581b">QUALIFIED\_VIEW\_NAME</a>. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#ac268d723cbfcd057e255127f797553ae">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#acd8171e9fa5a1ded4a21625b6b94e7f8">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#acd8171e9fa5a1ded4a21625b6b94e7f8">FALSE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#a53708df0a56237ea7fcefc941a475342">COLLECTION\_NAME</a>: \[DEPRECATED–please specify the containing schema for the view as part of <span className="em">view\_name</span> and use <a className="el" href="/content/api/cs/classkinetica_1_1Kinetica/createschema#ac754b44062e7b90b8afa50ddfa8ccbf2">createSchema</a> to create the schema if non-existent] Name of a schema for the newly created view. If the schema provided is non-existent, it will be automatically created. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#a1b7b977aaa2c6d2714beebe792cba5d0">FILTER\_MODE</a>: String indicating the filter mode, either 'in\_list' or 'not\_in\_list'. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#a96db399c9998f1f84d4aec8d3a978dfb">IN\_LIST</a>: The filter will match all items that are in the provided list(s). </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#af0198ae6fd8cae851276dab9e69051dd">NOT\_IN\_LIST</a>: The filter will match all items that are not in the provided list(s). </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1FilterByListRequest_1_1Options#a96db399c9998f1f84d4aec8d3a978dfb">IN\_LIST</a>.
                  </li>
                </ul>

                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#L38266">38266</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>


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