gudusoft.gsqlparser.stmt
Class TAlterTableStatement
java.lang.Object
gudusoft.gsqlparser.nodes.TParseTreeNode
gudusoft.gsqlparser.TCustomSqlStatement
gudusoft.gsqlparser.stmt.TAlterTableStatement
- All Implemented Interfaces:
- Visitable
public class TAlterTableStatement
- extends TCustomSqlStatement
alter the definition of a nonpartitioned table, a partitioned table, a table partition, or a table subpartition.
Methods inherited from class gudusoft.gsqlparser.TCustomSqlStatement |
addWhereClause, analyzeFromTable, analyzeJoin, analyzeTablename, checkNonQualifiedColumnReferenceInSubQueryOfUplevelStmt, getCteList, getErrorCount, getLabelName, getOutputClause, getParentStmt, getResultColumnList, getReturningClause, getStatements, getSymbolTable, getTargetTable, getTopClause, getTopStatement, getWhereClause, isnzplsql, isoracleplsql, ispgplsql, linkColumnReferenceToTable, locateVariableOrParameter, OracleStatementCanBeSeparatedByBeginEndPair, parsestatement, setCteList, setLabelName, setOutputClause, setParentStmt, setResultColumnList, setReturningClause, setTargetTable, setTopClause, setWhereClause |
Methods inherited from class gudusoft.gsqlparser.nodes.TParseTreeNode |
addAllMyTokensToTokenList, doParse, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, init, init, setDummyTag, setEndToken, setEndToken, setGsqlparser, setNodeType, setStartToken, setStartToken, setString, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TAlterTableStatement
public TAlterTableStatement(EDbVendor dbvendor)
getAlterTableOptionList
public TAlterTableOptionList getAlterTableOptionList()
getMySQLTableOptionList
public TPTNodeList<TMySQLCreateTableOption> getMySQLTableOptionList()
getTableElementList
public TTableElementList getTableElementList()
- column and constraint in
add [,...n] clause
- Returns:
doParseStatement
public int doParseStatement(TCustomSqlStatement psql)
- Overrides:
doParseStatement
in class TCustomSqlStatement
getTableName
public TObjectName getTableName()
- Returns:
- the name of the table to be altered.
accept
public void accept(TParseTreeVisitor v)
- Specified by:
accept
in interface Visitable
- Overrides:
accept
in class TParseTreeNode