T
- type of object the predicates can evaluate.Q
- type of the query builder subclass.public static class QueryBuilder.Definition<T,Q extends QueryBuilder<T,Q>>
extends java.lang.Object
Operators are discovered by scanning for methods annotated with QueryBuilder.Operator
. Operator
methods must be public, non-abstract, return a Predicate
, and take a single string as
an argument.
This class is deeply immutable.
Constructor and Description |
---|
Definition(java.lang.Class<? extends Q> clazz) |
public Definition(java.lang.Class<? extends Q> clazz)