com.akiban.sql.parser
Class IndexHintNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.IndexHintNode
- All Implemented Interfaces:
- Visitable
public class IndexHintNode
- extends QueryTreeNode
MySQL's index hint.
| 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, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
IndexHintNode
public IndexHintNode()
init
public void init(Object hintType,
Object hintScope,
Object indexes)
- Description copied from class:
QueryTreeNode
- Initialize a query tree node.
- Overrides:
init in class QueryTreeNode
getHintType
public IndexHintNode.HintType getHintType()
getHintScope
public IndexHintNode.HintScope getHintScope()
getIndexes
public List<String> getIndexes()
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class QueryTreeNode
- Throws:
StandardException
toString
public String toString()
- Convert this object to a String. See comments in QueryTreeNode.java
for how this should be done for tree printing.
- Overrides:
toString in class QueryTreeNode
- Returns:
- This object as a String
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.