com.akiban.sql.parser
Class IndexConstraintDefinitionNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.TableElementNode
com.akiban.sql.parser.ConstraintDefinitionNode
com.akiban.sql.parser.IndexConstraintDefinitionNode
- All Implemented Interfaces:
- IndexDefinition, Visitable
public class IndexConstraintDefinitionNode
- extends ConstraintDefinitionNode
- implements IndexDefinition
| 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 |
IndexConstraintDefinitionNode
public IndexConstraintDefinitionNode()
init
public void init(Object tableName,
Object indexColumnList,
Object indexName,
Object joinType,
Object location)
- Description copied from class:
QueryTreeNode
- Initialize a query tree node.
- Overrides:
init in class QueryTreeNode
getIndexName
public String getIndexName()
getIndexColumnList
public IndexColumnList getIndexColumnList()
- Specified by:
getIndexColumnList in interface IndexDefinition
getJoinType
public JoinNode.JoinType getJoinType()
- Specified by:
getJoinType in interface IndexDefinition
getLocation
public StorageLocation getLocation()
getUniqueness
public boolean getUniqueness()
- Specified by:
getUniqueness in interface IndexDefinition
getObjectName
public TableName getObjectName()
- Specified by:
getObjectName in interface IndexDefinition
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Description copied from class:
ConstraintDefinitionNode
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class ConstraintDefinitionNode
- Throws:
StandardException
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
printSubNodes
public void printSubNodes(int depth)
- Description copied from class:
ConstraintDefinitionNode
- Prints the sub-nodes of this object. See QueryTreeNode.java for
how tree printing is supposed to work.
- Overrides:
printSubNodes in class ConstraintDefinitionNode
- Parameters:
depth - The depth to indent the sub-nodes
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.