|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.TableElementNode
com.akiban.sql.parser.ConstraintDefinitionNode
public class ConstraintDefinitionNode
A ConstraintDefinitionNode is a class for all nodes that can represent constraint definitions.
| Nested Class Summary | |
|---|---|
static class |
ConstraintDefinitionNode.ConstraintType
|
| Nested classes/interfaces inherited from class com.akiban.sql.parser.TableElementNode |
|---|
TableElementNode.ElementType |
| Field Summary | |
|---|---|
protected TableName |
constraintName
|
protected ConstraintDefinitionNode.ConstraintType |
constraintType
|
protected Properties |
properties
|
| Fields inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX |
| Constructor Summary | |
|---|---|
ConstraintDefinitionNode()
|
|
| Method Summary | |
|---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node. |
ResultColumnList |
getColumnList()
Get the column list |
ConstraintDefinitionNode.ConstraintType |
getConstraintType()
Get the constraint type |
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)
Initialize a query tree node. |
void |
init(Object constraintName,
Object constraintType,
Object rcl,
Object properties,
Object checkCondition,
Object constraintText,
Object behavior,
Object verifyType)
Initialize a query tree node. |
void |
printSubNodes(int depth)
Prints the sub-nodes of this object. |
void |
setProperties(Properties properties)
Set the optional properties for the backing index to this constraint. |
String |
toString()
Convert this object to a String. |
| Methods inherited from class com.akiban.sql.parser.TableElementNode |
|---|
getName, init, init |
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
accept, 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, treePrint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected TableName constraintName
protected ConstraintDefinitionNode.ConstraintType constraintType
protected Properties properties
| Constructor Detail |
|---|
public ConstraintDefinitionNode()
| Method Detail |
|---|
public void init(Object constraintName,
Object constraintType,
Object rcl,
Object properties,
Object checkCondition,
Object constraintText,
Object behavior)
QueryTreeNode
init in class QueryTreeNode
public void init(Object constraintName,
Object constraintType,
Object rcl,
Object properties,
Object checkCondition,
Object constraintText)
QueryTreeNode
init in class QueryTreeNode
public void init(Object constraintName,
Object constraintType,
Object rcl,
Object properties,
Object checkCondition,
Object constraintText,
Object behavior,
Object verifyType)
QueryTreeNode
init in class QueryTreeNode
public void copyFrom(QueryTreeNode node)
throws StandardException
copyFrom in class TableElementNodeStandardExceptionpublic ConstraintDefinitionNode.ConstraintType getConstraintType()
public ConstraintDefinitionNode.ConstraintType getVerifyType()
public ResultColumnList getColumnList()
public void setProperties(Properties properties)
properties - The optional Properties for this constraint.public Properties getProperties()
public String toString()
toString in class TableElementNodepublic void printSubNodes(int depth)
printSubNodes in class QueryTreeNodedepth - The depth to indent the sub-nodes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||