@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-08-17")
public class Schema
extends java.lang.Object
implements org.apache.thrift.TBase<Schema,Schema._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Schema>
| Modifier and Type | Class and Description |
|---|---|
static class |
Schema._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<Schema._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Schema other) |
Schema |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(Schema that) |
Schema._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(Schema._Fields field) |
Indexes |
getIndexes() |
java.lang.String |
getRoute_field() |
java.util.Map<java.lang.String,Table> |
getTables() |
int |
getTablesSize() |
int |
hashCode() |
boolean |
isSet(Schema._Fields field) |
boolean |
isSetIndexes() |
boolean |
isSetRoute_field() |
boolean |
isSetTables() |
void |
putToTables(java.lang.String key,
Table val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Schema._Fields field,
java.lang.Object value) |
Schema |
setIndexes(Indexes indexes) |
void |
setIndexesIsSet(boolean value) |
Schema |
setRoute_field(java.lang.String route_field) |
void |
setRoute_fieldIsSet(boolean value) |
Schema |
setTables(java.util.Map<java.lang.String,Table> tables) |
void |
setTablesIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetIndexes() |
void |
unsetRoute_field() |
void |
unsetTables() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<Schema._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Schema()
public Schema(Schema other)
public Schema deepCopy()
deepCopy in interface org.apache.thrift.TBase<Schema,Schema._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Schema,Schema._Fields>public int getTablesSize()
public void putToTables(java.lang.String key,
Table val)
public java.util.Map<java.lang.String,Table> getTables()
public void unsetTables()
public boolean isSetTables()
public void setTablesIsSet(boolean value)
public Indexes getIndexes()
public void unsetIndexes()
public boolean isSetIndexes()
public void setIndexesIsSet(boolean value)
public java.lang.String getRoute_field()
public Schema setRoute_field(java.lang.String route_field)
public void unsetRoute_field()
public boolean isSetRoute_field()
public void setRoute_fieldIsSet(boolean value)
public void setFieldValue(Schema._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<Schema,Schema._Fields>public java.lang.Object getFieldValue(Schema._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Schema,Schema._Fields>public boolean isSet(Schema._Fields field)
isSet in interface org.apache.thrift.TBase<Schema,Schema._Fields>field - fieldpublic boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(Schema that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Schema other)
compareTo in interface java.lang.Comparable<Schema>public Schema._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Schema,Schema._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Schema,Schema._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<Schema,Schema._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 © 2023. All Rights Reserved.