Package io.trino.hive.thrift.metastore
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ISchema._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionISchema()Performs a deep copy on other.ISchema(SchemaType schemaType, String name, String catName, String dbName, SchemaCompatibility compatibility, SchemaValidation validationLevel, boolean canEvolve) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getFieldValue(ISchema._Fields field) getName()inthashCode()booleanbooleanisSet(ISchema._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field canEvolve is set (has been assigned a value) and false otherwisebooleanReturns true if field catName is set (has been assigned a value) and false otherwisebooleanReturns true if field compatibility is set (has been assigned a value) and false otherwisebooleanReturns true if field dbName is set (has been assigned a value) and false otherwisebooleanReturns true if field description is set (has been assigned a value) and false otherwisebooleanReturns true if field name is set (has been assigned a value) and false otherwisebooleanReturns true if field schemaGroup is set (has been assigned a value) and false otherwisebooleanReturns true if field schemaType is set (has been assigned a value) and false otherwisebooleanReturns true if field validationLevel is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCanEvolve(boolean canEvolve) voidsetCanEvolveIsSet(boolean value) setCatName(String catName) voidsetCatNameIsSet(boolean value) setCompatibility(SchemaCompatibility compatibility) voidsetCompatibilityIsSet(boolean value) voidsetDbNameIsSet(boolean value) setDescription(String description) voidsetDescriptionIsSet(boolean value) voidsetFieldValue(ISchema._Fields field, Object value) voidsetNameIsSet(boolean value) setSchemaGroup(String schemaGroup) voidsetSchemaGroupIsSet(boolean value) setSchemaType(SchemaType schemaType) voidsetSchemaTypeIsSet(boolean value) setValidationLevel(SchemaValidation validationLevel) voidsetValidationLevelIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
ISchema
public ISchema() -
ISchema
public ISchema(SchemaType schemaType, String name, String catName, String dbName, SchemaCompatibility compatibility, SchemaValidation validationLevel, boolean canEvolve) -
ISchema
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ISchema,ISchema._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ISchema,ISchema._Fields>
-
getSchemaType
- See Also:
-
setSchemaType
- 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
-
setName
-
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
-
setCatName
-
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
-
setDbName
-
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
- See Also:
-
setCompatibility
- 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
- See Also:
-
setValidationLevel
- 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
-
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
-
setSchemaGroup
-
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
-
setDescription
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ISchema,ISchema._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ISchema,ISchema._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ISchema,ISchema._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ISchema>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ISchema,ISchema._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-