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

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

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

See Also:
Serialized Form

Nested Class Summary
static class ColumnStatisticsDesc._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<ColumnStatisticsDesc._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
ColumnStatisticsDesc()
           
ColumnStatisticsDesc(boolean isTblLevel, String dbName, String tableName)
           
ColumnStatisticsDesc(ColumnStatisticsDesc other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(ColumnStatisticsDesc other)
           
 ColumnStatisticsDesc deepCopy()
           
 boolean equals(ColumnStatisticsDesc that)
           
 boolean equals(Object that)
           
 ColumnStatisticsDesc._Fields fieldForId(int fieldId)
           
 String getDbName()
           
 Object getFieldValue(ColumnStatisticsDesc._Fields field)
           
 long getLastAnalyzed()
           
 String getPartName()
           
 String getTableName()
           
 int hashCode()
           
 boolean isIsTblLevel()
           
 boolean isSet(ColumnStatisticsDesc._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetDbName()
          Returns true if field dbName is set (has been assigned a value) and false otherwise
 boolean isSetIsTblLevel()
          Returns true if field isTblLevel is set (has been assigned a value) and false otherwise
 boolean isSetLastAnalyzed()
          Returns true if field lastAnalyzed is set (has been assigned a value) and false otherwise
 boolean isSetPartName()
          Returns true if field partName is set (has been assigned a value) and false otherwise
 boolean isSetTableName()
          Returns true if field tableName is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setDbName(String dbName)
           
 void setDbNameIsSet(boolean value)
           
 void setFieldValue(ColumnStatisticsDesc._Fields field, Object value)
           
 void setIsTblLevel(boolean isTblLevel)
           
 void setIsTblLevelIsSet(boolean value)
           
 void setLastAnalyzed(long lastAnalyzed)
           
 void setLastAnalyzedIsSet(boolean value)
           
 void setPartName(String partName)
           
 void setPartNameIsSet(boolean value)
           
 void setTableName(String tableName)
           
 void setTableNameIsSet(boolean value)
           
 String toString()
           
 void unsetDbName()
           
 void unsetIsTblLevel()
           
 void unsetLastAnalyzed()
           
 void unsetPartName()
           
 void unsetTableName()
           
 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<ColumnStatisticsDesc._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

ColumnStatisticsDesc

public ColumnStatisticsDesc()

ColumnStatisticsDesc

public ColumnStatisticsDesc(boolean isTblLevel,
                            String dbName,
                            String tableName)

ColumnStatisticsDesc

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

Method Detail

deepCopy

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

clear

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

isIsTblLevel

public boolean isIsTblLevel()

setIsTblLevel

public void setIsTblLevel(boolean isTblLevel)

unsetIsTblLevel

public void unsetIsTblLevel()

isSetIsTblLevel

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


setIsTblLevelIsSet

public void setIsTblLevelIsSet(boolean value)

getDbName

public String getDbName()

setDbName

public void setDbName(String dbName)

unsetDbName

public void unsetDbName()

isSetDbName

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


setDbNameIsSet

public void setDbNameIsSet(boolean value)

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

unsetTableName

public void unsetTableName()

isSetTableName

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


setTableNameIsSet

public void setTableNameIsSet(boolean value)

getPartName

public String getPartName()

setPartName

public void setPartName(String partName)

unsetPartName

public void unsetPartName()

isSetPartName

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


setPartNameIsSet

public void setPartNameIsSet(boolean value)

getLastAnalyzed

public long getLastAnalyzed()

setLastAnalyzed

public void setLastAnalyzed(long lastAnalyzed)

unsetLastAnalyzed

public void unsetLastAnalyzed()

isSetLastAnalyzed

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


setLastAnalyzedIsSet

public void setLastAnalyzedIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(ColumnStatisticsDesc._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<ColumnStatisticsDesc,ColumnStatisticsDesc._Fields>

equals

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

equals

public boolean equals(ColumnStatisticsDesc that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public ColumnStatisticsDesc._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<ColumnStatisticsDesc,ColumnStatisticsDesc._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<ColumnStatisticsDesc,ColumnStatisticsDesc._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<ColumnStatisticsDesc,ColumnStatisticsDesc._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