public class CreateViewNode extends DDLStatementNode
Modifier and Type | Field and Description |
---|---|
static int |
NO_CHECK_OPTION |
ADD_TYPE, DROP_TYPE, LOCKING_TYPE, MODIFY_TYPE, UNKNOWN_TYPE
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
CreateViewNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
int |
getCheckOption() |
ExistenceCheck |
getExistenceCheck() |
ValueNode |
getFetchFirst() |
ValueNode |
getOffset() |
OrderByList |
getOrderByList() |
ResultSetNode |
getParsedQueryExpression() |
java.lang.String |
getQueryExpression() |
ResultColumnList |
getResultColumns() |
void |
init(java.lang.Object newObjectName,
java.lang.Object resultColumns,
java.lang.Object queryExpression,
java.lang.Object checkOption,
java.lang.Object qeText,
java.lang.Object orderCols,
java.lang.Object offset,
java.lang.Object fetchFirst,
java.lang.Object existenceCheck)
Initializer for a CreateViewNode
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
java.lang.String |
statementToString() |
java.lang.String |
toString()
Convert this object to a String.
|
getFullName, getObjectName, getRelativeName, init, initAndCheck, isAtomic
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
public static final int NO_CHECK_OPTION
public void init(java.lang.Object newObjectName, java.lang.Object resultColumns, java.lang.Object queryExpression, java.lang.Object checkOption, java.lang.Object qeText, java.lang.Object orderCols, java.lang.Object offset, java.lang.Object fetchFirst, java.lang.Object existenceCheck) throws StandardException
init
in class QueryTreeNode
newObjectName
- The name of the table to be createdresultColumns
- The column list from the view definition,
if specifiedqueryExpression
- The query expression for the viewcheckOption
- The type of WITH CHECK OPTION that was specified
(NONE for now)qeText
- The text for the queryExpressionorderCols
- ORDER BY listoffset
- OFFSET if any, or nullfetchFirst
- FETCH FIRST if any, or nullStandardException
- Thrown on errorpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class DDLStatementNode
StandardException
public java.lang.String toString()
toString
in class DDLStatementNode
public java.lang.String statementToString()
statementToString
in class StatementNode
public void printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth of this node in the treepublic int getCheckOption()
public ResultColumnList getResultColumns()
public java.lang.String getQueryExpression()
public ResultSetNode getParsedQueryExpression()
public OrderByList getOrderByList()
public ValueNode getOffset()
public ValueNode getFetchFirst()
public ExistenceCheck getExistenceCheck()
Copyright © 2013. All Rights Reserved.