Uses of Interface
org.hibernate.search.engine.search.predicate.dsl.SearchPredicateFactory
Package
Description
-
Uses of SearchPredicateFactory in org.hibernate.search.backend.elasticsearch
Modifier and TypeMethodDescriptionElasticsearchExtension.extendOptional
(SearchPredicateFactory original) Attempt to extend a given factory, returning an emptyOptional
in case of failure. -
Uses of SearchPredicateFactory in org.hibernate.search.backend.elasticsearch.search.predicate.dsl
Modifier and TypeInterfaceDescriptioninterface
A factory for search predicates with some Elasticsearch-specific methods. -
Uses of SearchPredicateFactory in org.hibernate.search.backend.lucene
Modifier and TypeMethodDescriptionLuceneExtension.extendOptional
(SearchPredicateFactory original) Attempt to extend a given factory, returning an emptyOptional
in case of failure. -
Uses of SearchPredicateFactory in org.hibernate.search.backend.lucene.search.predicate.dsl
Modifier and TypeInterfaceDescriptioninterface
A factory for search predicates with some Lucene-specific methods. -
Uses of SearchPredicateFactory in org.hibernate.search.engine.mapper.scope.spi
-
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.aggregation.dsl
Modifier and TypeInterfaceDescriptioninterface
AggregationFilterStep<S,
PDF extends SearchPredicateFactory> The step in an aggregation definition where a filter can be set to select nested objects from which values will be extracted for this aggregation.interface
ExtendedSearchAggregationFactory<S extends ExtendedSearchAggregationFactory<?,
PDF>, PDF extends SearchPredicateFactory> A base interface for subtypes ofSearchAggregationFactory
allowing to easily override the self type and predicate factory type for all relevant methods.interface
RangeAggregationFieldStep<PDF extends SearchPredicateFactory>
The initial step in a "range" aggregation definition, where the target field can be set.interface
RangeAggregationOptionsStep<S extends RangeAggregationOptionsStep<?,
PDF, F, A>, PDF extends SearchPredicateFactory, F, A> The final step in a "range" aggregation definition, where optional parameters can be set.interface
RangeAggregationRangeMoreStep<S extends RangeAggregationRangeMoreStep<?,
?, PDF, F>, N extends RangeAggregationOptionsStep<?, PDF, F, Map<Range<F>, Long>>, PDF extends SearchPredicateFactory, F> The step in a "range" aggregation definition where optional parameters can be set, (see the superinterfaceRangeAggregationOptionsStep
), or more ranges can be added.interface
RangeAggregationRangeStep<N extends RangeAggregationRangeMoreStep<?,
?, PDF, F>, PDF extends SearchPredicateFactory, F> The step in a "range" aggregation definition where the ranges can be set.interface
TermsAggregationFieldStep<PDF extends SearchPredicateFactory>
The initial step in a "terms" aggregation definition, where the target field can be set.interface
TermsAggregationOptionsStep<S extends TermsAggregationOptionsStep<?,
PDF, F, A>, PDF extends SearchPredicateFactory, F, A> The final step in a "terms" aggregation definition, where optional parameters can be set. -
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.aggregation.dsl.spi
Modifier and TypeClassDescriptionclass
AbstractSearchAggregationFactory<S extends ExtendedSearchAggregationFactory<S,
PDF>, SC extends SearchAggregationIndexScope<?>, PDF extends SearchPredicateFactory> class
SearchAggregationDslContext<SC extends SearchAggregationIndexScope<?>,
PDF extends SearchPredicateFactory> Represents the current context in the search DSL, including in particular the search scope and the aggregation builder factory.Modifier and TypeMethodDescriptionstatic <SC extends SearchAggregationIndexScope<?>,
PDF extends SearchPredicateFactory>
SearchAggregationDslContext<SC, PDF> SearchAggregationDslContext.root
(SC scope, PDF predicateFactory) -
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.predicate.definition
-
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.predicate.dsl
Modifier and TypeInterfaceDescriptioninterface
ExtendedSearchPredicateFactory<S extends ExtendedSearchPredicateFactory<?>>
A base interface for subtypes ofSearchPredicateFactory
allowing to easily override the self type for all relevant methods.Modifier and TypeMethodDescriptionCreate a new predicate factory whose root for all paths passed to the DSL will be the given object field.Modifier and TypeMethodDescriptionSearchPredicateFactoryExtension.extendOptional
(SearchPredicateFactory original) Attempt to extend a given factory, returning an emptyOptional
in case of failure.Modifier and TypeMethodDescriptionGenericSimpleBooleanPredicateClausesStep.add
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) SimpleBooleanPredicateClausesCollector.add
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) Adds a clause to be defined by the given function.MatchAllPredicateOptionsStep.except
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) Add a "must not" clause to be defined by the given function.BooleanPredicateOptionsCollector.filter
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) Add a "filter" clause to be defined by the given function.GenericBooleanPredicateClausesStep.filter
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) KnnPredicateOptionsStep.filter
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) BooleanPredicateOptionsCollector.must
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) Add a "must" clause to be defined by the given function.GenericBooleanPredicateClausesStep.must
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) BooleanPredicateOptionsCollector.mustNot
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) Add a "must not" clause to be defined by the given function.GenericBooleanPredicateClausesStep.mustNot
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) NestedPredicateNestStep.nest
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> predicateContributor) Deprecated.Set the inner predicate defined by the given function.SearchPredicateFactoryExtensionIfSupportedMoreStep.orElse
(Function<SearchPredicateFactory, ? extends PredicateFinalStep> predicateContributor) If no extension passed toSearchPredicateFactoryExtensionIfSupportedStep.ifSupported(SearchPredicateFactoryExtension, Function)
was supported so far, apply the given consumer to the current (non-extended)SearchPredicateFactory
; otherwise return the predicate created in the first succeedingifSupported
call.BooleanPredicateOptionsCollector.should
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) Add a "should" clause to be defined by the given function.GenericBooleanPredicateClausesStep.should
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> clauseContributor) -
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.predicate.dsl.spi
Modifier and TypeClassDescriptionclass
AbstractSearchPredicateFactory<S extends ExtendedSearchPredicateFactory<S>,
SC extends SearchPredicateIndexScope<?>> -
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.predicate.spi
Modifier and TypeMethodDescriptionvoid
NamedPredicateBuilder.factory
(SearchPredicateFactory factory) ModifierConstructorDescriptionNamedValuesBasedPredicateDefinitionContext
(SearchPredicateFactory factory, Map<String, Object> params, Function<String, SearchException> namedValueMissing) -
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.query.dsl
Modifier and TypeInterfaceDescriptioninterface
SearchQuerySelectStep<N extends SearchQueryOptionsStep<?,
E, LOS, ?, ?>, R, E, LOS, PJF extends SearchProjectionFactory<R, E>, PDF extends SearchPredicateFactory> The initial step in a query definition, where the element used to represent query hits, i.e. the "SELECT" clause, can be set.interface
SearchQueryWhereStep<N extends SearchQueryOptionsStep<?,
H, LOS, ?, ?>, H, LOS, PDF extends SearchPredicateFactory> The step in a query definition where the predicate, i.e. the "WHERE" clause, can be set. -
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.query.dsl.spi
Modifier and TypeClassDescriptionclass
AbstractExtendedSearchQueryOptionsStep<S extends SearchQueryOptionsStep<S,
H, LOS, SF, AF>, H, R extends SearchResult<H>, SCR extends SearchScroll<H>, LOS, PDF extends SearchPredicateFactory, SF extends SearchSortFactory, AF extends SearchAggregationFactory, SC extends SearchQueryIndexScope<?>> class
AbstractSearchQueryOptionsStep<S extends SearchQueryOptionsStep<S,
H, LOS, SF, AF>, H, LOS, PDF extends SearchPredicateFactory, SF extends SearchSortFactory, AF extends SearchAggregationFactory, SC extends SearchQueryIndexScope<?>> class
AbstractSearchQuerySelectStep<N extends SearchQueryOptionsStep<?,
E, LOS, ?, ?>, R, E, LOS, PJF extends SearchProjectionFactory<R, E>, PDF extends SearchPredicateFactory> Modifier and TypeMethodDescriptionSearchQueryOptionsStep
<?, E, LOS, ?, ?> AbstractDelegatingSearchQuerySelectStep.where
(BiConsumer<? super SearchPredicateFactory, ? super SimpleBooleanPredicateClausesCollector<?>> predicateContributor) SearchQueryOptionsStep
<?, E, LOS, ?, ?> AbstractDelegatingSearchQuerySelectStep.where
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> predicateContributor) -
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.query.spi
-
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.sort.dsl
Modifier and TypeInterfaceDescriptioninterface
DistanceSortOptionsStep<S extends DistanceSortOptionsStep<?,
PDF>, PDF extends SearchPredicateFactory> The initial and final step in a "distance" sort definition, where optional parameters can be set.interface
ExtendedSearchSortFactory<S extends ExtendedSearchSortFactory<?,
PDF>, PDF extends SearchPredicateFactory> A base interface for subtypes ofSearchSortFactory
allowing to easily override the self type and predicate factory type for all relevant methods.interface
FieldSortOptionsStep<S extends FieldSortOptionsStep<?,
PDF>, PDF extends SearchPredicateFactory> The initial and final step in a "field" sort definition, where optional parameters can be set.interface
SortFilterStep<S,
PDF extends SearchPredicateFactory> The step in a sort definition where a filter can be set to select nested objects from which values will be extracted for this sort.Modifier and TypeMethodDescriptiondefault DistanceSortOptionsStep
<?, ? extends SearchPredicateFactory> Order elements by the distance from the location stored in the specified field to the location specified.DistanceSortOptionsStep
<?, ? extends SearchPredicateFactory> Order elements by the distance from the location stored in the specified field to the location specified.FieldSortOptionsStep
<?, ? extends SearchPredicateFactory> Order elements by the value of a specific field. -
Uses of SearchPredicateFactory in org.hibernate.search.engine.search.sort.dsl.spi
Modifier and TypeClassDescriptionclass
AbstractSearchSortFactory<S extends ExtendedSearchSortFactory<S,
PDF>, SC extends SearchSortIndexScope<?>, PDF extends SearchPredicateFactory> final class
SearchSortDslContext<SC extends SearchSortIndexScope<?>,
PDF extends SearchPredicateFactory> Represents the current context in the search DSL, including in particular the search scope, the sort builder factory and the knowledge of previous sorts chained usingSortThenStep.then()
.Modifier and TypeMethodDescriptionstatic <SC extends SearchSortIndexScope<?>,
PDF extends SearchPredicateFactory>
SearchSortDslContext<SC, PDF> SearchSortDslContext.root
(SC scope, Function<SearchSortDslContext<SC, PDF>, SearchSortFactory> factoryProvider, PDF predicateFactory) -
Uses of SearchPredicateFactory in org.hibernate.search.mapper.orm.scope
Modifier and TypeMethodDescriptionSearchScope.predicate()
Initiate the building of a search predicate. -
Uses of SearchPredicateFactory in org.hibernate.search.mapper.pojo.scope.spi