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 Modifier and Type Field Description static LuceneNestedPredicate.FactoryINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NestedPredicateBuildercreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexCompositeNodeContext node)-
Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCompositeNodeSearchQueryElementFactory
checkCompatibleWith
-
-
-
-
Field Detail
-
INSTANCE
public static final LuceneNestedPredicate.Factory INSTANCE
-
-
Method Detail
-
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).
-
-