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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Index.Isset
           
 
Field Summary
 Index.Isset __isset
           
 
Constructor Summary
Index()
           
Index(String indexName, int indexType, String tableName, String dbName, List<String> colNames)
           
 
Method Summary
 void addToColNames(String elem)
           
 boolean equals(Index that)
           
 boolean equals(Object that)
           
 List<String> getColNames()
           
 Iterator<String> getColNamesIterator()
           
 int getColNamesSize()
           
 String getDbName()
           
 String getIndexName()
           
 int getIndexType()
           
 String getTableName()
           
 int hashCode()
           
 void read(com.facebook.thrift.protocol.TProtocol iprot)
           
 void setColNames(List<String> colNames)
           
 void setDbName(String dbName)
           
 void setIndexName(String indexName)
           
 void setIndexType(int indexType)
           
 void setTableName(String tableName)
           
 String toString()
           
 void unsetColNames()
           
 void unsetDbName()
           
 void unsetIndexName()
           
 void unsetIndexType()
           
 void unsetTableName()
           
 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 Index.Isset __isset
Constructor Detail

Index

public Index()

Index

public Index(String indexName,
             int indexType,
             String tableName,
             String dbName,
             List<String> colNames)
Method Detail

getIndexName

public String getIndexName()

setIndexName

public void setIndexName(String indexName)

unsetIndexName

public void unsetIndexName()

getIndexType

public int getIndexType()

setIndexType

public void setIndexType(int indexType)

unsetIndexType

public void unsetIndexType()

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

unsetTableName

public void unsetTableName()

getDbName

public String getDbName()

setDbName

public void setDbName(String dbName)

unsetDbName

public void unsetDbName()

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()

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(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