Class ISchema

java.lang.Object
io.trino.hive.thrift.metastore.ISchema
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ISchema>, org.apache.thrift.TBase<ISchema,ISchema._Fields>, org.apache.thrift.TSerializable

@Generated("Autogenerated by Thrift Compiler (0.17.0)") public class ISchema extends Object implements org.apache.thrift.TBase<ISchema,ISchema._Fields>, Serializable, Cloneable, Comparable<ISchema>
See Also:
  • Field Details

    • metaDataMap

      public static final Map<ISchema._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

  • Method Details

    • deepCopy

      public ISchema deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>
    • getSchemaType

      public SchemaType getSchemaType()
      See Also:
    • setSchemaType

      public ISchema setSchemaType(SchemaType schemaType)
      See Also:
    • unsetSchemaType

      public void unsetSchemaType()
    • isSetSchemaType

      public boolean isSetSchemaType()
      Returns true if field schemaType is set (has been assigned a value) and false otherwise
    • setSchemaTypeIsSet

      public void setSchemaTypeIsSet(boolean value)
    • getName

      public String getName()
    • setName

      public ISchema setName(String name)
    • unsetName

      public void unsetName()
    • isSetName

      public boolean isSetName()
      Returns true if field name is set (has been assigned a value) and false otherwise
    • setNameIsSet

      public void setNameIsSet(boolean value)
    • getCatName

      public String getCatName()
    • setCatName

      public ISchema setCatName(String catName)
    • unsetCatName

      public void unsetCatName()
    • isSetCatName

      public boolean isSetCatName()
      Returns true if field catName is set (has been assigned a value) and false otherwise
    • setCatNameIsSet

      public void setCatNameIsSet(boolean value)
    • getDbName

      public String getDbName()
    • setDbName

      public ISchema setDbName(String dbName)
    • unsetDbName

      public void unsetDbName()
    • isSetDbName

      public boolean isSetDbName()
      Returns true if field dbName is set (has been assigned a value) and false otherwise
    • setDbNameIsSet

      public void setDbNameIsSet(boolean value)
    • getCompatibility

      public SchemaCompatibility getCompatibility()
      See Also:
    • setCompatibility

      public ISchema setCompatibility(SchemaCompatibility compatibility)
      See Also:
    • unsetCompatibility

      public void unsetCompatibility()
    • isSetCompatibility

      public boolean isSetCompatibility()
      Returns true if field compatibility is set (has been assigned a value) and false otherwise
    • setCompatibilityIsSet

      public void setCompatibilityIsSet(boolean value)
    • getValidationLevel

      public SchemaValidation getValidationLevel()
      See Also:
    • setValidationLevel

      public ISchema setValidationLevel(SchemaValidation validationLevel)
      See Also:
    • unsetValidationLevel

      public void unsetValidationLevel()
    • isSetValidationLevel

      public boolean isSetValidationLevel()
      Returns true if field validationLevel is set (has been assigned a value) and false otherwise
    • setValidationLevelIsSet

      public void setValidationLevelIsSet(boolean value)
    • isCanEvolve

      public boolean isCanEvolve()
    • setCanEvolve

      public ISchema setCanEvolve(boolean canEvolve)
    • unsetCanEvolve

      public void unsetCanEvolve()
    • isSetCanEvolve

      public boolean isSetCanEvolve()
      Returns true if field canEvolve is set (has been assigned a value) and false otherwise
    • setCanEvolveIsSet

      public void setCanEvolveIsSet(boolean value)
    • getSchemaGroup

      public String getSchemaGroup()
    • setSchemaGroup

      public ISchema setSchemaGroup(String schemaGroup)
    • unsetSchemaGroup

      public void unsetSchemaGroup()
    • isSetSchemaGroup

      public boolean isSetSchemaGroup()
      Returns true if field schemaGroup is set (has been assigned a value) and false otherwise
    • setSchemaGroupIsSet

      public void setSchemaGroupIsSet(boolean value)
    • getDescription

      public String getDescription()
    • setDescription

      public ISchema setDescription(String description)
    • unsetDescription

      public void unsetDescription()
    • isSetDescription

      public boolean isSetDescription()
      Returns true if field description is set (has been assigned a value) and false otherwise
    • setDescriptionIsSet

      public void setDescriptionIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(ISchema._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>
    • getFieldValue

      public Object getFieldValue(ISchema._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>
    • isSet

      public boolean isSet(ISchema._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(ISchema that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(ISchema other)
      Specified by:
      compareTo in interface Comparable<ISchema>
    • fieldForId

      public ISchema._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException