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

Method Summary
<V extends ExpressionVisitor>
void
visitConjunction(Conjunction<V> conjunction)
           
<V extends ExpressionVisitor>
void
visitConstraint(Constraint<V> constraint)
           
<V extends ExpressionVisitor>
void
visitOptional(Optional<V> optional)
           
<V extends ExpressionVisitor>
void
visitProjection(Projection<V> projection)
           
<V extends ExpressionVisitor>
void
visitUnion(Union<V> union)
           
 

Method Detail

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)