Uses of Class
org.datanucleus.store.query.compiler.Node
Packages that use Node
Package
Description
Package handling the (generic) compilation of queries.
Package providing expressions from which a (generically) compiled query is made up.
-
Uses of Node in org.datanucleus.store.query.compiler
Subclasses of Node in org.datanucleus.store.query.compilerFields in org.datanucleus.store.query.compiler declared as NodeFields in org.datanucleus.store.query.compiler with type parameters of type NodeModifier and TypeFieldDescriptionNode.childNodes
List of child nodes in the tree below here.Node.properties
List of properties for the node.AbstractParser.stack
Methods in org.datanucleus.store.query.compiler that return NodeModifier and TypeMethodDescriptionNode.appendChildNode
(Node node) Node.getChildNode
(int index) Node.getFirstChild()
Access the first child node.protected static Node
AbstractParser.getLastDescendantNodeForNode
(Node node) Convenience method to navigate down through descendants to find the last one.Node.getNextChild()
Access the next node.Node.getParent()
Node.insertChildNode
(Node node) Node.insertChildNode
(Node node, int position) Node[]
Node[]
Node[]
Node[]
JDOQLParser.parseOrder
(String expression) Node[]
JPQLParser.parseOrder
(String expression) Node[]
Parser.parseOrder
(String expression) Node[][]
JDOQLParser.parseParameters
(String expression) Node[][]
JPQLParser.parseParameters
(String expression) Node[][]
Parser.parseParameters
(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 beNode[]
JPQLParser.parseResult
(String expression) Node[]
Parser.parseResult
(String expression) Node[]
JDOQLParser.parseTuple
(String expression) Node[]
JPQLParser.parseTuple
(String expression) Node[]
Parser.parseTuple
(String expression) Node[]
JDOQLParser.parseUpdate
(String expression) Node[]
JPQLParser.parseUpdate
(String expression) Node[]
Parser.parseUpdate
(String expression) JDOQLParser.parseVariable
(String expression) JPQLParser.parseVariable
(String expression) Parser.parseVariable
(String expression) Node[][]
JDOQLParser.parseVariables
(String expression) Node[][]
JPQLParser.parseVariables
(String expression) Node[][]
Parser.parseVariables
(String expression) private Node
JDOQLParser.processExpression()
private Node
JPQLParser.processExpression()
private Node[]
JDOQLParser.processFromExpression()
The FROM expression in JDOQL (subquery) is a "candidate alias" expression, like mydomain.MyClass [AS] alias"private Node[]
JPQLParser.processFromExpression()
The FROM expression in JPQL is a comma-separated list of expressions.private Node[]
JDOQLParser.processOrderExpression()
private Node[]
JPQLParser.processOrderExpression()
protected Node
JavaQueryCompiler.swapSubqueryParameters
(Node node) Convenience method that takes the input node if it is a parameter node and swaps the nodeMethods in org.datanucleus.store.query.compiler that return types with arguments of type NodeMethods in org.datanucleus.store.query.compiler with parameters of type NodeModifier and TypeMethodDescriptionvoid
Node.addProperty
(Node node) Node.appendChildNode
(Node node) protected static Node
AbstractParser.getLastDescendantNodeForNode
(Node node) Convenience method to navigate down through descendants to find the last one.Node.insertChildNode
(Node node) Node.insertChildNode
(Node node, int position) void
Node.removeChildNode
(Node node) void
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 and swaps the node -
Uses of Node in org.datanucleus.store.query.expression
Methods in org.datanucleus.store.query.expression with parameters of type NodeModifier and TypeMethodDescriptionprivate Expression
ExpressionCompiler.compileAdditiveMultiplicativeExpression
(Node node) ExpressionCompiler.compileExpression
(Node node) Primary entry point for compiling a node for the filter, grouping, having, result clauses.ExpressionCompiler.compileFromExpression
(Node node, boolean classIsExpression) Primary entry point for compiling a node for the from clause.private Expression
ExpressionCompiler.compileOrAndExpression
(Node node) This method deals with the OR/AND conditions.ExpressionCompiler.compileOrderExpression
(Node node) Primary entry point for compiling a node for the order clause.private Expression
ExpressionCompiler.compilePrimaryExpression
(Node node) private Expression
ExpressionCompiler.compileRelationalExpression
(Node node) private Expression
ExpressionCompiler.compileUnaryExpression
(Node node) private List
<Expression> ExpressionCompiler.getExpressionsForPropertiesOfNode
(Node node) Convenience method to extract properties for this node and return the associated list of expressions.private boolean
ExpressionCompiler.isOperator
(Node node, String operator)