Class LuceneNestedPredicate.Factory
java.lang.Object
org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCompositeNodeSearchQueryElementFactory<NestedPredicateBuilder>
org.hibernate.search.backend.lucene.search.predicate.impl.LuceneNestedPredicate.Factory
- All Implemented Interfaces:
SearchQueryElementFactory<NestedPredicateBuilder,LuceneSearchIndexScope<?>, LuceneSearchIndexCompositeNodeContext>
- Enclosing class:
- LuceneNestedPredicate
public static class LuceneNestedPredicate.Factory
extends AbstractLuceneCompositeNodeSearchQueryElementFactory<NestedPredicateBuilder>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexCompositeNodeContext node) Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCompositeNodeSearchQueryElementFactory
checkCompatibleWith
-
Field Details
-
INSTANCE
-
-
Method Details
-
create
public NestedPredicateBuilder create(LuceneSearchIndexScope<?> scope, LuceneSearchIndexCompositeNodeContext 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).
-