Interface ChangeQueryBuilder.ChangeOperandFactory
-
- All Known Subinterfaces:
ChangeQueryBuilder.ChangeHasOperandFactory,ChangeQueryBuilder.ChangeIsOperandFactory
- Enclosing class:
- ChangeQueryBuilder
public static interface ChangeQueryBuilder.ChangeOperandFactoryConverts a operand (operator value) passed to an operator into aPredicate.Register a ChangeOperandFactory in a config Module like this (note, for an example we are using the has predicate, when other predicate plugin operands are created they can be registered in a similar manner):
bind(ChangeHasOperandFactory.class) .annotatedWith(Exports.named("your has operand")) .to(YourClass.class);
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Predicate<ChangeData>create(ChangeQueryBuilder builder)
-
-
-
Method Detail
-
create
Predicate<ChangeData> create(ChangeQueryBuilder builder) throws QueryParseException
- Throws:
QueryParseException
-
-