Package com.google.gerrit.index.query
Class QueryBuilder.Definition<T,Q extends QueryBuilder<T,Q>>
java.lang.Object
com.google.gerrit.index.query.QueryBuilder.Definition<T,Q>
- Type Parameters:
T
- type of object the predicates can evaluate.Q
- type of the query builder subclass.
- Enclosing class:
- QueryBuilder<T,
Q extends QueryBuilder<T, Q>>
Defines the operators known by a QueryBuilder.
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
Definition
-