class_docstr: Describes a schema of a table.
  
  .. note::
  
      Field names are matched by the exact name by default (case sensitive).
class_docstr_tok: ["Describes","a","schema","of","a","table",".","..","note",":",":","Field","names","are","matched","by","the","exact","name","by","default","(","case","sensitive",")","."]
docstr: Constructor of Schema descriptor.
  
  :param schema: The :class:`TableSchema` object.
  :param fields: Dict of fields with the field name and the data type or type string stored.
  :param rowtime: A :class:`RowTime` that Specifies the previously defined field as an
                  event-time attribute.
docstr_tok: ["Constructor","of","Schema","descriptor",".",":","param","schema",":","The",":","class",":","`","TableSchema","`","object",".",":","param","fields",":","Dict","of","fields","with","the","field","name","and","the","data","type","or","type","string","stored",".",":","param","rowtime",":","A",":","class",":","`","RowTime","`","that","Specifies","the","previously","defined","field","as","an","event-time","attribute","."]
code: def __init__(self, schema=None, fields=None, rowtime=None):
      """
      Constructor of Schema descriptor.
  
      :param schema: The :class:`TableSchema` object.
      :param fields: Dict of fields with the field name and the data type or type string stored.
      :param rowtime: A :class:`RowTime` that Specifies the previously defined field as an
                      event-time attribute.
      """
      gateway = get_gateway()
      self._j_schema = (
          gateway.jvm.org.apache.flink.table.descriptors.Schema()
      )
      super(Schema, self).__init__(self._j_schema)
  
      if schema is not None:
          self.schema(schema)
  
      if fields is not None:
          self.fields(fields)
  
      if rowtime is not None:
          self.rowtime(rowtime)
  
imports: import sys
  from abc import ABCMeta
  from collections import OrderedDict
  from py4j.java_gateway import get_method
  from typing import Dict, Union
  from pyflink.java_gateway import get_gateway
  from pyflink.table.table_schema import TableSchema
  from pyflink.table.types import DataType, _to_java_data_type
label_desc: Use image node_id 1 to create a new Schema object from inherited base classes: Descriptor with example: obj = Schema(schema, fields, rowtime)