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

# showSchema

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

  <h2 className="memtitle"><span className="permalink"><a href="#a1cc194756eebfcbf911f60598b55daed">◆ </a></span>showSchema() <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_1ShowSchemaResponse">ShowSchemaResponse</a> gpudb::GPUdb::showSchema </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSchemaRequest">ShowSchemaRequest</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>Retrieves information about a <a href="/content/concepts/schemas/" target="_top">schema</a> (or all schemas), as specified in <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSchemaRequest#ab426d3779701046c6ea78613c2593a35">schemaName</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_1ShowSchemaRequest">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_1ShowSchemaResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ad7de0c685fbf21daeea86231e8754ddc" />

  <h2 className="memtitle"><span className="permalink"><a href="#ad7de0c685fbf21daeea86231e8754ddc">◆ </a></span>showSchema() <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_1ShowSchemaResponse">ShowSchemaResponse</a> & gpudb::GPUdb::showSchema </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSchemaRequest">ShowSchemaRequest</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_1ShowSchemaResponse">ShowSchemaResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Retrieves information about a <a href="/content/concepts/schemas/" target="_top">schema</a> (or all schemas), as specified in <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSchemaRequest#ab426d3779701046c6ea78613c2593a35">schemaName</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_1ShowSchemaRequest">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_1ShowSchemaResponse">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_1ShowSchemaResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="ab206730d8e790a566f5276653d609572" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab206730d8e790a566f5276653d609572">◆ </a></span>showSchema() <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_1ShowSchemaResponse">ShowSchemaResponse</a> gpudb::GPUdb::showSchema </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">schemaName</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>Retrieves information about a <a href="/content/concepts/schemas/" target="_top">schema</a> (or all schemas), as specified in <span className="em arg">schemaName</span>. </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">schemaName</td>
              <td>Name of the schema for which to retrieve the information. If blank, then info for all schemas is returned. </td>
            </tr>

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

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#af41f688d2e571fea39e93bcb1aae4f3e">show\_schema\_no\_error\_if\_not\_exists</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#abc687a170852e53bc07b6563ba3b07f0">false</a> will return an error if the provided <span className="em arg">schemaName</span> does not exist. If <a className="el" href="/content/api/cpp/namespacegpudb#a616d5dccf626e7832b98f554008408ac">true</a> then it will return an empty result if the provided <span className="em arg">schemaName</span> does not exist. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a616d5dccf626e7832b98f554008408ac">show\_schema\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#abc687a170852e53bc07b6563ba3b07f0">show\_schema\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#abc687a170852e53bc07b6563ba3b07f0">show\_schema\_false</a>.
                  </li>
                </ul>

                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_1ShowSchemaResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a77a202a439aa2b3af6f82368abf2fa34" />

  <h2 className="memtitle"><span className="permalink"><a href="#a77a202a439aa2b3af6f82368abf2fa34">◆ </a></span>showSchema() <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_1ShowSchemaResponse">ShowSchemaResponse</a> & gpudb::GPUdb::showSchema </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">schemaName</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_1ShowSchemaResponse">ShowSchemaResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Retrieves information about a <a href="/content/concepts/schemas/" target="_top">schema</a> (or all schemas), as specified in <span className="em arg">schemaName</span>. </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">schemaName</td>
              <td>Name of the schema for which to retrieve the information. If blank, then info for all schemas is returned. </td>
            </tr>

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

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#af41f688d2e571fea39e93bcb1aae4f3e">show\_schema\_no\_error\_if\_not\_exists</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#abc687a170852e53bc07b6563ba3b07f0">false</a> will return an error if the provided <span className="em arg">schemaName</span> does not exist. If <a className="el" href="/content/api/cpp/namespacegpudb#a616d5dccf626e7832b98f554008408ac">true</a> then it will return an empty result if the provided <span className="em arg">schemaName</span> does not exist. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a616d5dccf626e7832b98f554008408ac">show\_schema\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#abc687a170852e53bc07b6563ba3b07f0">show\_schema\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#abc687a170852e53bc07b6563ba3b07f0">show\_schema\_false</a>.
                  </li>
                </ul>

                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_1ShowSchemaResponse">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_1ShowSchemaResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
