public class ColumnStatisticsObj extends Object implements org.apache.thrift.TBase<ColumnStatisticsObj,ColumnStatisticsObj._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ColumnStatisticsObj._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<ColumnStatisticsObj._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ColumnStatisticsObj() |
ColumnStatisticsObj(ColumnStatisticsObj other)
Performs a deep copy on other.
|
ColumnStatisticsObj(String colName,
String colType,
ColumnStatisticsData statsData) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ColumnStatisticsObj other) |
ColumnStatisticsObj |
deepCopy() |
boolean |
equals(ColumnStatisticsObj that) |
boolean |
equals(Object that) |
ColumnStatisticsObj._Fields |
fieldForId(int fieldId) |
String |
getColName() |
String |
getColType() |
Object |
getFieldValue(ColumnStatisticsObj._Fields field) |
ColumnStatisticsData |
getStatsData() |
int |
hashCode() |
boolean |
isSet(ColumnStatisticsObj._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColName()
Returns true if field colName is set (has been assigned a value) and false otherwise
|
boolean |
isSetColType()
Returns true if field colType is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatsData()
Returns true if field statsData is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setColName(String colName) |
void |
setColNameIsSet(boolean value) |
void |
setColType(String colType) |
void |
setColTypeIsSet(boolean value) |
void |
setFieldValue(ColumnStatisticsObj._Fields field,
Object value) |
void |
setStatsData(ColumnStatisticsData statsData) |
void |
setStatsDataIsSet(boolean value) |
String |
toString() |
void |
unsetColName() |
void |
unsetColType() |
void |
unsetStatsData() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ColumnStatisticsObj._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ColumnStatisticsObj()
public ColumnStatisticsObj(String colName, String colType, ColumnStatisticsData statsData)
public ColumnStatisticsObj(ColumnStatisticsObj other)
public ColumnStatisticsObj deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ColumnStatisticsObj,ColumnStatisticsObj._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ColumnStatisticsObj,ColumnStatisticsObj._Fields>
public String getColName()
public void setColName(String colName)
public void unsetColName()
public boolean isSetColName()
public void setColNameIsSet(boolean value)
public String getColType()
public void setColType(String colType)
public void unsetColType()
public boolean isSetColType()
public void setColTypeIsSet(boolean value)
public ColumnStatisticsData getStatsData()
public void setStatsData(ColumnStatisticsData statsData)
public void unsetStatsData()
public boolean isSetStatsData()
public void setStatsDataIsSet(boolean value)
public void setFieldValue(ColumnStatisticsObj._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ColumnStatisticsObj,ColumnStatisticsObj._Fields>
public Object getFieldValue(ColumnStatisticsObj._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ColumnStatisticsObj,ColumnStatisticsObj._Fields>
public boolean isSet(ColumnStatisticsObj._Fields field)
isSet
in interface org.apache.thrift.TBase<ColumnStatisticsObj,ColumnStatisticsObj._Fields>
public boolean equals(ColumnStatisticsObj that)
public int compareTo(ColumnStatisticsObj other)
compareTo
in interface Comparable<ColumnStatisticsObj>
public ColumnStatisticsObj._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ColumnStatisticsObj,ColumnStatisticsObj._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ColumnStatisticsObj,ColumnStatisticsObj._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<ColumnStatisticsObj,ColumnStatisticsObj._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.