Interface NamedPredicateProviderContext
The context passed to
NamedPredicateProvider.create(NamedPredicateProviderContext).-
Method Summary
-
Method Details
-
predicate
SearchPredicateFactory predicate()- Returns:
- A predicate factory.
If the named predicate was registered on an object field,
this factory expects field paths to be provided relative to that same object field.
This factory is only valid in the present context and must not be used after
NamedPredicateProvider.create(NamedPredicateProviderContext)returns. - See Also:
-
param
- Parameters:
name- The name of the parameter.- Returns:
- The value provided to
NamedPredicateOptionsStep.param(String, Object)for this parameter. - Throws:
SearchException- no value was provided for this parameter.- See Also:
-
paramOptional
- Parameters:
name- The name of the parameter.- Returns:
- An optional containing the value provided to
NamedPredicateOptionsStep.param(String, Object)for this parameter, orOptional.empty()if no value was provided for this parameter. - See Also:
-