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

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.api.Partition
All Implemented Interfaces:
com.facebook.thrift.TBase, Serializable

public class Partition
extends Object
implements com.facebook.thrift.TBase, Serializable

See Also:
Serialized Form

Nested Class Summary
static class Partition.Isset
           
 
Field Summary
 Partition.Isset __isset
           
 
Constructor Summary
Partition()
           
Partition(List<String> values, String dbName, String tableName, int createTime, int lastAccessTime, StorageDescriptor sd, Map<String,String> parameters)
           
 
Method Summary
 void addToValues(String elem)
           
 boolean equals(Object that)
           
 boolean equals(Partition that)
           
 int getCreateTime()
           
 String getDbName()
           
 int getLastAccessTime()
           
 Map<String,String> getParameters()
           
 int getParametersSize()
           
 StorageDescriptor getSd()
           
 String getTableName()
           
 List<String> getValues()
           
 Iterator<String> getValuesIterator()
           
 int getValuesSize()
           
 int hashCode()
           
 void putToParameters(String key, String val)
           
 void read(com.facebook.thrift.protocol.TProtocol iprot)
           
 void setCreateTime(int createTime)
           
 void setDbName(String dbName)
           
 void setLastAccessTime(int lastAccessTime)
           
 void setParameters(Map<String,String> parameters)
           
 void setSd(StorageDescriptor sd)
           
 void setTableName(String tableName)
           
 void setValues(List<String> values)
           
 String toString()
           
 void unsetCreateTime()
           
 void unsetDbName()
           
 void unsetLastAccessTime()
           
 void unsetParameters()
           
 void unsetSd()
           
 void unsetTableName()
           
 void unsetValues()
           
 void write(com.facebook.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

__isset

public final Partition.Isset __isset
Constructor Detail

Partition

public Partition()

Partition

public Partition(List<String> values,
                 String dbName,
                 String tableName,
                 int createTime,
                 int lastAccessTime,
                 StorageDescriptor sd,
                 Map<String,String> parameters)
Method Detail

getValuesSize

public int getValuesSize()

getValuesIterator

public Iterator<String> getValuesIterator()

addToValues

public void addToValues(String elem)

getValues

public List<String> getValues()

setValues

public void setValues(List<String> values)

unsetValues

public void unsetValues()

getDbName

public String getDbName()

setDbName

public void setDbName(String dbName)

unsetDbName

public void unsetDbName()

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

unsetTableName

public void unsetTableName()

getCreateTime

public int getCreateTime()

setCreateTime

public void setCreateTime(int createTime)

unsetCreateTime

public void unsetCreateTime()

getLastAccessTime

public int getLastAccessTime()

setLastAccessTime

public void setLastAccessTime(int lastAccessTime)

unsetLastAccessTime

public void unsetLastAccessTime()

getSd

public StorageDescriptor getSd()

setSd

public void setSd(StorageDescriptor sd)

unsetSd

public void unsetSd()

getParametersSize

public int getParametersSize()

putToParameters

public void putToParameters(String key,
                            String val)

getParameters

public Map<String,String> getParameters()

setParameters

public void setParameters(Map<String,String> parameters)

unsetParameters

public void unsetParameters()

equals

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

equals

public boolean equals(Partition that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

read

public void read(com.facebook.thrift.protocol.TProtocol iprot)
          throws com.facebook.thrift.TException
Specified by:
read in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

write

public void write(com.facebook.thrift.protocol.TProtocol oprot)
           throws com.facebook.thrift.TException
Specified by:
write in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 The Apache Software Foundation