org.apache.hadoop.hive.metastore.api
Class ColumnStatisticsData
java.lang.Object
org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
org.apache.hadoop.hive.metastore.api.ColumnStatisticsData
- All Implemented Interfaces:
- Serializable, Comparable<ColumnStatisticsData>, org.apache.thrift.TBase<ColumnStatisticsData,ColumnStatisticsData._Fields>
public class ColumnStatisticsData
- extends org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
- See Also:
- Serialized Form
Nested Class Summary |
static class |
ColumnStatisticsData._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Fields inherited from class org.apache.thrift.TUnion |
setField_, value_ |
Methods inherited from class org.apache.thrift.TUnion |
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write |
metaDataMap
public static final Map<ColumnStatisticsData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
ColumnStatisticsData
public ColumnStatisticsData()
ColumnStatisticsData
public ColumnStatisticsData(ColumnStatisticsData._Fields setField,
Object value)
ColumnStatisticsData
public ColumnStatisticsData(ColumnStatisticsData other)
deepCopy
public ColumnStatisticsData deepCopy()
booleanStats
public static ColumnStatisticsData booleanStats(BooleanColumnStatsData value)
longStats
public static ColumnStatisticsData longStats(LongColumnStatsData value)
doubleStats
public static ColumnStatisticsData doubleStats(DoubleColumnStatsData value)
stringStats
public static ColumnStatisticsData stringStats(StringColumnStatsData value)
binaryStats
public static ColumnStatisticsData binaryStats(BinaryColumnStatsData value)
checkType
protected void checkType(ColumnStatisticsData._Fields setField,
Object value)
throws ClassCastException
- Specified by:
checkType
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
- Throws:
ClassCastException
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field)
throws org.apache.thrift.TException
- Specified by:
standardSchemeReadValue
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
- Throws:
org.apache.thrift.TException
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
standardSchemeWriteValue
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
- Throws:
org.apache.thrift.TException
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
short fieldID)
throws org.apache.thrift.TException
- Specified by:
tupleSchemeReadValue
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
- Throws:
org.apache.thrift.TException
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
tupleSchemeWriteValue
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
- Throws:
org.apache.thrift.TException
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(ColumnStatisticsData._Fields setField)
- Specified by:
getFieldDesc
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDesc
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
enumForId
protected ColumnStatisticsData._Fields enumForId(short id)
- Specified by:
enumForId
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
fieldForId
public ColumnStatisticsData._Fields fieldForId(int fieldId)
getBooleanStats
public BooleanColumnStatsData getBooleanStats()
setBooleanStats
public void setBooleanStats(BooleanColumnStatsData value)
getLongStats
public LongColumnStatsData getLongStats()
setLongStats
public void setLongStats(LongColumnStatsData value)
getDoubleStats
public DoubleColumnStatsData getDoubleStats()
setDoubleStats
public void setDoubleStats(DoubleColumnStatsData value)
getStringStats
public StringColumnStatsData getStringStats()
setStringStats
public void setStringStats(StringColumnStatsData value)
getBinaryStats
public BinaryColumnStatsData getBinaryStats()
setBinaryStats
public void setBinaryStats(BinaryColumnStatsData value)
isSetBooleanStats
public boolean isSetBooleanStats()
isSetLongStats
public boolean isSetLongStats()
isSetDoubleStats
public boolean isSetDoubleStats()
isSetStringStats
public boolean isSetStringStats()
isSetBinaryStats
public boolean isSetBinaryStats()
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
equals
public boolean equals(ColumnStatisticsData other)
compareTo
public int compareTo(ColumnStatisticsData other)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2012 The Apache Software Foundation