org.jrdf.query.expression
Interface ExpressionVisitor
- All Known Subinterfaces:
- QueryEngine
- All Known Implementing Classes:
- ExpressionVisitorAdapter, NaiveQueryEngineImpl
public interface ExpressionVisitor
Visits the various expression objects. Can be used to execute or optimize (transform) expressions.
- Version:
- $Revision:$
- Author:
- Andrew Newman
visitProjection
<V extends ExpressionVisitor> void visitProjection(Projection<V> projection)
visitConstraint
<V extends ExpressionVisitor> void visitConstraint(Constraint<V> constraint)
visitConjunction
<V extends ExpressionVisitor> void visitConjunction(Conjunction<V> conjunction)
visitUnion
<V extends ExpressionVisitor> void visitUnion(Union<V> union)
visitOptional
<V extends ExpressionVisitor> void visitOptional(Optional<V> optional)