public class TAlterTableStatement extends TCustomSqlStatement
dbvendor, dummytag, isparsed, joins, parser, plsqlparser, rootNode, sourcetokenlist, sqlstatementtype, tables
Constructor and Description |
---|
TAlterTableStatement(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) |
TAlterTableOptionList |
getAlterTableOptionList()
Alter options
|
TPTNodeList<TMySQLCreateTableOption> |
getMySQLTableOptionList()
MySQL, table option
|
TTableElementList |
getTableElementList()
Deprecated.
As of v1.6.4.1, all alter table options moved to
getAlterTableOptionList() |
TObjectName |
getTableName()
The name of the table to be altered.
|
void |
setAlterTableOptionList(TAlterTableOptionList alterTableOptionList) |
void |
setMySQLTableOptionList(TPTNodeList<TMySQLCreateTableOption> mySQLTableOptionList) |
void |
setTableElementList(TTableElementList tableElementList) |
void |
setTableName(TObjectName tableName) |
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 TAlterTableStatement(EDbVendor dbvendor)
public TAlterTableOptionList getAlterTableOptionList()
public TPTNodeList<TMySQLCreateTableOption> getMySQLTableOptionList()
public TTableElementList getTableElementList()
getAlterTableOptionList()
public int doParseStatement(TCustomSqlStatement psql)
doParseStatement
in class TCustomSqlStatement
public TObjectName getTableName()
public void accept(TParseTreeVisitor v)
TParseTreeNode
accept
in interface Visitable
accept
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void acceptChildren(TParseTreeVisitor v)
TParseTreeNode
acceptChildren
in interface Visitable
acceptChildren
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void setAlterTableOptionList(TAlterTableOptionList alterTableOptionList)
public void setTableElementList(TTableElementList tableElementList)
public void setMySQLTableOptionList(TPTNodeList<TMySQLCreateTableOption> mySQLTableOptionList)
public void setTableName(TObjectName tableName)
Copyright © 2019. All rights reserved.