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

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

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

See Also:
Serialized Form

Nested Class Summary
static class SkewedInfo._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<SkewedInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
SkewedInfo()
           
SkewedInfo(List<String> skewedColNames, List<List<String>> skewedColValues, Map<List<String>,String> skewedColValueLocationMaps)
           
SkewedInfo(SkewedInfo other)
          Performs a deep copy on other.
 
Method Summary
 void addToSkewedColNames(String elem)
           
 void addToSkewedColValues(List<String> elem)
           
 void clear()
           
 int compareTo(SkewedInfo other)
           
 SkewedInfo deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(SkewedInfo that)
           
 SkewedInfo._Fields fieldForId(int fieldId)
           
 Object getFieldValue(SkewedInfo._Fields field)
           
 List<String> getSkewedColNames()
           
 Iterator<String> getSkewedColNamesIterator()
           
 int getSkewedColNamesSize()
           
 Map<List<String>,String> getSkewedColValueLocationMaps()
           
 int getSkewedColValueLocationMapsSize()
           
 List<List<String>> getSkewedColValues()
           
 Iterator<List<String>> getSkewedColValuesIterator()
           
 int getSkewedColValuesSize()
           
 int hashCode()
           
 boolean isSet(SkewedInfo._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetSkewedColNames()
          Returns true if field skewedColNames is set (has been assigned a value) and false otherwise
 boolean isSetSkewedColValueLocationMaps()
          Returns true if field skewedColValueLocationMaps is set (has been assigned a value) and false otherwise
 boolean isSetSkewedColValues()
          Returns true if field skewedColValues is set (has been assigned a value) and false otherwise
 void putToSkewedColValueLocationMaps(List<String> key, String val)
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(SkewedInfo._Fields field, Object value)
           
 void setSkewedColNames(List<String> skewedColNames)
           
 void setSkewedColNamesIsSet(boolean value)
           
 void setSkewedColValueLocationMaps(Map<List<String>,String> skewedColValueLocationMaps)
           
 void setSkewedColValueLocationMapsIsSet(boolean value)
           
 void setSkewedColValues(List<List<String>> skewedColValues)
           
 void setSkewedColValuesIsSet(boolean value)
           
 String toString()
           
 void unsetSkewedColNames()
           
 void unsetSkewedColValueLocationMaps()
           
 void unsetSkewedColValues()
           
 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<SkewedInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

SkewedInfo

public SkewedInfo()

SkewedInfo

public SkewedInfo(List<String> skewedColNames,
                  List<List<String>> skewedColValues,
                  Map<List<String>,String> skewedColValueLocationMaps)

SkewedInfo

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

Method Detail

deepCopy

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

clear

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

getSkewedColNamesSize

public int getSkewedColNamesSize()

getSkewedColNamesIterator

public Iterator<String> getSkewedColNamesIterator()

addToSkewedColNames

public void addToSkewedColNames(String elem)

getSkewedColNames

public List<String> getSkewedColNames()

setSkewedColNames

public void setSkewedColNames(List<String> skewedColNames)

unsetSkewedColNames

public void unsetSkewedColNames()

isSetSkewedColNames

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


setSkewedColNamesIsSet

public void setSkewedColNamesIsSet(boolean value)

getSkewedColValuesSize

public int getSkewedColValuesSize()

getSkewedColValuesIterator

public Iterator<List<String>> getSkewedColValuesIterator()

addToSkewedColValues

public void addToSkewedColValues(List<String> elem)

getSkewedColValues

public List<List<String>> getSkewedColValues()

setSkewedColValues

public void setSkewedColValues(List<List<String>> skewedColValues)

unsetSkewedColValues

public void unsetSkewedColValues()

isSetSkewedColValues

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


setSkewedColValuesIsSet

public void setSkewedColValuesIsSet(boolean value)

getSkewedColValueLocationMapsSize

public int getSkewedColValueLocationMapsSize()

putToSkewedColValueLocationMaps

public void putToSkewedColValueLocationMaps(List<String> key,
                                            String val)

getSkewedColValueLocationMaps

public Map<List<String>,String> getSkewedColValueLocationMaps()

setSkewedColValueLocationMaps

public void setSkewedColValueLocationMaps(Map<List<String>,String> skewedColValueLocationMaps)

unsetSkewedColValueLocationMaps

public void unsetSkewedColValueLocationMaps()

isSetSkewedColValueLocationMaps

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


setSkewedColValueLocationMapsIsSet

public void setSkewedColValueLocationMapsIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

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

equals

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

equals

public boolean equals(SkewedInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

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