org.apache.hadoop.hive.ql.plan
Class AlterIndexDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.DDLDesc
org.apache.hadoop.hive.ql.plan.AlterIndexDesc
- All Implemented Interfaces:
- Serializable
public class AlterIndexDesc
- extends DDLDesc
- implements Serializable
AlterIndexDesc.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlterIndexDesc
public AlterIndexDesc()
AlterIndexDesc
public AlterIndexDesc(AlterIndexDesc.AlterIndexTypes type)
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