public class SQLExplainOPToken extends SQLOPToken
Syntax:
EXPLAIN PLAN FOR select stmt | update stmt | delete stmt
| Modifier and Type | Field and Description |
|---|---|
static String |
FUNCTOR
The functor name used to represent this node in an AST
|
BINARY_OPERATOR_NODE, BINDING_NODE, CALL_NODE, DEREF_NODE, FIELD_LIST, IDENTIFIER_NODE, LIST_NODE, LITERAL_NODE, m_nBindingPower, m_sLedASTName, m_sNudASTName, m_sValue, PRECEDENCE_ASSIGNMENT, PRECEDENCE_BITWISE, PRECEDENCE_EXPONENT, PRECEDENCE_IDENTIFIER, PRECEDENCE_KEYWORD, PRECEDENCE_LOGICAL, PRECEDENCE_LOGICAL_BITWISE, PRECEDENCE_PARENTHESES, PRECEDENCE_PRODUCT, PRECEDENCE_RELATIONAL, PRECEDENCE_SUM, PRECEDENCE_UNARY, PRECEDENCE_UNARY_POST, UNARY_OPERATOR_NODE| Constructor and Description |
|---|
SQLExplainOPToken(String id)
Construct a new SQLExplainOPToken with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
advanceToStmt(OPScanner s)
Advance the scanner past any tokens preceding the statement.
|
protected String |
getFunctor()
Get the functor for the new term.
|
Term |
nud(OPParser parser)
Process this token in the context of parser p with the null
denotation.
|
checkAlias, checkAliasledequals, getBindingPower, getId, getLedASTName, getNudASTName, getValue, hashCode, leftBindingPower, newAST, newAST, newAST, newAST, newAST, setBindingPower, setId, setLedASTName, setNudASTName, setValue, toStringpublic static final String FUNCTOR
public SQLExplainOPToken(String id)
id - string identifier for this tokenpublic Term nud(OPParser parser)
IdentifierOPTokennud in class IdentifierOPTokenparser - the parser that is the context for parsingprotected void advanceToStmt(OPScanner s)
s - the scannerprotected String getFunctor()