public class TAlterIndexStmt extends TCustomSqlStatement
getIndexName()
returns the name of index.dbvendor, dummytag, isparsed, joins, parser, plsqlparser, rootNode, sourcetokenlist, sqlstatementtype, tables
Constructor and Description |
---|
TAlterIndexStmt(EDbVendor dbvendor) |
Modifier and Type | Method and Description |
---|---|
void |
accept(TParseTreeVisitor v)
Accept a visitor
|
void |
acceptChildren(TParseTreeVisitor v)
Accept a visitor to iterate this class and sub-nodes of this class
|
int |
doParseStatement(TCustomSqlStatement psql) |
EAlterIndexOption |
getAlterIndexOption()
Various option about how this index is altered such as rebuild, disable and etc.
|
TObjectName |
getIndexName()
Name of the index
|
TPTNodeList<THiveKeyValueProperty> |
getIndexProperties()
Hive, index properties of SET IDXPROPERTIES clause
|
TObjectName |
getOnIndexName() |
TPartitionExtensionClause |
getPartitionSpec()
Hive, partition spec of
getTableName() |
TObjectName |
getTableName()
The name of the table or view associated with the index
|
void |
setAlterIndexOption(EAlterIndexOption alterIndexOption) |
void |
setIndexName(TObjectName indexName) |
void |
setIndexProperties(TPTNodeList<THiveKeyValueProperty> indexProperties) |
void |
setOnIndexName(TObjectName onIndexName) |
void |
setPartitionSpec(TPartitionExtensionClause partitionSpec) |
addToTables, addWhereClause, analyzeFromTable, analyzeJoin, analyzeTablename, checkNonQualifiedColumnReferenceInSubQueryOfUplevelStmt, clearError, dochecksyntax, findTable, fireOnMetaDatabaseTableColumn, getAncestorStmt, getCteList, getDaxFunctionStack, getEndlabelName, getErrorCount, getFirstPhysicalTable, getIndexColumns, getJoins, getLabelName, getOrphanColumns, getOutputClause, getParentStmt, getResultColumnList, getReturningClause, getStatements, getSymbolTable, getTables, getTargetTable, getTopClause, getTopStatement, getVariableStack, getWhereClause, isnzplsql, isoracleplsql, ispgplsql, isTableACTE, isverticaplsql, linkColumnReferenceToTable, linkColumnToTable, linkToFirstTable, locateVariableOrParameter, OracleStatementCanBeSeparatedByBeginEndPair, parseerrormessagehandle, parsestatement, searchCTEList, searchDaxVariableInStack, setCteList, setEndlabelName, setLabelName, setOutputClause, setParentStmt, setResultColumnList, setReturningClause, setTargetTable, setTopClause, setVariableStack, setWhereClause, VerticaStatementCanBeSeparatedByBeginEndPair
addAllMyTokensToTokenList, appendString, doParse, fastSetString, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, init, init, removeAllMyTokensFromTokenList, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setGsqlparser, setIncludingComment, setNodeType, setStartToken, setStartToken, setStartToken, setStartToken, setString, toScript, toString
public TAlterIndexStmt(EDbVendor dbvendor)
public TObjectName getTableName()
public TObjectName getIndexName()
public TObjectName getOnIndexName()
public EAlterIndexOption getAlterIndexOption()
public TPTNodeList<THiveKeyValueProperty> getIndexProperties()
public TPartitionExtensionClause getPartitionSpec()
getTableName()
public int doParseStatement(TCustomSqlStatement psql)
doParseStatement
in class TCustomSqlStatement
public void accept(TParseTreeVisitor v)
TParseTreeNode
accept
in interface Visitable
accept
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void setOnIndexName(TObjectName onIndexName)
public void setAlterIndexOption(EAlterIndexOption alterIndexOption)
public void setIndexProperties(TPTNodeList<THiveKeyValueProperty> indexProperties)
public void setPartitionSpec(TPartitionExtensionClause partitionSpec)
public void setIndexName(TObjectName indexName)
public void acceptChildren(TParseTreeVisitor v)
TParseTreeNode
acceptChildren
in interface Visitable
acceptChildren
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
Copyright © 2019. All rights reserved.