|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.metastore.api.Index
public class Index
Nested Class Summary | |
---|---|
static class |
Index._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<Index._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
Index()
|
|
Index(Index other)
Performs a deep copy on other. |
|
Index(String indexName,
int indexType,
String tableName,
String dbName,
List<String> colNames,
String partName)
|
Method Summary | |
---|---|
void |
addToColNames(String elem)
|
void |
clear()
|
int |
compareTo(Index other)
|
Index |
deepCopy()
|
boolean |
equals(Index that)
|
boolean |
equals(Object that)
|
Index._Fields |
fieldForId(int fieldId)
|
List<String> |
getColNames()
|
Iterator<String> |
getColNamesIterator()
|
int |
getColNamesSize()
|
String |
getDbName()
|
Object |
getFieldValue(Index._Fields field)
|
String |
getIndexName()
|
int |
getIndexType()
|
String |
getPartName()
|
String |
getTableName()
|
int |
hashCode()
|
boolean |
isSet(Index._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetColNames()
Returns true if field colNames is set (has been asigned a value) and false otherwise |
boolean |
isSetDbName()
Returns true if field dbName is set (has been asigned a value) and false otherwise |
boolean |
isSetIndexName()
Returns true if field indexName is set (has been asigned a value) and false otherwise |
boolean |
isSetIndexType()
Returns true if field indexType is set (has been asigned a value) and false otherwise |
boolean |
isSetPartName()
Returns true if field partName is set (has been asigned a value) and false otherwise |
boolean |
isSetTableName()
Returns true if field tableName is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setColNames(List<String> colNames)
|
void |
setColNamesIsSet(boolean value)
|
void |
setDbName(String dbName)
|
void |
setDbNameIsSet(boolean value)
|
void |
setFieldValue(Index._Fields field,
Object value)
|
void |
setIndexName(String indexName)
|
void |
setIndexNameIsSet(boolean value)
|
void |
setIndexType(int indexType)
|
void |
setIndexTypeIsSet(boolean value)
|
void |
setPartName(String partName)
|
void |
setPartNameIsSet(boolean value)
|
void |
setTableName(String tableName)
|
void |
setTableNameIsSet(boolean value)
|
String |
toString()
|
void |
unsetColNames()
|
void |
unsetDbName()
|
void |
unsetIndexName()
|
void |
unsetIndexType()
|
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 |
---|
public static final Map<Index._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public Index()
public Index(String indexName, int indexType, String tableName, String dbName, List<String> colNames, String partName)
public Index(Index other)
Method Detail |
---|
public Index deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Index,Index._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Index,Index._Fields>
public String getIndexName()
public void setIndexName(String indexName)
public void unsetIndexName()
public boolean isSetIndexName()
public void setIndexNameIsSet(boolean value)
public int getIndexType()
public void setIndexType(int indexType)
public void unsetIndexType()
public boolean isSetIndexType()
public void setIndexTypeIsSet(boolean value)
public String getTableName()
public void setTableName(String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public int getColNamesSize()
public Iterator<String> getColNamesIterator()
public void addToColNames(String elem)
public List<String> getColNames()
public void setColNames(List<String> colNames)
public void unsetColNames()
public boolean isSetColNames()
public void setColNamesIsSet(boolean value)
public String getPartName()
public void setPartName(String partName)
public void unsetPartName()
public boolean isSetPartName()
public void setPartNameIsSet(boolean value)
public void setFieldValue(Index._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Index,Index._Fields>
public Object getFieldValue(Index._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Index,Index._Fields>
public boolean isSet(Index._Fields field)
isSet
in interface org.apache.thrift.TBase<Index,Index._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(Index that)
public int hashCode()
hashCode
in class Object
public int compareTo(Index other)
compareTo
in interface Comparable<Index>
public Index._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Index,Index._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Index,Index._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Index,Index._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |