org.apache.hadoop.hive.metastore.api
Class Index
java.lang.Object
org.apache.hadoop.hive.metastore.api.Index
- All Implemented Interfaces:
- Serializable, Cloneable, org.apache.thrift.TBase
public class Index
- extends Object
- implements org.apache.thrift.TBase, Serializable, Cloneable
- See Also:
- Serialized Form
INDEXNAME
public static final int INDEXNAME
- See Also:
- Constant Field Values
INDEXTYPE
public static final int INDEXTYPE
- See Also:
- Constant Field Values
TABLENAME
public static final int TABLENAME
- See Also:
- Constant Field Values
DBNAME
public static final int DBNAME
- See Also:
- Constant Field Values
COLNAMES
public static final int COLNAMES
- See Also:
- Constant Field Values
PARTNAME
public static final int PARTNAME
- See Also:
- Constant Field Values
metaDataMap
public static final Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Index
public Index()
Index
public Index(String indexName,
int indexType,
String tableName,
String dbName,
List<String> colNames,
String partName)
Index
public Index(Index other)
- Performs a deep copy on other.
clone
public Index clone()
- Overrides:
clone
in class Object
getIndexName
public String getIndexName()
setIndexName
public void setIndexName(String indexName)
unsetIndexName
public void unsetIndexName()
isSetIndexName
public boolean isSetIndexName()
getIndexType
public int getIndexType()
setIndexType
public void setIndexType(int indexType)
unsetIndexType
public void unsetIndexType()
isSetIndexType
public boolean isSetIndexType()
getTableName
public String getTableName()
setTableName
public void setTableName(String tableName)
unsetTableName
public void unsetTableName()
isSetTableName
public boolean isSetTableName()
getDbName
public String getDbName()
setDbName
public void setDbName(String dbName)
unsetDbName
public void unsetDbName()
isSetDbName
public boolean isSetDbName()
getColNamesSize
public int getColNamesSize()
getColNamesIterator
public Iterator<String> getColNamesIterator()
addToColNames
public void addToColNames(String elem)
getColNames
public List<String> getColNames()
setColNames
public void setColNames(List<String> colNames)
unsetColNames
public void unsetColNames()
isSetColNames
public boolean isSetColNames()
getPartName
public String getPartName()
setPartName
public void setPartName(String partName)
unsetPartName
public void unsetPartName()
isSetPartName
public boolean isSetPartName()
setFieldValue
public void setFieldValue(int fieldID,
Object value)
- Specified by:
setFieldValue
in interface org.apache.thrift.TBase
getFieldValue
public Object getFieldValue(int fieldID)
- Specified by:
getFieldValue
in interface org.apache.thrift.TBase
isSet
public boolean isSet(int fieldID)
- Specified by:
isSet
in interface org.apache.thrift.TBase
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(Index that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
read
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
- Specified by:
read
in interface org.apache.thrift.TBase
- 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
- 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 © 2009 The Apache Software Foundation