public class ConstraintDefinitionNode extends TableElementNode
| Modifier and Type | Class and Description |
|---|---|
static class |
ConstraintDefinitionNode.ConstraintType |
TableElementNode.ElementType| Modifier and Type | Field and Description |
|---|---|
protected TableName |
constraintName |
protected ConstraintDefinitionNode.ConstraintType |
constraintType |
protected Properties |
properties |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
ConstraintDefinitionNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
ResultColumnList |
getColumnList()
Get the column list
|
TableName |
getConstraintName()
Get the constraint name
|
ConstraintDefinitionNode.ConstraintType |
getConstraintType()
Get the constraint type
|
ExistenceCheck |
getExistenceCheck() |
Properties |
getProperties()
Get the optional properties for the backing index to this constraint.
|
ConstraintDefinitionNode.ConstraintType |
getVerifyType()
Get the verify constraint type.
|
void |
init(Object constraintName,
Object constraintType,
Object rcl,
Object properties,
Object checkCondition,
Object constraintText)
Initialize a query tree node.
|
void |
init(Object constraintName,
Object constraintType,
Object rcl,
Object properties,
Object checkCondition,
Object constraintText,
Object behavior,
Object existenceCheck)
Initialize a query tree node.
|
void |
init(Object constraintName,
Object constraintType,
Object rcl,
Object properties,
Object checkCondition,
Object constraintText,
Object behavior,
Object verifyType,
Object existenceCheck)
Initialize a query tree node.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
void |
setConstraintName(String name)
Set the constraint name
|
void |
setProperties(Properties properties)
Set the optional properties for the backing index to this constraint.
|
String |
toString()
Convert this object to a String.
|
getName, init, initaccept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrintprotected TableName constraintName
protected ConstraintDefinitionNode.ConstraintType constraintType
protected Properties properties
public void init(Object constraintName, Object constraintType, Object rcl, Object properties, Object checkCondition, Object constraintText, Object behavior, Object existenceCheck)
QueryTreeNodeinit in class QueryTreeNodepublic void init(Object constraintName, Object constraintType, Object rcl, Object properties, Object checkCondition, Object constraintText)
QueryTreeNodeinit in class QueryTreeNodepublic void init(Object constraintName, Object constraintType, Object rcl, Object properties, Object checkCondition, Object constraintText, Object behavior, Object verifyType, Object existenceCheck)
QueryTreeNodeinit in class QueryTreeNodepublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom in class TableElementNodeStandardExceptionpublic ConstraintDefinitionNode.ConstraintType getConstraintType()
public TableName getConstraintName()
public void setConstraintName(String name) throws StandardException
StandardExceptionpublic ConstraintDefinitionNode.ConstraintType getVerifyType()
public ResultColumnList getColumnList()
public void setProperties(Properties properties)
properties - The optional Properties for this constraint.public Properties getProperties()
public ExistenceCheck getExistenceCheck()
public String toString()
toString in class TableElementNodepublic void printSubNodes(int depth)
printSubNodes in class QueryTreeNodedepth - The depth to indent the sub-nodesCopyright © 2015 FoundationDB, LLC. All rights reserved.