Visitable
public final class FKConstraintDefinitionNode extends ConstraintDefinitionNode
Modifier and Type | Field | Description |
---|---|---|
(package private) int |
refActionDeleteRule |
|
(package private) int |
refActionUpdateRule |
|
(package private) ResultColumnList |
refRcl |
|
(package private) TableName |
refTableName |
|
(package private) SchemaDescriptor |
refTableSd |
apl, backingIndexName, backingIndexUUID, checkCondition, columnList, constraintText, constraintType, DEFERRABLE_DEFAULT, ENFORCED_DEFAULT, INITIALLY_DEFERRED_DEFAULT, properties, uuidFactory
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
AT_ADD_CHECK_CONSTRAINT, AT_ADD_FOREIGN_KEY_CONSTRAINT, AT_ADD_PRIMARY_KEY_CONSTRAINT, AT_ADD_UNIQUE_CONSTRAINT, AT_DROP_COLUMN, AT_DROP_CONSTRAINT, AT_MODIFY_COLUMN, AT_MODIFY_CONSTRAINT, AT_UNKNOWN, elementType, name
Constructor | Description |
---|---|
FKConstraintDefinitionNode(TableName constraintName,
TableName refTableName,
ResultColumnList fkRcl,
ResultColumnList refRcl,
int[] refActions,
ContextManager cm) |
Modifier and Type | Method | Description |
---|---|---|
(package private) void |
acceptChildren(Visitor v) |
Accept a visitor on all child nodes.
|
(package private) void |
bind(DDLStatementNode ddlNode,
DataDictionary dd) |
Bind this constraint definition.
|
(package private) int |
getPrivType() |
|
(package private) ConstraintInfo |
getReferencedConstraintInfo() |
|
TableName |
getRefTableName() |
getAuxiliaryProviderList, getBackingIndexName, getBackingIndexUUID, getCharacteristics, getCheckCondition, getColumnList, getConstraintMoniker, getConstraintText, getConstraintType, getDropBehavior, getDropSchemaName, getProperties, getReferenceCount, getVerifyType, hasCheckConstraint, hasConstraint, hasForeignKeyConstraint, hasPrimaryKeyConstraint, hasUniqueKeyConstraint, isEnabled, isReferenced, qualifyNames, requiresBackingIndex, requiresUniqueIndex, setAuxiliaryProviderList, setCharacteristics, setCheckCondition, setColumnList, setProperties, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, isAtomic, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, optimizerTracingIsOn, orReliability, parseSearchCondition, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setEndOffset, setRefActionInfo, stackPrint, taggedWith, treePrint, treePrint, verifyClassExist
getElementType, getName
TableName refTableName
ResultColumnList refRcl
SchemaDescriptor refTableSd
int refActionDeleteRule
int refActionUpdateRule
FKConstraintDefinitionNode(TableName constraintName, TableName refTableName, ResultColumnList fkRcl, ResultColumnList refRcl, int[] refActions, ContextManager cm)
void bind(DDLStatementNode ddlNode, DataDictionary dd) throws StandardException
bind
in class ConstraintDefinitionNode
dd
- DataDictionaryddlNode
- the create or alter table nodeStandardException
- on errorConstraintInfo getReferencedConstraintInfo()
public TableName getRefTableName()
int getPrivType()
void acceptChildren(Visitor v) throws StandardException
QueryTreeNode
accept(v)
on all visitable fields, as well as
super.acceptChildren(v)
to make sure all visitable fields
defined by the super-class are accepted too.acceptChildren
in class ConstraintDefinitionNode
v
- the visitorStandardException
- on errors raised by the visitorApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.