com.akiban.sql.parser
Class FKConstraintDefinitionNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.TableElementNode
          extended by com.akiban.sql.parser.ConstraintDefinitionNode
              extended by com.akiban.sql.parser.FKConstraintDefinitionNode
All Implemented Interfaces:
Visitable

public class FKConstraintDefinitionNode
extends ConstraintDefinitionNode

A FKConstraintDefintionNode represents table constraint definitions.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.akiban.sql.parser.ConstraintDefinitionNode
ConstraintDefinitionNode.ConstraintType
 
Nested classes/interfaces inherited from class com.akiban.sql.parser.TableElementNode
TableElementNode.ElementType
 
Field Summary
 
Fields inherited from class com.akiban.sql.parser.ConstraintDefinitionNode
constraintName, constraintType, 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
FKConstraintDefinitionNode()
           
 
Method Summary
 void copyFrom(QueryTreeNode node)
          Fill this node with a deep copy of the given node.
 ResultColumnList getRefResultColumnList()
           
 TableName getRefTableName()
           
 void init(Object constraintName, Object constraintType, Object behavior, Object grouping)
          Initialize a query tree node.
 void init(Object constraintName, Object refTableName, Object fkRcl, Object refRcl, Object refActions, Object grouping)
          Initialize a query tree node.
 boolean isGrouping()
           
 String toString()
          Convert this object to a String.
 
Methods inherited from class com.akiban.sql.parser.ConstraintDefinitionNode
getColumnList, getConstraintType, getProperties, getVerifyType, init, init, printSubNodes, setProperties
 
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, 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
 

Constructor Detail

FKConstraintDefinitionNode

public FKConstraintDefinitionNode()
Method Detail

init

public void init(Object constraintName,
                 Object refTableName,
                 Object fkRcl,
                 Object refRcl,
                 Object refActions,
                 Object grouping)
Description copied from class: QueryTreeNode
Initialize a query tree node.

Overrides:
init in class ConstraintDefinitionNode

init

public void init(Object constraintName,
                 Object constraintType,
                 Object behavior,
                 Object grouping)
Description copied from class: QueryTreeNode
Initialize a query tree node.

Overrides:
init in class QueryTreeNode

copyFrom

public void copyFrom(QueryTreeNode node)
              throws StandardException
Fill this node with a deep copy of the given node.

Overrides:
copyFrom in class ConstraintDefinitionNode
Throws:
StandardException

getRefTableName

public TableName getRefTableName()

getRefResultColumnList

public ResultColumnList getRefResultColumnList()

isGrouping

public boolean isGrouping()

toString

public String toString()
Description copied from class: ConstraintDefinitionNode
Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing.

Overrides:
toString in class ConstraintDefinitionNode
Returns:
This object as a String


Copyright © 2013 Akiban Technologies, Inc. All rights reserved.