public class TableStatsRequest extends Object implements org.apache.thrift.TBase<TableStatsRequest,TableStatsRequest._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
TableStatsRequest._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<TableStatsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TableStatsRequest() |
TableStatsRequest(String dbName,
String tblName,
List<String> colNames) |
TableStatsRequest(TableStatsRequest other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToColNames(String elem) |
void |
clear() |
int |
compareTo(TableStatsRequest other) |
TableStatsRequest |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TableStatsRequest that) |
TableStatsRequest._Fields |
fieldForId(int fieldId) |
List<String> |
getColNames() |
Iterator<String> |
getColNamesIterator() |
int |
getColNamesSize() |
String |
getDbName() |
Object |
getFieldValue(TableStatsRequest._Fields field) |
String |
getTblName() |
int |
hashCode() |
boolean |
isSet(TableStatsRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColNames()
Returns true if field colNames 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 |
isSetTblName()
Returns true if field tblName is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setColNames(List<String> colNames) |
void |
setColNamesIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(TableStatsRequest._Fields field,
Object value) |
void |
setTblName(String tblName) |
void |
setTblNameIsSet(boolean value) |
String |
toString() |
void |
unsetColNames() |
void |
unsetDbName() |
void |
unsetTblName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TableStatsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TableStatsRequest()
public TableStatsRequest(TableStatsRequest other)
public TableStatsRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<TableStatsRequest,TableStatsRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TableStatsRequest,TableStatsRequest._Fields>public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getTblName()
public void setTblName(String tblName)
public void unsetTblName()
public boolean isSetTblName()
public void setTblNameIsSet(boolean value)
public int getColNamesSize()
public void addToColNames(String elem)
public void unsetColNames()
public boolean isSetColNames()
public void setColNamesIsSet(boolean value)
public void setFieldValue(TableStatsRequest._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<TableStatsRequest,TableStatsRequest._Fields>public Object getFieldValue(TableStatsRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TableStatsRequest,TableStatsRequest._Fields>public boolean isSet(TableStatsRequest._Fields field)
isSet in interface org.apache.thrift.TBase<TableStatsRequest,TableStatsRequest._Fields>public boolean equals(TableStatsRequest that)
public int compareTo(TableStatsRequest other)
compareTo in interface Comparable<TableStatsRequest>public TableStatsRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TableStatsRequest,TableStatsRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<TableStatsRequest,TableStatsRequest._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<TableStatsRequest,TableStatsRequest._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.