public final class NodeFactoryImpl extends NodeFactory
There is one of these per parser context, possibly wrapped for higher-level uses.
| Constructor and Description |
|---|
NodeFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
QueryTreeNode |
getNode(int nodeType,
SQLParserContext pc)
Get a node that takes no initializer arguments.
|
protected String |
nodeName(int nodeType)
Translate a node type from NodeTypes to a class name
|
public QueryTreeNode getNode(int nodeType, SQLParserContext pc) throws StandardException
getNode in class NodeFactorynodeType - Identifier for the type of node.pc - A SQLParserContextStandardException - Thrown on error.protected String nodeName(int nodeType) throws StandardException
nodeType - A node type identifier from NodeTypesStandardException - Thrown on errorCopyright © 2015 FoundationDB, LLC. All rights reserved.