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_TYPEAUTOINCREMENT_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() |
String |
getQueryExpression() |
ResultColumnList |
getResultColumns() |
void |
init(Object newObjectName,
Object resultColumns,
Object queryExpression,
Object checkOption,
Object qeText,
Object orderCols,
Object offset,
Object fetchFirst,
Object existenceCheck)
Initializer for a CreateViewNode
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
String |
statementToString() |
String |
toString()
Convert this object to a String.
|
getFullName, getObjectName, getRelativeName, init, initAndCheck, isAtomicaccept, 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, treePrintpublic static final int NO_CHECK_OPTION
public void init(Object newObjectName, Object resultColumns, Object queryExpression, Object checkOption, Object qeText, Object orderCols, Object offset, Object fetchFirst, Object existenceCheck) throws StandardException
init in class QueryTreeNodenewObjectName - 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 DDLStatementNodeStandardExceptionpublic String toString()
toString in class DDLStatementNodepublic String statementToString()
statementToString in class StatementNodepublic void printSubNodes(int depth)
printSubNodes in class QueryTreeNodedepth - The depth of this node in the treepublic int getCheckOption()
public ResultColumnList getResultColumns()
public String getQueryExpression()
public ResultSetNode getParsedQueryExpression()
public OrderByList getOrderByList()
public ValueNode getOffset()
public ValueNode getFetchFirst()
public ExistenceCheck getExistenceCheck()
Copyright © 2015 FoundationDB, LLC. All rights reserved.