public class PartitionsStatsRequest extends Object implements org.apache.thrift.TBase<PartitionsStatsRequest,PartitionsStatsRequest._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
PartitionsStatsRequest._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<PartitionsStatsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
PartitionsStatsRequest() |
PartitionsStatsRequest(PartitionsStatsRequest other)
Performs a deep copy on other.
|
PartitionsStatsRequest(String dbName,
String tblName,
List<String> colNames,
List<String> partNames) |
Modifier and Type | Method and Description |
---|---|
void |
addToColNames(String elem) |
void |
addToPartNames(String elem) |
void |
clear() |
int |
compareTo(PartitionsStatsRequest other) |
PartitionsStatsRequest |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PartitionsStatsRequest that) |
PartitionsStatsRequest._Fields |
fieldForId(int fieldId) |
List<String> |
getColNames() |
Iterator<String> |
getColNamesIterator() |
int |
getColNamesSize() |
String |
getDbName() |
Object |
getFieldValue(PartitionsStatsRequest._Fields field) |
List<String> |
getPartNames() |
Iterator<String> |
getPartNamesIterator() |
int |
getPartNamesSize() |
String |
getTblName() |
int |
hashCode() |
boolean |
isSet(PartitionsStatsRequest._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 |
isSetPartNames()
Returns true if field partNames 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(PartitionsStatsRequest._Fields field,
Object value) |
void |
setPartNames(List<String> partNames) |
void |
setPartNamesIsSet(boolean value) |
void |
setTblName(String tblName) |
void |
setTblNameIsSet(boolean value) |
String |
toString() |
void |
unsetColNames() |
void |
unsetDbName() |
void |
unsetPartNames() |
void |
unsetTblName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<PartitionsStatsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PartitionsStatsRequest()
public PartitionsStatsRequest(String dbName, String tblName, List<String> colNames, List<String> partNames)
public PartitionsStatsRequest(PartitionsStatsRequest other)
public PartitionsStatsRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PartitionsStatsRequest,PartitionsStatsRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PartitionsStatsRequest,PartitionsStatsRequest._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 int getPartNamesSize()
public void addToPartNames(String elem)
public void unsetPartNames()
public boolean isSetPartNames()
public void setPartNamesIsSet(boolean value)
public void setFieldValue(PartitionsStatsRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<PartitionsStatsRequest,PartitionsStatsRequest._Fields>
public Object getFieldValue(PartitionsStatsRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PartitionsStatsRequest,PartitionsStatsRequest._Fields>
public boolean isSet(PartitionsStatsRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<PartitionsStatsRequest,PartitionsStatsRequest._Fields>
public boolean equals(PartitionsStatsRequest that)
public int compareTo(PartitionsStatsRequest other)
compareTo
in interface Comparable<PartitionsStatsRequest>
public PartitionsStatsRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PartitionsStatsRequest,PartitionsStatsRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<PartitionsStatsRequest,PartitionsStatsRequest._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<PartitionsStatsRequest,PartitionsStatsRequest._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.