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 java.lang.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 NodeFactory
nodeType
- Identifier for the type of node.pc
- A SQLParserContextStandardException
- Thrown on error.protected java.lang.String nodeName(int nodeType) throws StandardException
nodeType
- A node type identifier from NodeTypesStandardException
- Thrown on errorCopyright © 2013. All Rights Reserved.