public class CreateSequenceNode extends DDLStatementNode
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Boolean |
_cycle |
private DataTypeDescriptor |
_dataType |
private java.lang.Long |
_initialValue |
private java.lang.Long |
_maxValue |
private java.lang.Long |
_minValue |
private TableName |
_sequenceName |
private java.lang.Long |
_stepValue |
static int |
SEQUENCE_ELEMENT_COUNT |
ADD_TYPE, DROP_STATISTICS, DROP_TYPE, implicitCreateSchema, LOCKING_TYPE, MODIFY_TYPE, UNKNOWN_TYPE, UPDATE_STATISTICSEMPTY_TD_LIST, NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATIONAUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
CreateSequenceNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindStatement()
Bind this CreateSequenceNode.
|
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
|
ConstantAction |
makeConstantAction()
Create the Constant information that will drive the guts of Execution.
|
java.lang.String |
statementToString() |
java.lang.String |
toString()
Convert this object to a String.
|
activationKind, bindName, generate, getFullName, getObjectName, getRelativeName, getSchemaDescriptor, getSchemaDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, init, initAndCheck, isAtomic, makeFromListexecuteSchemaName, executeStatementName, generate, getSPSName, lockTableForCompilation, makeResultDescription, needsSavepoint, optimizeStatement, updateIndexStatisticsForaccept, acceptChildren, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeTableName, makeTableName, nodeHeader, orReliability, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, stackPrint, treePrint, treePrint, verifyClassExistprivate TableName _sequenceName
private DataTypeDescriptor _dataType
private java.lang.Long _initialValue
private java.lang.Long _stepValue
private java.lang.Long _maxValue
private java.lang.Long _minValue
private java.lang.Boolean _cycle
public static final int SEQUENCE_ELEMENT_COUNT
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 interface Nodeinit in class QueryTreeNodesequenceName - 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 java.lang.String toString()
toString in class DDLStatementNodepublic void bindStatement()
throws StandardException
bindStatement in class StatementNodeStandardException - Thrown on errorpublic java.lang.String statementToString()
statementToString in class StatementNodepublic ConstantAction makeConstantAction()
makeConstantAction in class QueryTreeNodeStandardException - Thrown on failureApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.