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

# alterTableMonitor

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

  <h2 className="memtitle"><span className="permalink"><a href="#aea7ba4ba63117605613ac472447e3380">◆ </a></span>alterTableMonitor() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">AlterTableMonitorResponse</a> gpudb::GPUdb::alterTableMonitor </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorRequest">AlterTableMonitorRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alters a table monitor previously created with <a className="el" href="#ab379d6656d94cb2e54be2671ecd05d6c">createTableMonitor</a>. </p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorRequest">Request</a> 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"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="aad0c37c21cebb342fce591c2175979fd" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">AlterTableMonitorResponse</a> & gpudb::GPUdb::alterTableMonitor </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorRequest">AlterTableMonitorRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">AlterTableMonitorResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alters a table monitor previously created with <a className="el" href="#ab379d6656d94cb2e54be2671ecd05d6c">createTableMonitor</a>. </p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a4d8ad3c726a24bebbe3d100c17bf9e00" />

  <h2 className="memtitle"><span className="permalink"><a href="#a4d8ad3c726a24bebbe3d100c17bf9e00">◆ </a></span>alterTableMonitor() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">AlterTableMonitorResponse</a> gpudb::GPUdb::alterTableMonitor </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">topicId</span></span>, </td>
        </tr>

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

          <td />

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

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

          <td />

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

    <div className="memdoc">
      <p>Alters a table monitor previously created with <a className="el" href="#a562dc443f79f57ea572cb5ec0f2e8093">createTableMonitor</a>. </p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">topicId</td>
              <td>The topic ID returned by <a className="el" href="#a562dc443f79f57ea572cb5ec0f2e8093">createTableMonitor</a>. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">monitorUpdatesMap</td>

              <td>
                Map containing the properties of the table monitor to be updated. Error if empty.

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a700479d64d4466c3f7fbeab7e7160bdf">alter\_table\_monitor\_schema\_name</a>: Updates the schema name. If <a className="el" href="/content/api/cpp/namespacegpudb#a700479d64d4466c3f7fbeab7e7160bdf">schema\_name</a> doesn't exist, an error will be thrown. If <a className="el" href="/content/api/cpp/namespacegpudb#a700479d64d4466c3f7fbeab7e7160bdf">schema\_name</a> is empty, then the user's default schema will be used. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad27123590acf58dc7b6d0a4a73b8fe8f">alter\_table\_monitor\_max\_consecutive\_failures</a>: Updates the maximum number of consecutive failures before suspending the stream. A value of '-1' to disables auto-suspend. This value is by rank and not overall. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a246d16f19ada92aea10008b331c583c5">alter\_table\_monitor\_notifications</a>: Updates the state of the monitor. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8a46b2271ccd6dc3975dc1b82170fe66">alter\_table\_monitor\_resume</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae9828b3dfdb87c5425e45fce2c9e8f18">alter\_table\_monitor\_suspend</a> </li>
                    </ul>

                    The default value is an empty map.
                  </li>
                </ul>
              </td>
            </tr>

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

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ad9cbebd143dc0b393c44a3edcb181746" />

  <h2 className="memtitle"><span className="permalink"><a href="#ad9cbebd143dc0b393c44a3edcb181746">◆ </a></span>alterTableMonitor() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">AlterTableMonitorResponse</a> & gpudb::GPUdb::alterTableMonitor </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">topicId</span></span>, </td>
        </tr>

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

          <td />

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

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

          <td />

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

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">AlterTableMonitorResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alters a table monitor previously created with <a className="el" href="#a562dc443f79f57ea572cb5ec0f2e8093">createTableMonitor</a>. </p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">topicId</td>
              <td>The topic ID returned by <a className="el" href="#a562dc443f79f57ea572cb5ec0f2e8093">createTableMonitor</a>. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">monitorUpdatesMap</td>

              <td>
                Map containing the properties of the table monitor to be updated. Error if empty.

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a700479d64d4466c3f7fbeab7e7160bdf">alter\_table\_monitor\_schema\_name</a>: Updates the schema name. If <a className="el" href="/content/api/cpp/namespacegpudb#a700479d64d4466c3f7fbeab7e7160bdf">schema\_name</a> doesn't exist, an error will be thrown. If <a className="el" href="/content/api/cpp/namespacegpudb#a700479d64d4466c3f7fbeab7e7160bdf">schema\_name</a> is empty, then the user's default schema will be used. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad27123590acf58dc7b6d0a4a73b8fe8f">alter\_table\_monitor\_max\_consecutive\_failures</a>: Updates the maximum number of consecutive failures before suspending the stream. A value of '-1' to disables auto-suspend. This value is by rank and not overall. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a246d16f19ada92aea10008b331c583c5">alter\_table\_monitor\_notifications</a>: Updates the state of the monitor. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8a46b2271ccd6dc3975dc1b82170fe66">alter\_table\_monitor\_resume</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae9828b3dfdb87c5425e45fce2c9e8f18">alter\_table\_monitor\_suspend</a> </li>
                    </ul>

                    The default value is an empty map.
                  </li>
                </ul>
              </td>
            </tr>

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

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTableMonitorResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
