Class DMLModGeneratedColumnsStatementNode
- java.lang.Object
-
- org.apache.derby.impl.sql.compile.QueryTreeNode
-
- org.apache.derby.impl.sql.compile.StatementNode
-
- org.apache.derby.impl.sql.compile.DMLStatementNode
-
- org.apache.derby.impl.sql.compile.DMLModStatementNode
-
- org.apache.derby.impl.sql.compile.DMLModGeneratedColumnsStatementNode
-
- All Implemented Interfaces:
Visitable
- Direct Known Subclasses:
InsertNode
,UpdateNode
abstract class DMLModGeneratedColumnsStatementNode extends DMLModStatementNode
A DMLModGeneratedColumnsStatementNode for a table(with identity columns) modification: to wit, INSERT, UPDATE. The code below used to reside in InsertNode but when we fixed DERBY-6414, rather than duplicating the code in UpdateNode, we moved the common code for insert and update of identity columns to this class.
-
-
Field Summary
Fields Modifier and Type Field Description protected RowLocation[]
autoincRowLocation
protected java.lang.String
identitySequenceUUIDString
-
Fields inherited from class org.apache.derby.impl.sql.compile.DMLModStatementNode
dependentTables, fkColArrays, fkColDescriptors, fkIndexConglomNumbers, fkInfo, fkRefActions, fkSchemaNames, fkTableNames, indexConglomerateNumbers, indexNames, indicesToMaintain, isDependentTable, lockMode, matchingClause, relevantCdl, relevantTriggers, resultColumnList, synonymTableName, targetTableDescriptor, targetTableName, targetVTI, triggerInfo
-
Fields inherited from class org.apache.derby.impl.sql.compile.DMLStatementNode
resultSet
-
Fields inherited from class org.apache.derby.impl.sql.compile.StatementNode
EMPTY_TD_LIST, NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATION
-
Fields inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
-
-
Constructor Summary
Constructors Constructor Description DMLModGeneratedColumnsStatementNode(ResultSetNode resultSet, MatchingClauseNode matchingClause, int statementType, ContextManager cm)
DMLModGeneratedColumnsStatementNode(ResultSetNode resultSet, MatchingClauseNode matchingClause, ContextManager cm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getUUIDofSequenceGenerator()
-
Methods inherited from class org.apache.derby.impl.sql.compile.DMLModStatementNode
acceptChildren, adjustDeferredFlag, bindConstraints, bindRowScopedExpression, generateCheckConstraints, generateCheckConstraints, generateCodeForTemporaryTable, generateGenerationClauses, getAffectedIndexes, getAllRelevantConstraints, getAllRelevantTriggers, getCheckConstraints, getFKInfo, getReadColMap, getResultColumnList, getResultColumnList, getSchemaDescriptor, getTriggerInfo, getXAffectedIndexes, hasCheckConstraints, hasGenerationClauses, inMatchingClause, isAtomic, markAffectedIndexes, normalizeSynonymColumns, optimizeStatement, parseAndBindGenerationClauses, parseCheckConstraint, parseGenerationClause, printSubNodes, requiresDeferredProcessing, setRefActionInfo, setTarget, statementToString, verifyTargetTable
-
Methods inherited from class org.apache.derby.impl.sql.compile.DMLStatementNode
activationKind, bind, bindExpressions, bindExpressionsWithTables, bindResultSetsWithTables, bindTables, generateParameterValueSet, getPrivType, getResultSetNode, makeResultDescription
-
Methods inherited from class org.apache.derby.impl.sql.compile.StatementNode
bindStatement, executeSchemaName, executeStatementName, generate, getCursorInfo, getSPSName, lockTableForCompilation, needsSavepoint, toString, updateIndexStatisticsFor
-
Methods inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode
accept, addTag, addUDTUsagePriv, addUDTUsagePriv, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, copyTagsFrom, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, generate, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContext, getContextManager, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getLongProperty, getNullNode, getOffsetOrderedNodes, getOptimizerFactory, getOptimizerTracer, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, getUDTDesc, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, optimizerTracingIsOn, orReliability, parseSearchCondition, parseStatement, printLabel, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setEndOffset, stackPrint, taggedWith, treePrint, treePrint, verifyClassExist
-
-
-
-
Field Detail
-
autoincRowLocation
protected RowLocation[] autoincRowLocation
-
identitySequenceUUIDString
protected java.lang.String identitySequenceUUIDString
-
-
Constructor Detail
-
DMLModGeneratedColumnsStatementNode
DMLModGeneratedColumnsStatementNode(ResultSetNode resultSet, MatchingClauseNode matchingClause, int statementType, ContextManager cm)
-
DMLModGeneratedColumnsStatementNode
DMLModGeneratedColumnsStatementNode(ResultSetNode resultSet, MatchingClauseNode matchingClause, ContextManager cm)
-
-
Method Detail
-
getUUIDofSequenceGenerator
protected java.lang.String getUUIDofSequenceGenerator() throws StandardException
- Throws:
StandardException
-
-