@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class TableMeta extends Object implements org.apache.thrift.TBase<TableMeta,TableMeta._Fields>, Serializable, Cloneable, Comparable<TableMeta>
Modifier and Type | Class and Description |
---|---|
static class |
TableMeta._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TableMeta._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TableMeta() |
TableMeta(String dbName,
String tableName,
String tableType) |
TableMeta(TableMeta other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TableMeta other) |
TableMeta |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TableMeta that) |
TableMeta._Fields |
fieldForId(int fieldId) |
String |
getComments() |
String |
getDbName() |
Object |
getFieldValue(TableMeta._Fields field) |
String |
getTableName() |
String |
getTableType() |
int |
hashCode() |
boolean |
isSet(TableMeta._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetComments()
Returns true if field comments 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 |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableType()
Returns true if field tableType is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setComments(String comments) |
void |
setCommentsIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(TableMeta._Fields field,
Object value) |
void |
setTableName(String tableName) |
void |
setTableNameIsSet(boolean value) |
void |
setTableType(String tableType) |
void |
setTableTypeIsSet(boolean value) |
String |
toString() |
void |
unsetComments() |
void |
unsetDbName() |
void |
unsetTableName() |
void |
unsetTableType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TableMeta._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TableMeta()
public TableMeta(TableMeta other)
public TableMeta deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getTableName()
public void setTableName(String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public String getTableType()
public void setTableType(String tableType)
public void unsetTableType()
public boolean isSetTableType()
public void setTableTypeIsSet(boolean value)
public String getComments()
public void setComments(String comments)
public void unsetComments()
public boolean isSetComments()
public void setCommentsIsSet(boolean value)
public void setFieldValue(TableMeta._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>
public Object getFieldValue(TableMeta._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>
public boolean isSet(TableMeta._Fields field)
isSet
in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>
public boolean equals(TableMeta that)
public int compareTo(TableMeta other)
compareTo
in interface Comparable<TableMeta>
public TableMeta._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016 The Apache Software Foundation. All rights reserved.