Class PredicateGeneratorRegistry
java.lang.Object
nl.datasteel.crudcraft.codegen.writer.search.PredicateGeneratorRegistry
Registry for predicate generators that maps search operators to their
corresponding predicate generator implementations. This allows for dynamic
retrieval of the appropriate generator based on the search operator used in
a search request.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PredicateGenerator
of
(SearchOperator op) Retrieves the appropriatePredicateGenerator
for the givenSearchOperator
.
-
Method Details
-
of
Retrieves the appropriatePredicateGenerator
for the givenSearchOperator
. This method allows for dynamic selection of the generator based on the operator used in a search request.- Parameters:
op
- the search operator for which to retrieve the predicate generator- Returns:
- the corresponding predicate generator, or null if no generator is found for the operator
-