class_docstr: A :class:`~pyflink.table.TableResult` is the representation of the statement execution result.
  
  .. versionadded:: 1.11.0
class_docstr_tok: ["A",":","class",":","`","~pyflink.table.TableResult","`","is","the","representation","of","the","statement","execution","result",".","..","versionadded",":",":","1.11.0"]
docstr: Get the schema of result.
  
  The schema of DDL, USE, EXPLAIN:
  ::
  
      +-------------+-------------+----------+
      | column name | column type | comments |
      +-------------+-------------+----------+
      | result      | STRING      |          |
      +-------------+-------------+----------+
  
  The schema of SHOW:
  ::
  
      +---------------+-------------+----------+
      |  column name  | column type | comments |
      +---------------+-------------+----------+
      | <object name> | STRING      |          |
      +---------------+-------------+----------+
      The column name of `SHOW CATALOGS` is "catalog name",
      the column name of `SHOW DATABASES` is "database name",
      the column name of `SHOW TABLES` is "table name",
      the column name of `SHOW VIEWS` is "view name",
      the column name of `SHOW FUNCTIONS` is "function name".
  
  The schema of DESCRIBE:
  ::
  
      +------------------+-------------+-------------------------------------------------+
      | column name      | column type |                 comments                        |
      +------------------+-------------+-------------------------------------------------+
      | name             | STRING      | field name                                      |
      +------------------+-------------+-------------------------------------------------+
      | type             | STRING      | field type expressed as a String                |
      +------------------+-------------+-------------------------------------------------+
      | null             | BOOLEAN     | field nullability: true if a field is nullable, |
      |                  |             | else false                                      |
      +------------------+-------------+-------------------------------------------------+
      | key              | BOOLEAN     | key constraint: 'PRI' for primary keys,         |
      |                  |             | 'UNQ' for unique keys, else null                |
      +------------------+-------------+-------------------------------------------------+
      | computed column  | STRING      | computed column: string expression              |
      |                  |             | if a field is computed column, else null        |
      +------------------+-------------+-------------------------------------------------+
      | watermark        | STRING      | watermark: string expression if a field is      |
      |                  |             | watermark, else null                            |
      +------------------+-------------+-------------------------------------------------+
  
  The schema of INSERT: (one column per one sink)
  ::
  
      +----------------------------+-------------+-----------------------+
      | column name                | column type | comments              |
      +----------------------------+-------------+-----------------------+
      | (name of the insert table) | BIGINT      | the insert table name |
      +----------------------------+-------------+-----------------------+
  
  The schema of SELECT is the selected field names and types.
  
  :return: The schema of result.
  :rtype: pyflink.table.TableSchema
  
  .. versionadded:: 1.11.0
docstr_tok: ["Get","the","schema","of","result",".","The","schema","of","DDL",",","USE",",","EXPLAIN",":",":",":","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","-+","--","--","--","--","--","+","|","column","name","|","column","type","|","comments","|","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","-+","--","--","--","--","--","+","|","result","|","STRING","|","|","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","-+","--","--","--","--","--","+","The","schema","of","SHOW",":",":",":","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","-+","--","--","--","--","--","+","|","column","name","|","column","type","|","comments","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","-+","--","--","--","--","--","+","|","<","object","name",">","|","STRING","|","|","+","--","--","--","--","--","--","--","-+","--","--","--","--","--","--","-+","--","--","--","--","--","+","The","column","name","of","`","SHOW","CATALOGS","`","is","``","catalog","name","''",",","the","column","name","of","`","SHOW","DATABASES","`","is","``","database","name","''",",","the","column","name","of","`","SHOW","TABLES","`","is","``","table","name","''",",","the","column","name","of","`","SHOW","VIEWS","`","is","``","view","name","''",",","the","column","name","of","`","SHOW","FUNCTIONS","`","is","``","function","name","''",".","The","schema","of","DESCRIBE",":",":",":","+","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|","column","name","|","column","type","|","comments","|","+","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|","name","|","STRING","|","field","name","|","+","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|","type","|","STRING","|","field","type","expressed","as","a","String","|","+","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|","null","|","BOOLEAN","|","field","nullability",":","true","if","a","field","is","nullable",",","|","|","|","|","else","false","|","+","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|","key","|","BOOLEAN","|","key","constraint",":","'PRI","'","for","primary","keys",",","|","|","|","|","'UNQ","'","for","unique","keys",",","else","null","|","+","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|","computed","column","|","STRING","|","computed","column",":","string","expression","|","|","|","|","if","a","field","is","computed","column",",","else","null","|","+","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|","watermark","|","STRING","|","watermark",":","string","expression","if","a","field","is","|","|","|","|","watermark",",","else","null","|","+","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","The","schema","of","INSERT",":","(","one","column","per","one","sink",")",":",":","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","-+","|","column","name","|","column","type","|","comments","|","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","-+","|","(","name","of","the","insert","table",")","|","BIGINT","|","the","insert","table","name","|","+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","+","--","--","--","--","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","-+","The","schema","of","SELECT","is","the","selected","field","names","and","types",".",":","return",":","The","schema","of","result",".",":","rtype",":","pyflink.table.TableSchema","..","versionadded",":",":","1.11.0"]
code: def get_table_schema(self) -> TableSchema:
      """
      Get the schema of result.
  
      The schema of DDL, USE, EXPLAIN:
      ::
  
          +-------------+-------------+----------+
          | column name | column type | comments |
          +-------------+-------------+----------+
          | result      | STRING      |          |
          +-------------+-------------+----------+
  
      The schema of SHOW:
      ::
  
          +---------------+-------------+----------+
          |  column name  | column type | comments |
          +---------------+-------------+----------+
          | <object name> | STRING      |          |
          +---------------+-------------+----------+
          The column name of `SHOW CATALOGS` is "catalog name",
          the column name of `SHOW DATABASES` is "database name",
          the column name of `SHOW TABLES` is "table name",
          the column name of `SHOW VIEWS` is "view name",
          the column name of `SHOW FUNCTIONS` is "function name".
  
      The schema of DESCRIBE:
      ::
  
          +------------------+-------------+-------------------------------------------------+
          | column name      | column type |                 comments                        |
          +------------------+-------------+-------------------------------------------------+
          | name             | STRING      | field name                                      |
          +------------------+-------------+-------------------------------------------------+
          | type             | STRING      | field type expressed as a String                |
          +------------------+-------------+-------------------------------------------------+
          | null             | BOOLEAN     | field nullability: true if a field is nullable, |
          |                  |             | else false                                      |
          +------------------+-------------+-------------------------------------------------+
          | key              | BOOLEAN     | key constraint: 'PRI' for primary keys,         |
          |                  |             | 'UNQ' for unique keys, else null                |
          +------------------+-------------+-------------------------------------------------+
          | computed column  | STRING      | computed column: string expression              |
          |                  |             | if a field is computed column, else null        |
          +------------------+-------------+-------------------------------------------------+
          | watermark        | STRING      | watermark: string expression if a field is      |
          |                  |             | watermark, else null                            |
          +------------------+-------------+-------------------------------------------------+
  
      The schema of INSERT: (one column per one sink)
      ::
  
          +----------------------------+-------------+-----------------------+
          | column name                | column type | comments              |
          +----------------------------+-------------+-----------------------+
          | (name of the insert table) | BIGINT      | the insert table name |
          +----------------------------+-------------+-----------------------+
  
      The schema of SELECT is the selected field names and types.
  
      :return: The schema of result.
      :rtype: pyflink.table.TableSchema
  
      .. versionadded:: 1.11.0
      """
      return TableSchema(j_table_schema=self._get_java_table_schema())
  
imports: from typing import Optional
  from py4j.java_gateway import get_method
  from pyflink.common.types import RowKind
  from pyflink.common import Row
  from pyflink.common.job_client import JobClient
  from pyflink.java_gateway import get_gateway
  from pyflink.table.result_kind import ResultKind
  from pyflink.table.table_schema import TableSchema
  from pyflink.table.types import _from_java_data_type
  from pyflink.table.utils import pickled_bytes_to_python_converter
label_desc: Use image node_id 4 for calling the TableResult obj's underlying member method code with example usage: obj.get_table_schema() and returns: TableSchema