| Package | Description | 
|---|---|
| org.datanucleus.query.compiler | 
 Package handling the compilation of queries. 
 | 
| org.datanucleus.query.expression | 
 Package providing expressions from which a (generically) compiled query is made up. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ParameterNode
Node representing a parameter. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected Node | 
Node.parent
Parent of this node. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected List<Node> | 
Node.childNodes
List of child nodes in the tree below here. 
 | 
protected List<Node> | 
Node.properties
List of properties for the node. 
 | 
protected Deque<Node> | 
AbstractParser.stack  | 
| Modifier and Type | Method and Description | 
|---|---|
Node | 
Node.appendChildNode(Node node)  | 
Node | 
Node.clone(Node parent)  | 
Node | 
Node.getChildNode(int index)  | 
Node | 
Node.getFirstChild()  | 
protected static Node | 
AbstractParser.getLastDescendantNodeForNode(Node node)
Convenience method to navigate down through descendants to find the last one. 
 | 
Node | 
Node.getNextChild()  | 
Node | 
Node.getParent()  | 
Node | 
Node.insertChildNode(Node node)  | 
Node | 
Node.insertChildNode(Node node,
               int position)  | 
Node | 
Parser.parse(String expression)  | 
Node | 
JDOQLParser.parse(String expression)  | 
Node | 
JPQLParser.parse(String expression)  | 
Node[] | 
Parser.parseFrom(String expression)  | 
Node[] | 
JDOQLParser.parseFrom(String expression)  | 
Node[] | 
JPQLParser.parseFrom(String expression)  | 
Node[] | 
Parser.parseOrder(String expression)  | 
Node[] | 
JDOQLParser.parseOrder(String expression)  | 
Node[] | 
JPQLParser.parseOrder(String expression)  | 
Node[][] | 
Parser.parseParameters(String expression)  | 
Node[][] | 
JDOQLParser.parseParameters(String expression)  | 
Node[][] | 
JPQLParser.parseParameters(String expression)  | 
Node[] | 
Parser.parseResult(String expression)  | 
Node[] | 
JDOQLParser.parseResult(String expression)
The RESULT expression in JDOQL can include aggregates, fields, as well as aliases
 
 myfield [AS] alias, myfield2"
 
 The Node tree for this would be 
 | 
Node[] | 
JPQLParser.parseResult(String expression)  | 
Node[] | 
Parser.parseTuple(String expression)  | 
Node[] | 
JDOQLParser.parseTuple(String expression)  | 
Node[] | 
JPQLParser.parseTuple(String expression)  | 
Node[] | 
Parser.parseUpdate(String expression)  | 
Node[] | 
JDOQLParser.parseUpdate(String expression)  | 
Node[] | 
JPQLParser.parseUpdate(String expression)  | 
Node | 
Parser.parseVariable(String expression)  | 
Node | 
JDOQLParser.parseVariable(String expression)  | 
Node | 
JPQLParser.parseVariable(String expression)  | 
Node[][] | 
Parser.parseVariables(String expression)  | 
Node[][] | 
JDOQLParser.parseVariables(String expression)  | 
Node[][] | 
JPQLParser.parseVariables(String expression)  | 
protected Node | 
JavaQueryCompiler.swapSubqueryParameters(Node node)
Convenience method that takes the input node if it is a parameter node swaps the node to be 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Node> | 
Node.getChildNodes()  | 
List<Node> | 
Node.getProperties()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Node.addProperty(Node node)  | 
Node | 
Node.appendChildNode(Node node)  | 
Node | 
Node.clone(Node parent)  | 
protected static Node | 
AbstractParser.getLastDescendantNodeForNode(Node node)
Convenience method to navigate down through descendants to find the last one. 
 | 
Node | 
Node.insertChildNode(Node node)  | 
Node | 
Node.insertChildNode(Node node,
               int position)  | 
void | 
Node.removeChildNode(Node node)  | 
void | 
Node.setParent(Node parent)  | 
void | 
Node.setPropertyAtPosition(int position,
                     Node node)  | 
protected void | 
JavaQueryCompiler.swapCandidateAliasNodeName(Node node)
Convenience method that takes the input node and if it is set to the original candidate alias
 then swaps the value to the candidate alias. 
 | 
protected Node | 
JavaQueryCompiler.swapSubqueryParameters(Node node)
Convenience method that takes the input node if it is a parameter node swaps the node to be 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Expression | 
ExpressionCompiler.compileExpression(Node node)
Primary entry point for compiling a node for the filter, grouping, having, result clauses. 
 | 
Expression | 
ExpressionCompiler.compileFromExpression(Node node,
                     boolean classIsExpression)
Primary entry point for compiling a node for the from clause. 
 | 
Expression | 
ExpressionCompiler.compileOrderExpression(Node node)
Primary entry point for compiling a node for the order clause. 
 | 
Copyright © 2018. All rights reserved.