public class CreateSequenceNode extends DDLStatementNode
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 |
---|
CreateSequenceNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
long |
getInitialValue() |
long |
getMaxValue() |
long |
getMinValue() |
long |
getStepValue() |
void |
init(java.lang.Object sequenceName,
java.lang.Object dataType,
java.lang.Object initialValue,
java.lang.Object stepValue,
java.lang.Object maxValue,
java.lang.Object minValue,
java.lang.Object cycle)
Initializer for a CreateSequenceNode
|
boolean |
isCycle() |
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, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
public void init(java.lang.Object sequenceName, java.lang.Object dataType, java.lang.Object initialValue, java.lang.Object stepValue, java.lang.Object maxValue, java.lang.Object minValue, java.lang.Object cycle) throws StandardException
init
in class QueryTreeNode
sequenceName
- The name of the new sequencedataType
- Exact numeric type of the new sequenceinitialValue
- Starting valuestepValue
- Increment amountmaxValue
- Largest value returned by the sequence generatorminValue
- Smallest value returned by the sequence generatorcycle
- True if the generator should wrap around, false otherwiseStandardException
- 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 final long getInitialValue()
public final long getStepValue()
public final long getMaxValue()
public final long getMinValue()
public final boolean isCycle()
Copyright © 2013. All Rights Reserved.