public class IndexConstraintDefinitionNode extends ConstraintDefinitionNode implements IndexDefinition
ConstraintDefinitionNode.ConstraintType
TableElementNode.ElementType
constraintName, constraintType, properties
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
IndexConstraintDefinitionNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
IndexColumnList |
getIndexColumnList() |
String |
getIndexName() |
JoinNode.JoinType |
getJoinType() |
StorageLocation |
getLocation() |
TableName |
getObjectName() |
boolean |
getUniqueness() |
void |
init(Object tableName,
Object indexColumnList,
Object indexName,
Object joinType,
Object location)
Initialize a query tree node.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
String |
toString()
Convert this object to a String.
|
getColumnList, getConstraintType, getProperties, getVerifyType, init, init, init, setProperties
getName, init, init
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
public void init(Object tableName, Object indexColumnList, Object indexName, Object joinType, Object location)
QueryTreeNode
init
in class QueryTreeNode
public String getIndexName()
public IndexColumnList getIndexColumnList()
getIndexColumnList
in interface IndexDefinition
public JoinNode.JoinType getJoinType()
getJoinType
in interface IndexDefinition
public StorageLocation getLocation()
public boolean getUniqueness()
getUniqueness
in interface IndexDefinition
public TableName getObjectName()
getObjectName
in interface IndexDefinition
public void copyFrom(QueryTreeNode node) throws StandardException
ConstraintDefinitionNode
copyFrom
in class ConstraintDefinitionNode
StandardException
public String toString()
ConstraintDefinitionNode
toString
in class ConstraintDefinitionNode
public void printSubNodes(int depth)
ConstraintDefinitionNode
printSubNodes
in class ConstraintDefinitionNode
depth
- The depth to indent the sub-nodesCopyright © 2013 Akiban Technologies, Inc. All rights reserved.