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, VerticaStatementCanBeSeparatedByBeginEndPairaddAllMyTokensToTokenList, 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, toStringpublic 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 TCustomSqlStatementpublic void accept(TParseTreeVisitor v)
TParseTreeNodeaccept in interface Visitableaccept in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic 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)
TParseTreeNodeacceptChildren in interface VisitableacceptChildren in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorCopyright © 2019. All rights reserved.