org.apache.hadoop.hive.metastore.api
Class ColumnStatisticsData

java.lang.Object
  extended by org.apache.thrift.TUnion<ColumnStatisticsData,ColumnStatisticsData._Fields>
      extended by 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.
 
Field Summary
static Map<ColumnStatisticsData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Fields inherited from class org.apache.thrift.TUnion
setField_, value_
 
Constructor Summary
ColumnStatisticsData()
           
ColumnStatisticsData(ColumnStatisticsData._Fields setField, Object value)
           
ColumnStatisticsData(ColumnStatisticsData other)
           
 
Method Summary
static ColumnStatisticsData binaryStats(BinaryColumnStatsData value)
           
static ColumnStatisticsData booleanStats(BooleanColumnStatsData value)
           
protected  void checkType(ColumnStatisticsData._Fields setField, Object value)
           
 int compareTo(ColumnStatisticsData other)
           
 ColumnStatisticsData deepCopy()
           
static ColumnStatisticsData doubleStats(DoubleColumnStatsData value)
           
protected  ColumnStatisticsData._Fields enumForId(short id)
           
 boolean equals(ColumnStatisticsData other)
           
 boolean equals(Object other)
           
 ColumnStatisticsData._Fields fieldForId(int fieldId)
           
 BinaryColumnStatsData getBinaryStats()
           
 BooleanColumnStatsData getBooleanStats()
           
 DoubleColumnStatsData getDoubleStats()
           
protected  org.apache.thrift.protocol.TField getFieldDesc(ColumnStatisticsData._Fields setField)
           
 LongColumnStatsData getLongStats()
           
 StringColumnStatsData getStringStats()
           
protected  org.apache.thrift.protocol.TStruct getStructDesc()
           
 int hashCode()
           
 boolean isSetBinaryStats()
           
 boolean isSetBooleanStats()
           
 boolean isSetDoubleStats()
           
 boolean isSetLongStats()
           
 boolean isSetStringStats()
           
static ColumnStatisticsData longStats(LongColumnStatsData value)
           
 void setBinaryStats(BinaryColumnStatsData value)
           
 void setBooleanStats(BooleanColumnStatsData value)
           
 void setDoubleStats(DoubleColumnStatsData value)
           
 void setLongStats(LongColumnStatsData value)
           
 void setStringStats(StringColumnStatsData value)
           
protected  Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)
           
protected  void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
           
static ColumnStatisticsData stringStats(StringColumnStatsData value)
           
protected  Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID)
           
protected  void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

public static final Map<ColumnStatisticsData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

ColumnStatisticsData

public ColumnStatisticsData()

ColumnStatisticsData

public ColumnStatisticsData(ColumnStatisticsData._Fields setField,
                            Object value)

ColumnStatisticsData

public ColumnStatisticsData(ColumnStatisticsData other)
Method Detail

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