public class PartitionsStatsResult extends Object implements org.apache.thrift.TBase<PartitionsStatsResult,PartitionsStatsResult._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
PartitionsStatsResult._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<PartitionsStatsResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
PartitionsStatsResult() |
PartitionsStatsResult(Map<String,List<ColumnStatisticsObj>> partStats) |
PartitionsStatsResult(PartitionsStatsResult other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(PartitionsStatsResult other) |
PartitionsStatsResult |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PartitionsStatsResult that) |
PartitionsStatsResult._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(PartitionsStatsResult._Fields field) |
Map<String,List<ColumnStatisticsObj>> |
getPartStats() |
int |
getPartStatsSize() |
int |
hashCode() |
boolean |
isSet(PartitionsStatsResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartStats()
Returns true if field partStats is set (has been assigned a value) and false otherwise
|
void |
putToPartStats(String key,
List<ColumnStatisticsObj> val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(PartitionsStatsResult._Fields field,
Object value) |
void |
setPartStats(Map<String,List<ColumnStatisticsObj>> partStats) |
void |
setPartStatsIsSet(boolean value) |
String |
toString() |
void |
unsetPartStats() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<PartitionsStatsResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PartitionsStatsResult()
public PartitionsStatsResult(Map<String,List<ColumnStatisticsObj>> partStats)
public PartitionsStatsResult(PartitionsStatsResult other)
public PartitionsStatsResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PartitionsStatsResult,PartitionsStatsResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PartitionsStatsResult,PartitionsStatsResult._Fields>
public int getPartStatsSize()
public void putToPartStats(String key, List<ColumnStatisticsObj> val)
public Map<String,List<ColumnStatisticsObj>> getPartStats()
public void setPartStats(Map<String,List<ColumnStatisticsObj>> partStats)
public void unsetPartStats()
public boolean isSetPartStats()
public void setPartStatsIsSet(boolean value)
public void setFieldValue(PartitionsStatsResult._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<PartitionsStatsResult,PartitionsStatsResult._Fields>
public Object getFieldValue(PartitionsStatsResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PartitionsStatsResult,PartitionsStatsResult._Fields>
public boolean isSet(PartitionsStatsResult._Fields field)
isSet
in interface org.apache.thrift.TBase<PartitionsStatsResult,PartitionsStatsResult._Fields>
public boolean equals(PartitionsStatsResult that)
public int compareTo(PartitionsStatsResult other)
compareTo
in interface Comparable<PartitionsStatsResult>
public PartitionsStatsResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PartitionsStatsResult,PartitionsStatsResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<PartitionsStatsResult,PartitionsStatsResult._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<PartitionsStatsResult,PartitionsStatsResult._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.