Interface ExtendedSearchPredicateFactory<S extends ExtendedSearchPredicateFactory<?>>

    • Method Detail

      • withRoot

        S withRoot​(String objectFieldPath)
        Description copied from interface: SearchPredicateFactory
        Create a new predicate factory whose root for all paths passed to the DSL will be the given object field.

        This is used to call reusable methods that apply the same predicate on different object fields that have same structure (same sub-fields).

        Specified by:
        withRoot in interface SearchPredicateFactory
        objectFieldPath - The path from the current root to an object field that will become the new root.
        A new predicate factory using the given object field as root.