Class SearchAggregationDslContext<SC extends SearchAggregationIndexScope<?>,​PDF extends SearchPredicateFactory>

    • Method Detail

      • scope

        public SC scope()
        Returns:
        The search scope.
      • rescope

        public SearchAggregationDslContext<SC,​PDF> rescope​(SC newScope,
                                                                 PDF newPredicateFactory)
        Parameters:
        newScope - The new scope for the new DSL context.
        newPredicateFactory - The new predicate factory for the new DSL context.
        Returns:
        A copy of this DSL context with its scope and predicate factory replaced with the given ones.
      • predicateFactory

        public PDF predicateFactory()
        Returns:
        The predicate factory. Will always return the exact same instance.