public class ColumnStatisticsData extends org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
ColumnStatisticsData._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<ColumnStatisticsData._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ColumnStatisticsData() |
ColumnStatisticsData(ColumnStatisticsData._Fields setField,
Object value) |
ColumnStatisticsData(ColumnStatisticsData other) |
public static final Map<ColumnStatisticsData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ColumnStatisticsData()
public ColumnStatisticsData(ColumnStatisticsData._Fields setField, Object value)
public ColumnStatisticsData(ColumnStatisticsData other)
public ColumnStatisticsData deepCopy()
public static ColumnStatisticsData booleanStats(BooleanColumnStatsData value)
public static ColumnStatisticsData longStats(LongColumnStatsData value)
public static ColumnStatisticsData doubleStats(DoubleColumnStatsData value)
public static ColumnStatisticsData stringStats(StringColumnStatsData value)
public static ColumnStatisticsData binaryStats(BinaryColumnStatsData value)
public static ColumnStatisticsData decimalStats(DecimalColumnStatsData value)
public static ColumnStatisticsData dateStats(DateColumnStatsData value)
protected void checkType(ColumnStatisticsData._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
standardSchemeReadValue
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
org.apache.thrift.TException
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
standardSchemeWriteValue
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
org.apache.thrift.TException
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
tupleSchemeReadValue
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
org.apache.thrift.TException
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
tupleSchemeWriteValue
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
org.apache.thrift.TException
protected org.apache.thrift.protocol.TField getFieldDesc(ColumnStatisticsData._Fields setField)
getFieldDesc
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
protected org.apache.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
protected ColumnStatisticsData._Fields enumForId(short id)
enumForId
in class org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
public ColumnStatisticsData._Fields fieldForId(int fieldId)
public BooleanColumnStatsData getBooleanStats()
public void setBooleanStats(BooleanColumnStatsData value)
public LongColumnStatsData getLongStats()
public void setLongStats(LongColumnStatsData value)
public DoubleColumnStatsData getDoubleStats()
public void setDoubleStats(DoubleColumnStatsData value)
public StringColumnStatsData getStringStats()
public void setStringStats(StringColumnStatsData value)
public BinaryColumnStatsData getBinaryStats()
public void setBinaryStats(BinaryColumnStatsData value)
public DecimalColumnStatsData getDecimalStats()
public void setDecimalStats(DecimalColumnStatsData value)
public DateColumnStatsData getDateStats()
public void setDateStats(DateColumnStatsData value)
public boolean isSetBooleanStats()
public boolean isSetLongStats()
public boolean isSetDoubleStats()
public boolean isSetStringStats()
public boolean isSetBinaryStats()
public boolean isSetDecimalStats()
public boolean isSetDateStats()
public boolean equals(ColumnStatisticsData other)
public int compareTo(ColumnStatisticsData other)
Copyright © 2017 The Apache Software Foundation. All rights reserved.