- Direct Known Subclasses:
- CombineANDsToNIN, CombineINsInOR, CombineNINsInAND, CombineORsToIN, EliminateNOT, EliminateNOTNOT, EliminateNOTOR, EliminateSingleANDOR, ExtendINsInOR, ExtendNINsInAND, PromoteNestedAND, QueryRewriter
public abstract class Rewriter
extends Object
This is the basic interface all query rewriters have to
implement. The implementation should inspect the query expression,
and return a rewritten version of the query if possible. The
implementation should treat the query passed into it as a read-only
object, not modifying it directly or indirectly. If there are any
modification to the query, a new query object must be returned.