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

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.api.DoubleColumnStatsData
All Implemented Interfaces:
Serializable, Cloneable, Comparable<DoubleColumnStatsData>, org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>

public class DoubleColumnStatsData
extends Object
implements org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class DoubleColumnStatsData._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<DoubleColumnStatsData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
DoubleColumnStatsData()
           
DoubleColumnStatsData(DoubleColumnStatsData other)
          Performs a deep copy on other.
DoubleColumnStatsData(double lowValue, double highValue, long numNulls, long numDVs)
           
 
Method Summary
 void clear()
           
 int compareTo(DoubleColumnStatsData other)
           
 DoubleColumnStatsData deepCopy()
           
 boolean equals(DoubleColumnStatsData that)
           
 boolean equals(Object that)
           
 DoubleColumnStatsData._Fields fieldForId(int fieldId)
           
 Object getFieldValue(DoubleColumnStatsData._Fields field)
           
 double getHighValue()
           
 double getLowValue()
           
 long getNumDVs()
           
 long getNumNulls()
           
 int hashCode()
           
 boolean isSet(DoubleColumnStatsData._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetHighValue()
          Returns true if field highValue is set (has been assigned a value) and false otherwise
 boolean isSetLowValue()
          Returns true if field lowValue is set (has been assigned a value) and false otherwise
 boolean isSetNumDVs()
          Returns true if field numDVs is set (has been assigned a value) and false otherwise
 boolean isSetNumNulls()
          Returns true if field numNulls is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(DoubleColumnStatsData._Fields field, Object value)
           
 void setHighValue(double highValue)
           
 void setHighValueIsSet(boolean value)
           
 void setLowValue(double lowValue)
           
 void setLowValueIsSet(boolean value)
           
 void setNumDVs(long numDVs)
           
 void setNumDVsIsSet(boolean value)
           
 void setNumNulls(long numNulls)
           
 void setNumNullsIsSet(boolean value)
           
 String toString()
           
 void unsetHighValue()
           
 void unsetLowValue()
           
 void unsetNumDVs()
           
 void unsetNumNulls()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

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

DoubleColumnStatsData

public DoubleColumnStatsData()

DoubleColumnStatsData

public DoubleColumnStatsData(double lowValue,
                             double highValue,
                             long numNulls,
                             long numDVs)

DoubleColumnStatsData

public DoubleColumnStatsData(DoubleColumnStatsData other)
Performs a deep copy on other.

Method Detail

deepCopy

public DoubleColumnStatsData deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>

getLowValue

public double getLowValue()

setLowValue

public void setLowValue(double lowValue)

unsetLowValue

public void unsetLowValue()

isSetLowValue

public boolean isSetLowValue()
Returns true if field lowValue is set (has been assigned a value) and false otherwise


setLowValueIsSet

public void setLowValueIsSet(boolean value)

getHighValue

public double getHighValue()

setHighValue

public void setHighValue(double highValue)

unsetHighValue

public void unsetHighValue()

isSetHighValue

public boolean isSetHighValue()
Returns true if field highValue is set (has been assigned a value) and false otherwise


setHighValueIsSet

public void setHighValueIsSet(boolean value)

getNumNulls

public long getNumNulls()

setNumNulls

public void setNumNulls(long numNulls)

unsetNumNulls

public void unsetNumNulls()

isSetNumNulls

public boolean isSetNumNulls()
Returns true if field numNulls is set (has been assigned a value) and false otherwise


setNumNullsIsSet

public void setNumNullsIsSet(boolean value)

getNumDVs

public long getNumDVs()

setNumDVs

public void setNumDVs(long numDVs)

unsetNumDVs

public void unsetNumDVs()

isSetNumDVs

public boolean isSetNumDVs()
Returns true if field numDVs is set (has been assigned a value) and false otherwise


setNumDVsIsSet

public void setNumDVsIsSet(boolean value)

setFieldValue

public void setFieldValue(DoubleColumnStatsData._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>

getFieldValue

public Object getFieldValue(DoubleColumnStatsData._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>

isSet

public boolean isSet(DoubleColumnStatsData._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(DoubleColumnStatsData that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(DoubleColumnStatsData other)
Specified by:
compareTo in interface Comparable<DoubleColumnStatsData>

fieldForId

public DoubleColumnStatsData._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<DoubleColumnStatsData,DoubleColumnStatsData._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2011 The Apache Software Foundation