org.apache.hadoop.hive.ql.plan
Class AlterIndexDesc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.DDLDesc
      extended by org.apache.hadoop.hive.ql.plan.AlterIndexDesc
All Implemented Interfaces:
Serializable

public class AlterIndexDesc
extends DDLDesc
implements Serializable

AlterIndexDesc.

See Also:
Serialized Form

Nested Class Summary
static class AlterIndexDesc.AlterIndexTypes
          alterIndexTypes.
 
Constructor Summary
AlterIndexDesc()
           
AlterIndexDesc(AlterIndexDesc.AlterIndexTypes type)
           
 
Method Summary
 String getBaseTableName()
           
 String getDbName()
           
 String getIndexName()
           
 AlterIndexDesc.AlterIndexTypes getOp()
           
 Map<String,String> getProps()
           
 Map<String,String> getSpec()
           
 void setBaseTableName(String baseTable)
           
 void setDbName(String dbName)
           
 void setIndexName(String indexName)
           
 void setOp(AlterIndexDesc.AlterIndexTypes op)
           
 void setProps(Map<String,String> props)
           
 void setSpec(Map<String,String> partSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlterIndexDesc

public AlterIndexDesc()

AlterIndexDesc

public AlterIndexDesc(AlterIndexDesc.AlterIndexTypes type)
Method Detail

getIndexName

public String getIndexName()
Returns:
the name of the index

setIndexName

public void setIndexName(String indexName)
Parameters:
indexName - the indexName to set

getBaseTableName

public String getBaseTableName()
Returns:
the baseTable

setBaseTableName

public void setBaseTableName(String baseTable)
Parameters:
baseTable - the baseTable to set

getSpec

public Map<String,String> getSpec()
Returns:
the partition spec

setSpec

public void setSpec(Map<String,String> partSpec)
Parameters:
partSpec - the partition spec to set

getDbName

public String getDbName()
Returns:
the name of the database that the base table is in

setDbName

public void setDbName(String dbName)
Parameters:
dbName - the dbName to set

getOp

public AlterIndexDesc.AlterIndexTypes getOp()
Returns:
the op

setOp

public void setOp(AlterIndexDesc.AlterIndexTypes op)
Parameters:
op - the op to set

getProps

public Map<String,String> getProps()
Returns:
the props

setProps

public void setProps(Map<String,String> props)
Parameters:
props - the props to set


Copyright © 2013 The Apache Software Foundation