protected static interface QueryRewriter.RewriteRule<T> extends java.lang.Comparable<QueryRewriter.RewriteRule<T>>
Modifier and Type | Method and Description |
---|---|
Predicate<T> |
rewrite(QueryRewriter<T> rewriter,
Predicate<T> input)
Apply a rewrite rule to the Predicate.
|
boolean |
useBestCost() |
Predicate<T> rewrite(QueryRewriter<T> rewriter, Predicate<T> input)
input
- the input predicate to be tested, and possibly rewritten.input
and has a rewrite for it; null
if this
rule does not want this predicate.boolean useBestCost()