public class TableElementNode extends QueryTreeNode
Modifier and Type | Field and Description |
---|---|
static int |
AT_ADD_CHECK_CONSTRAINT |
static int |
AT_ADD_FOREIGN_KEY_CONSTRAINT |
static int |
AT_ADD_PRIMARY_KEY_CONSTRAINT |
static int |
AT_ADD_UNIQUE_CONSTRAINT |
static int |
AT_DROP_COLUMN |
static int |
AT_DROP_CONSTRAINT |
static int |
AT_MODIFY_COLUMN |
static int |
AT_UNKNOWN |
(package private) int |
elementType |
(package private) java.lang.String |
name |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, isPrivilegeCollectionRequired
Constructor and Description |
---|
TableElementNode() |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getElementType()
Get the type of this table element.
|
java.lang.String |
getName()
Get the name from this node.
|
(package private) boolean |
hasCheckConstraint()
Does this element have a check constraint.
|
(package private) boolean |
hasConstraint()
Does this element have a constraint on it.
|
(package private) boolean |
hasForeignKeyConstraint()
Does this element have a foreign key constraint.
|
(package private) boolean |
hasPrimaryKeyConstraint()
Does this element have a primary key constraint.
|
(package private) boolean |
hasUniqueKeyConstraint()
Does this element have a unique key constraint.
|
void |
init(java.lang.Object name)
Initializer for a TableElementNode
|
void |
init(java.lang.Object name,
java.lang.Object elementType)
Initializer for a TableElementNode
|
java.lang.String |
toString()
Convert this object to a String.
|
accept, acceptChildren, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generate, 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, isAtomic, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, orReliability, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, stackPrint, treePrint, treePrint, verifyClassExist
public static final int AT_UNKNOWN
public static final int AT_ADD_FOREIGN_KEY_CONSTRAINT
public static final int AT_ADD_PRIMARY_KEY_CONSTRAINT
public static final int AT_ADD_UNIQUE_CONSTRAINT
public static final int AT_ADD_CHECK_CONSTRAINT
public static final int AT_DROP_CONSTRAINT
public static final int AT_MODIFY_COLUMN
public static final int AT_DROP_COLUMN
java.lang.String name
int elementType
public void init(java.lang.Object name)
init
in interface Node
init
in class QueryTreeNode
name
- The name of the table element, if anypublic void init(java.lang.Object name, java.lang.Object elementType)
init
in interface Node
init
in class QueryTreeNode
name
- The name of the table element, if anypublic java.lang.String toString()
toString
in class QueryTreeNode
boolean hasPrimaryKeyConstraint()
boolean hasUniqueKeyConstraint()
boolean hasForeignKeyConstraint()
boolean hasCheckConstraint()
boolean hasConstraint()
public java.lang.String getName()
int getElementType()
Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.