ConstantActionclass CreateSequenceConstantAction extends DDLConstantAction
| Modifier and Type | Field | Description |
|---|---|---|
private boolean |
_cycle |
|
private DataTypeDescriptor |
_dataType |
|
private long |
_initialValue |
|
private long |
_maxValue |
|
private long |
_minValue |
|
private java.lang.String |
_schemaName |
|
private java.lang.String |
_sequenceName |
|
private long |
_stepValue |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT| Constructor | Description |
|---|---|
CreateSequenceConstantAction(java.lang.String schemaName,
java.lang.String sequenceName,
DataTypeDescriptor dataType,
long initialValue,
long stepValue,
long maxValue,
long minValue,
boolean cycle) |
Make the ConstantAction for a CREATE SEQUENCE statement.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
executeConstantAction(Activation activation) |
This is the guts of the Execution-time logic for CREATE SEQUENCE.
|
java.lang.String |
toString() |
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivilegesprivate java.lang.String _sequenceName
private java.lang.String _schemaName
private DataTypeDescriptor _dataType
private long _initialValue
private long _stepValue
private long _maxValue
private long _minValue
private boolean _cycle
public CreateSequenceConstantAction(java.lang.String schemaName,
java.lang.String sequenceName,
DataTypeDescriptor dataType,
long initialValue,
long stepValue,
long maxValue,
long minValue,
boolean cycle)
sequenceName - The name of the sequence being createddataType - 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 otherwisepublic void executeConstantAction(Activation activation) throws StandardException
activation - The execution environment for this constant action.StandardException - Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)public java.lang.String toString()
toString in class java.lang.ObjectApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.