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

# createMaterializedView

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

  <h2 className="memtitle"><span className="permalink"><a href="#afbec7be04cf88d679d4d0092e264cf13">◆ </a></span>createMaterializedView() <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_1CreateMaterializedViewResponse">CreateMaterializedViewResponse</a> kinetica.Kinetica.createMaterializedView </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1CreateMaterializedViewRequest">CreateMaterializedViewRequest</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>Initiates the process of creating a materialized view, reserving the view's name to prevent other views or tables from being created with that name. </p>
      <p>For materialized view details and examples, see <a href="/content/concepts/materialized_views/" target="_top">Materialized Views</a>.</p>
      <p>The response contains <a className="el" href="/content/api/cs/classkinetica_1_1CreateMaterializedViewResponse#a1e24b1fd980fc69eb041fbbc0786c7b4">view\_id</a>, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.</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#L21458">21458</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="a9055a11096fd8f2c9749d1d1591ece25" />

  <h2 className="memtitle"><span className="permalink"><a href="#a9055a11096fd8f2c9749d1d1591ece25">◆ </a></span>createMaterializedView() <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_1CreateMaterializedViewResponse">CreateMaterializedViewResponse</a> kinetica.Kinetica.createMaterializedView </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">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>Initiates the process of creating a materialized view, reserving the view's name to prevent other views or tables from being created with that name. </p>
      <p>For materialized view details and examples, see <a href="/content/concepts/materialized_views/" target="_top">Materialized Views</a>.</p>
      <p>The response contains <a className="el" href="/content/api/cs/classkinetica_1_1CreateMaterializedViewResponse#a1e24b1fd980fc69eb041fbbc0786c7b4">view\_id</a>, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.</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 be created that is the top-level table of the materialized view, in \[schema\_name.]table\_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>.</td>
            </tr>

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

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ac732391c9d62c7aa9c1fcff562a34bf4">COLLECTION\_NAME</a>: \[DEPRECATED–please specify the containing schema for the materialized view as part of <span className="em">table\_name</span> and use <a className="el" href="#ac754b44062e7b90b8afa50ddfa8ccbf2">createSchema</a> to create the schema if non-existent] Name of a schema which is to contain 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_1CreateMaterializedViewRequest_1_1Options#abf86ab4c493a4711570a58526fca35e2">EXECUTE\_AS</a>: User name to use to run the refresh job. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a407b631e63c726e069c96f9b0d2ecdb1">BUILD\_MATERIALIZED\_VIEW\_POLICY</a>: Sets startup materialized view rebuild scheme. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a384d5fd2aa87a11236d966f0d2b6e467">ALWAYS</a>: Rebuild as many materialized views as possible before accepting requests. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a90480d030708f9196ed60baeb68a23e3">LAZY</a>: Rebuild the necessary materialized views at start, and load the remainder lazily. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#aeed7b855b14ce5d9582fcc50bc925017">ON\_DEMAND</a>: Rebuild materialized views as requests use them. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ad509d4a69fddbcb76309a3ffbca9eb74">SYSTEM</a>: Rebuild materialized views using the system-configured default. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ad509d4a69fddbcb76309a3ffbca9eb74">SYSTEM</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a6113b36b1f2f4aa977587b0620c4fc16">PERSIST</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ae374f94d267bbe14b6cd10950c127ea5">TRUE</a>, then the materialized view specified in <span className="em">table\_name</span> will be persisted and will not expire unless a <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2cd62ae289de1a6c4feb86c9341e83d3">TTL</a> is specified. If <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#abfe9748b78050f8cefa3165ae8a92a19">FALSE</a>, then the materialized view will be an in-memory table and will expire unless a <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2cd62ae289de1a6c4feb86c9341e83d3">TTL</a> is specified otherwise. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ae374f94d267bbe14b6cd10950c127ea5">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#abfe9748b78050f8cefa3165ae8a92a19">FALSE</a> </li>
                    </ul>

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

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#aa8589fd096de5e95e1647a1d1db49af4">ENABLE\_MV\_INPUT\_WRAPPERS</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ae374f94d267bbe14b6cd10950c127ea5">TRUE</a>, each base table the view reads is accessed through a wrapper view so an in-progress out-of-place update cannot make a record momentarily disappear from the view, and a long refresh does not block updates to the base tables. Overrides the {"{"}gaia.enable\_mv\_input\_wrappers{"}"} configuration default when set. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ae374f94d267bbe14b6cd10950c127ea5">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#abfe9748b78050f8cefa3165ae8a92a19">FALSE</a> </li>
                    </ul>

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

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ad3e0f5b4e21fa56666de23a423b7d7c0">REFRESH\_SPAN</a>: Sets the future time-offset(in seconds) at which periodic refresh stops. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a1b37c768d510f7bdfe4043074ece4b74">REFRESH\_STOP\_TIME</a>: When <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a91009f31529d19cb8a53af8015824787">REFRESH\_METHOD</a> is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2b47c9ab4bc4e4b8258e93e08ca844ec">PERIODIC</a>, specifies the time at which a periodic refresh is stopped. Value is a datetime string with format 'YYYY-MM-DD HH:MM:SS'. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a91009f31529d19cb8a53af8015824787">REFRESH\_METHOD</a>: Method by which the join can be refreshed when the data in underlying member tables have changed. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ac701da06265cdf25031899cbd6ca7923">MANUAL</a>: Refresh only occurs when manually requested by calling <a className="el" href="#a6f0aeb998c8858266d7d265f9f42064a">alterTable</a> with an 'action' of 'refresh'. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a0dc7df0f7746c37d967d0ff9600ae82c">ON\_QUERY</a>: Refresh any time the view is queried. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a8c861e9a7ac5080212475f93f1b26249">ON\_CHANGE</a>: If possible, incrementally refresh (refresh just those records added) whenever an insert, update, delete or refresh of input table is done. A full refresh is done if an incremental refresh is not possible. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2b47c9ab4bc4e4b8258e93e08ca844ec">PERIODIC</a>: Refresh table periodically at rate specified by <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a48a4ed0783c53b48d483d6d6f320adaa">REFRESH\_PERIOD</a>. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ac701da06265cdf25031899cbd6ca7923">MANUAL</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a48a4ed0783c53b48d483d6d6f320adaa">REFRESH\_PERIOD</a>: When <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a91009f31529d19cb8a53af8015824787">REFRESH\_METHOD</a> is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2b47c9ab4bc4e4b8258e93e08ca844ec">PERIODIC</a>, specifies the period in seconds at which refresh occurs. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ace5e5d7f2f18d7f40edf7115dff37ffb">REFRESH\_START\_TIME</a>: When <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a91009f31529d19cb8a53af8015824787">REFRESH\_METHOD</a> is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2b47c9ab4bc4e4b8258e93e08ca844ec">PERIODIC</a>, specifies the first time at which a refresh is to be done. Value is a datetime string with format 'YYYY-MM-DD HH:MM:SS'. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2cd62ae289de1a6c4feb86c9341e83d3">TTL</a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <span className="em">table\_name</span> . </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#L21732">21732</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="a120de6f1ffda15ca20825d79dc8c41a1" />

  <h2 className="memtitle"><span className="permalink"><a href="#a120de6f1ffda15ca20825d79dc8c41a1">◆ </a></span>CreateMaterializedViewAsync() <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_1CreateMaterializedViewResponse">CreateMaterializedViewResponse</a> > kinetica.Kinetica.CreateMaterializedViewAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1CreateMaterializedViewRequest">CreateMaterializedViewRequest</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>Initiates the process of creating a materialized view, reserving the view's name to prevent other views or tables from being created with that name. </p>
      <p>(async) </p>
      <p>For materialized view details and examples, see <a href="/content/concepts/materialized_views/" target="_top">Materialized Views</a>.</p>
      <p>The response contains <a className="el" href="/content/api/cs/classkinetica_1_1CreateMaterializedViewResponse#a1e24b1fd980fc69eb041fbbc0786c7b4">view\_id</a>, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.</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#L21482">21482</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="aedfc5cbbd8ca78146fb5799361434084" />

  <h2 className="memtitle"><span className="permalink"><a href="#aedfc5cbbd8ca78146fb5799361434084">◆ </a></span>CreateMaterializedViewAsync() <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_1CreateMaterializedViewResponse">CreateMaterializedViewResponse</a> > kinetica.Kinetica.CreateMaterializedViewAsync </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">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>Initiates the process of creating a materialized view, reserving the view's name to prevent other views or tables from being created with that name. </p>
      <p>(async) </p>
      <p>For materialized view details and examples, see <a href="/content/concepts/materialized_views/" target="_top">Materialized Views</a>.</p>
      <p>The response contains <a className="el" href="/content/api/cs/classkinetica_1_1CreateMaterializedViewResponse#a1e24b1fd980fc69eb041fbbc0786c7b4">view\_id</a>, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.</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 be created that is the top-level table of the materialized view, in \[schema\_name.]table\_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>.</td>
            </tr>

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

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ac732391c9d62c7aa9c1fcff562a34bf4">COLLECTION\_NAME</a>: \[DEPRECATED–please specify the containing schema for the materialized view as part of <span className="em">table\_name</span> and use <a className="el" href="#ac754b44062e7b90b8afa50ddfa8ccbf2">createSchema</a> to create the schema if non-existent] Name of a schema which is to contain 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_1CreateMaterializedViewRequest_1_1Options#abf86ab4c493a4711570a58526fca35e2">EXECUTE\_AS</a>: User name to use to run the refresh job. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a407b631e63c726e069c96f9b0d2ecdb1">BUILD\_MATERIALIZED\_VIEW\_POLICY</a>: Sets startup materialized view rebuild scheme. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a384d5fd2aa87a11236d966f0d2b6e467">ALWAYS</a>: Rebuild as many materialized views as possible before accepting requests. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a90480d030708f9196ed60baeb68a23e3">LAZY</a>: Rebuild the necessary materialized views at start, and load the remainder lazily. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#aeed7b855b14ce5d9582fcc50bc925017">ON\_DEMAND</a>: Rebuild materialized views as requests use them. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ad509d4a69fddbcb76309a3ffbca9eb74">SYSTEM</a>: Rebuild materialized views using the system-configured default. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ad509d4a69fddbcb76309a3ffbca9eb74">SYSTEM</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a6113b36b1f2f4aa977587b0620c4fc16">PERSIST</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ae374f94d267bbe14b6cd10950c127ea5">TRUE</a>, then the materialized view specified in <span className="em">table\_name</span> will be persisted and will not expire unless a <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2cd62ae289de1a6c4feb86c9341e83d3">TTL</a> is specified. If <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#abfe9748b78050f8cefa3165ae8a92a19">FALSE</a>, then the materialized view will be an in-memory table and will expire unless a <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2cd62ae289de1a6c4feb86c9341e83d3">TTL</a> is specified otherwise. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ae374f94d267bbe14b6cd10950c127ea5">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#abfe9748b78050f8cefa3165ae8a92a19">FALSE</a> </li>
                    </ul>

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

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#aa8589fd096de5e95e1647a1d1db49af4">ENABLE\_MV\_INPUT\_WRAPPERS</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ae374f94d267bbe14b6cd10950c127ea5">TRUE</a>, each base table the view reads is accessed through a wrapper view so an in-progress out-of-place update cannot make a record momentarily disappear from the view, and a long refresh does not block updates to the base tables. Overrides the {"{"}gaia.enable\_mv\_input\_wrappers{"}"} configuration default when set. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ae374f94d267bbe14b6cd10950c127ea5">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#abfe9748b78050f8cefa3165ae8a92a19">FALSE</a> </li>
                    </ul>

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

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ad3e0f5b4e21fa56666de23a423b7d7c0">REFRESH\_SPAN</a>: Sets the future time-offset(in seconds) at which periodic refresh stops. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a1b37c768d510f7bdfe4043074ece4b74">REFRESH\_STOP\_TIME</a>: When <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a91009f31529d19cb8a53af8015824787">REFRESH\_METHOD</a> is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2b47c9ab4bc4e4b8258e93e08ca844ec">PERIODIC</a>, specifies the time at which a periodic refresh is stopped. Value is a datetime string with format 'YYYY-MM-DD HH:MM:SS'. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a91009f31529d19cb8a53af8015824787">REFRESH\_METHOD</a>: Method by which the join can be refreshed when the data in underlying member tables have changed. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ac701da06265cdf25031899cbd6ca7923">MANUAL</a>: Refresh only occurs when manually requested by calling <a className="el" href="#a6f0aeb998c8858266d7d265f9f42064a">alterTable</a> with an 'action' of 'refresh'. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a0dc7df0f7746c37d967d0ff9600ae82c">ON\_QUERY</a>: Refresh any time the view is queried. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a8c861e9a7ac5080212475f93f1b26249">ON\_CHANGE</a>: If possible, incrementally refresh (refresh just those records added) whenever an insert, update, delete or refresh of input table is done. A full refresh is done if an incremental refresh is not possible. </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2b47c9ab4bc4e4b8258e93e08ca844ec">PERIODIC</a>: Refresh table periodically at rate specified by <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a48a4ed0783c53b48d483d6d6f320adaa">REFRESH\_PERIOD</a>. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ac701da06265cdf25031899cbd6ca7923">MANUAL</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a48a4ed0783c53b48d483d6d6f320adaa">REFRESH\_PERIOD</a>: When <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a91009f31529d19cb8a53af8015824787">REFRESH\_METHOD</a> is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2b47c9ab4bc4e4b8258e93e08ca844ec">PERIODIC</a>, specifies the period in seconds at which refresh occurs. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#ace5e5d7f2f18d7f40edf7115dff37ffb">REFRESH\_START\_TIME</a>: When <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a91009f31529d19cb8a53af8015824787">REFRESH\_METHOD</a> is <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2b47c9ab4bc4e4b8258e93e08ca844ec">PERIODIC</a>, specifies the first time at which a refresh is to be done. Value is a datetime string with format 'YYYY-MM-DD HH:MM:SS'. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateMaterializedViewRequest_1_1Options#a2cd62ae289de1a6c4feb86c9341e83d3">TTL</a>: Sets the <a href="/content/concepts/ttl/" target="_top">TTL</a> of the table specified in <span className="em">table\_name</span> . </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#L21983">21983</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>
