org.apache.hadoop.hive.metastore.api
Class Partition
java.lang.Object
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
__isset
public final Partition.Isset __isset
Partition
public Partition()
Partition
public Partition(List<String> values,
String dbName,
String tableName,
int createTime,
int lastAccessTime,
StorageDescriptor sd,
Map<String,String> parameters)
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