@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class ISchema extends java.lang.Object implements org.apache.thrift.TBase<ISchema,ISchema._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ISchema>
| Modifier and Type | Class and Description |
|---|---|
static class |
ISchema._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<ISchema._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
ISchema() |
ISchema(ISchema other)
Performs a deep copy on other.
|
ISchema(SchemaType schemaType,
java.lang.String name,
java.lang.String catName,
java.lang.String dbName,
SchemaCompatibility compatibility,
SchemaValidation validationLevel,
boolean canEvolve) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(ISchema other) |
ISchema |
deepCopy() |
boolean |
equals(ISchema that) |
boolean |
equals(java.lang.Object that) |
ISchema._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
SchemaCompatibility |
getCompatibility() |
java.lang.String |
getDbName() |
java.lang.String |
getDescription() |
java.lang.Object |
getFieldValue(ISchema._Fields field) |
java.lang.String |
getName() |
java.lang.String |
getSchemaGroup() |
SchemaType |
getSchemaType() |
SchemaValidation |
getValidationLevel() |
int |
hashCode() |
boolean |
isCanEvolve() |
boolean |
isSet(ISchema._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCanEvolve()
Returns true if field canEvolve is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatName()
Returns true if field catName is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompatibility()
Returns true if field compatibility is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetSchemaGroup()
Returns true if field schemaGroup is set (has been assigned a value) and false otherwise
|
boolean |
isSetSchemaType()
Returns true if field schemaType is set (has been assigned a value) and false otherwise
|
boolean |
isSetValidationLevel()
Returns true if field validationLevel is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCanEvolve(boolean canEvolve) |
void |
setCanEvolveIsSet(boolean value) |
void |
setCatName(java.lang.String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setCompatibility(SchemaCompatibility compatibility) |
void |
setCompatibilityIsSet(boolean value) |
void |
setDbName(java.lang.String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setDescription(java.lang.String description) |
void |
setDescriptionIsSet(boolean value) |
void |
setFieldValue(ISchema._Fields field,
java.lang.Object value) |
void |
setName(java.lang.String name) |
void |
setNameIsSet(boolean value) |
void |
setSchemaGroup(java.lang.String schemaGroup) |
void |
setSchemaGroupIsSet(boolean value) |
void |
setSchemaType(SchemaType schemaType) |
void |
setSchemaTypeIsSet(boolean value) |
void |
setValidationLevel(SchemaValidation validationLevel) |
void |
setValidationLevelIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCanEvolve() |
void |
unsetCatName() |
void |
unsetCompatibility() |
void |
unsetDbName() |
void |
unsetDescription() |
void |
unsetName() |
void |
unsetSchemaGroup() |
void |
unsetSchemaType() |
void |
unsetValidationLevel() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<ISchema._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ISchema()
public ISchema(SchemaType schemaType, java.lang.String name, java.lang.String catName, java.lang.String dbName, SchemaCompatibility compatibility, SchemaValidation validationLevel, boolean canEvolve)
public ISchema(ISchema other)
public ISchema deepCopy()
deepCopy in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>public SchemaType getSchemaType()
SchemaTypepublic void setSchemaType(SchemaType schemaType)
SchemaTypepublic void unsetSchemaType()
public boolean isSetSchemaType()
public void setSchemaTypeIsSet(boolean value)
public java.lang.String getName()
public void setName(java.lang.String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public java.lang.String getCatName()
public void setCatName(java.lang.String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public java.lang.String getDbName()
public void setDbName(java.lang.String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public SchemaCompatibility getCompatibility()
SchemaCompatibilitypublic void setCompatibility(SchemaCompatibility compatibility)
SchemaCompatibilitypublic void unsetCompatibility()
public boolean isSetCompatibility()
public void setCompatibilityIsSet(boolean value)
public SchemaValidation getValidationLevel()
SchemaValidationpublic void setValidationLevel(SchemaValidation validationLevel)
SchemaValidationpublic void unsetValidationLevel()
public boolean isSetValidationLevel()
public void setValidationLevelIsSet(boolean value)
public boolean isCanEvolve()
public void setCanEvolve(boolean canEvolve)
public void unsetCanEvolve()
public boolean isSetCanEvolve()
public void setCanEvolveIsSet(boolean value)
public java.lang.String getSchemaGroup()
public void setSchemaGroup(java.lang.String schemaGroup)
public void unsetSchemaGroup()
public boolean isSetSchemaGroup()
public void setSchemaGroupIsSet(boolean value)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public void unsetDescription()
public boolean isSetDescription()
public void setDescriptionIsSet(boolean value)
public void setFieldValue(ISchema._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>public java.lang.Object getFieldValue(ISchema._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>public boolean isSet(ISchema._Fields field)
isSet in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(ISchema that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(ISchema other)
compareTo in interface java.lang.Comparable<ISchema>public ISchema._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<ISchema,ISchema._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.