Class ElasticsearchNestedPredicate.Factory
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.search.common.impl.AbstractElasticsearchCompositeNodeSearchQueryElementFactory<NestedPredicateBuilder>
-
- org.hibernate.search.backend.elasticsearch.search.predicate.impl.ElasticsearchNestedPredicate.Factory
-
- All Implemented Interfaces:
SearchQueryElementFactory<NestedPredicateBuilder,ElasticsearchSearchIndexScope<?>,ElasticsearchSearchIndexCompositeNodeContext>
- Enclosing class:
- ElasticsearchNestedPredicate
public static class ElasticsearchNestedPredicate.Factory extends AbstractElasticsearchCompositeNodeSearchQueryElementFactory<NestedPredicateBuilder>
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NestedPredicateBuildercreate(ElasticsearchSearchIndexScope<?> scope, ElasticsearchSearchIndexCompositeNodeContext node)-
Methods inherited from class org.hibernate.search.backend.elasticsearch.search.common.impl.AbstractElasticsearchCompositeNodeSearchQueryElementFactory
checkCompatibleWith
-
-
-
-
Method Detail
-
create
public NestedPredicateBuilder create(ElasticsearchSearchIndexScope<?> scope, ElasticsearchSearchIndexCompositeNodeContext node)
- Parameters:
scope- The search context, i.e. information regarding the targeted indexes.node- The targeted index node.- Returns:
- The query element, or an intermediary builder (depending on the factory type).
-
-