Package | Description |
---|---|
org.apache.jdo.impl.jdoql | |
org.apache.jdo.impl.jdoql.tree | |
org.apache.jdo.jdoql.tree |
This package contains the query tree node interfaces, the node visitor interface and the tree walker.
|
Modifier and Type | Class and Description |
---|---|
class |
MemoryQuery
An instance of this class is used to evaluate a
query tree in memory.
|
Modifier and Type | Class and Description |
---|---|
class |
FilterExpressionDumper
An instance of this class is used to print a query tree
into a print stream.
|
Modifier and Type | Method and Description |
---|---|
void |
Tree.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
NodeImpl.arrive(NodeVisitor visitor)
Implements a noop as a default implementation.
|
void |
ParameterDecl.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
VariableDecl.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
AndExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
AscendingOrderingExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
BooleanLiteralExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ConstantExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ByteLiteralExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
CandidateClassImpl.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
TypeImpl.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
CastExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
CharLiteralExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ComplementExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ConditionalAndExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ConditionalOrExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ContainsCallExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
DescendingOrderingExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
DivideExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
DoubleLiteralExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
EndsWithCallExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
EqualsExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
FieldAccessExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
IdentifierExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
FloatLiteralExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
GreaterThanEqualsExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
GreaterThanExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
IntLiteralExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
IsEmptyCallExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
LessThanEqualsExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
LessThanExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
LongLiteralExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
MinusExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
NotEqualsExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
NotExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
OrExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ParameterAccessExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
PlusExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ShortLiteralExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
StartsWithCallExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
StaticFieldAccessExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
ThisExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
TimesExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
UnaryMinusExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
UnaryPlusExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
void |
VariableAccessExpr.arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
java.lang.Object |
Tree.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
NodeImpl.leave(NodeVisitor visitor,
java.lang.Object[] results)
Returns
null as a default implementation. |
java.lang.Object |
ParameterDecl.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
VariableDecl.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
AndExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
AscendingOrderingExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
BooleanLiteralExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ConstantExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ByteLiteralExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
CandidateClassImpl.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
TypeImpl.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
CastExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
CharLiteralExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ComplementExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ConditionalAndExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ConditionalOrExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ContainsCallExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
DescendingOrderingExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
DivideExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
DoubleLiteralExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
EndsWithCallExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
EqualsExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
FieldAccessExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
IdentifierExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
FloatLiteralExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
GreaterThanEqualsExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
GreaterThanExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
IntLiteralExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
IsEmptyCallExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
LessThanEqualsExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
LessThanExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
LongLiteralExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
MinusExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
NotEqualsExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
NotExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
OrExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ParameterAccessExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
PlusExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ShortLiteralExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
StartsWithCallExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
StaticFieldAccessExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
ThisExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
TimesExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
UnaryMinusExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
UnaryPlusExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
java.lang.Object |
VariableAccessExpr.leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
boolean |
Tree.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
NodeImpl.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Returns
true as a default implementation. |
boolean |
AndExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
ConditionalAndExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
ConditionalOrExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
ContainsCallExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
DivideExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
EndsWithCallExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
EqualsExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
GreaterThanEqualsExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
GreaterThanExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
LessThanEqualsExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
LessThanExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
MinusExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
NotEqualsExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
OrExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
PlusExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
StartsWithCallExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
boolean |
TimesExpr.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNodeVisitor
This class provides a default implementation for the node visitor pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.arrive(NodeVisitor visitor)
This method is called by the tree walker when this node is walked
but its children have not been walked yet.
|
java.lang.Object |
Node.leave(NodeVisitor visitor,
java.lang.Object[] results)
This method is called by the tree walker when this node is walked
and all of its children have been walked.
|
java.lang.Object |
TreeWalker.walk(Node node,
NodeVisitor visitor)
Walks the tree specified by the argument
node
implementing a depth first algorithm. |
boolean |
Node.walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method is called by the tree walker after walking each child
except the last child.
|
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.