class_docstr: Schema of a table or view.
  
  A schema represents the schema part of a {@code CREATE TABLE (schema) WITH (options)} DDL
  statement in SQL. It defines columns of different kind, constraints, time attributes, and
  watermark strategies. It is possible to reference objects (such as functions or types) across
  different catalogs.
  
  This class is used in the API and catalogs to define an unresolved schema that will be
  translated to ResolvedSchema. Some methods of this class perform basic validation, however, the
  main validation happens during the resolution. Thus, an unresolved schema can be incomplete and
  might be enriched or merged with a different schema at a later stage.
  
  Since an instance of this class is unresolved, it should not be directly persisted. The str()
  shows only a summary of the contained objects.
class_docstr_tok: ["Schema","of","a","table","or","view",".","A","schema","represents","the","schema","part","of","a","{","@","code","CREATE","TABLE","(","schema",")","WITH","(","options",")","}","DDL","statement","in","SQL",".","It","defines","columns","of","different","kind",",","constraints",",","time","attributes",",","and","watermark","strategies",".","It","is","possible","to","reference","objects","(","such","as","functions","or","types",")","across","different","catalogs",".","This","class","is","used","in","the","API","and","catalogs","to","define","an","unresolved","schema","that","will","be","translated","to","ResolvedSchema",".","Some","methods","of","this","class","perform","basic","validation",",","however",",","the","main","validation","happens","during","the","resolution",".","Thus",",","an","unresolved","schema","can","be","incomplete","and","might","be","enriched","or","merged","with","a","different","schema","at","a","later","stage",".","Since","an","instance","of","this","class","is","unresolved",",","it","should","not","be","directly","persisted",".","The","str","(",")","shows","only","a","summary","of","the","contained","objects","."]
code: def __init__(self, j_schema):
      self._j_schema = j_schema
  
file_path: flink/flink-python/pyflink/table/schema.py
imports: from typing import Union, List
  from pyflink.java_gateway import get_gateway
  from pyflink.table import Expression
  from pyflink.table.expression import _get_java_expression
  from pyflink.table.types import DataType, _to_java_data_type
  from pyflink.util.java_utils import to_jarray
label_desc: Use image node_id 1 to create a new Schema object from inherited base classes: object with example: obj = Schema(j_schema)