@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class TableMeta extends java.lang.Object implements org.apache.thrift.TBase<TableMeta,TableMeta._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.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 java.util.Map<TableMeta._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TableMeta() |
TableMeta(java.lang.String dbName,
java.lang.String tableName,
java.lang.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(java.lang.Object that) |
boolean |
equals(TableMeta that) |
TableMeta._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
java.lang.String |
getComments() |
java.lang.String |
getDbName() |
java.lang.Object |
getFieldValue(TableMeta._Fields field) |
java.lang.String |
getTableName() |
java.lang.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 |
isSetCatName()
Returns true if field catName 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 |
setCatName(java.lang.String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setComments(java.lang.String comments) |
void |
setCommentsIsSet(boolean value) |
void |
setDbName(java.lang.String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(TableMeta._Fields field,
java.lang.Object value) |
void |
setTableName(java.lang.String tableName) |
void |
setTableNameIsSet(boolean value) |
void |
setTableType(java.lang.String tableType) |
void |
setTableTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCatName() |
void |
unsetComments() |
void |
unsetDbName() |
void |
unsetTableName() |
void |
unsetTableType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<TableMeta._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TableMeta()
public TableMeta(java.lang.String dbName,
java.lang.String tableName,
java.lang.String tableType)
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 java.lang.String getDbName()
public void setDbName(java.lang.String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public java.lang.String getTableType()
public void setTableType(java.lang.String tableType)
public void unsetTableType()
public boolean isSetTableType()
public void setTableTypeIsSet(boolean value)
public java.lang.String getComments()
public void setComments(java.lang.String comments)
public void unsetComments()
public boolean isSetComments()
public void setCommentsIsSet(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 void setFieldValue(TableMeta._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<TableMeta,TableMeta._Fields>public java.lang.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(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(TableMeta that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(TableMeta other)
compareTo in interface java.lang.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.TExceptionpublic 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.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.