public class SetPartitionsStatsRequest extends Object implements org.apache.thrift.TBase<SetPartitionsStatsRequest,SetPartitionsStatsRequest._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
SetPartitionsStatsRequest._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<SetPartitionsStatsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SetPartitionsStatsRequest() |
SetPartitionsStatsRequest(List<ColumnStatistics> colStats) |
SetPartitionsStatsRequest(SetPartitionsStatsRequest other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColStats(ColumnStatistics elem) |
void |
clear() |
int |
compareTo(SetPartitionsStatsRequest other) |
SetPartitionsStatsRequest |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SetPartitionsStatsRequest that) |
SetPartitionsStatsRequest._Fields |
fieldForId(int fieldId) |
List<ColumnStatistics> |
getColStats() |
Iterator<ColumnStatistics> |
getColStatsIterator() |
int |
getColStatsSize() |
Object |
getFieldValue(SetPartitionsStatsRequest._Fields field) |
int |
hashCode() |
boolean |
isSet(SetPartitionsStatsRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColStats()
Returns true if field colStats is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setColStats(List<ColumnStatistics> colStats) |
void |
setColStatsIsSet(boolean value) |
void |
setFieldValue(SetPartitionsStatsRequest._Fields field,
Object value) |
String |
toString() |
void |
unsetColStats() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<SetPartitionsStatsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SetPartitionsStatsRequest()
public SetPartitionsStatsRequest(List<ColumnStatistics> colStats)
public SetPartitionsStatsRequest(SetPartitionsStatsRequest other)
public SetPartitionsStatsRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<SetPartitionsStatsRequest,SetPartitionsStatsRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<SetPartitionsStatsRequest,SetPartitionsStatsRequest._Fields>
public int getColStatsSize()
public Iterator<ColumnStatistics> getColStatsIterator()
public void addToColStats(ColumnStatistics elem)
public List<ColumnStatistics> getColStats()
public void setColStats(List<ColumnStatistics> colStats)
public void unsetColStats()
public boolean isSetColStats()
public void setColStatsIsSet(boolean value)
public void setFieldValue(SetPartitionsStatsRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SetPartitionsStatsRequest,SetPartitionsStatsRequest._Fields>
public Object getFieldValue(SetPartitionsStatsRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<SetPartitionsStatsRequest,SetPartitionsStatsRequest._Fields>
public boolean isSet(SetPartitionsStatsRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<SetPartitionsStatsRequest,SetPartitionsStatsRequest._Fields>
public boolean equals(SetPartitionsStatsRequest that)
public int compareTo(SetPartitionsStatsRequest other)
compareTo
in interface Comparable<SetPartitionsStatsRequest>
public SetPartitionsStatsRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<SetPartitionsStatsRequest,SetPartitionsStatsRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<SetPartitionsStatsRequest,SetPartitionsStatsRequest._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<SetPartitionsStatsRequest,SetPartitionsStatsRequest._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.