Class LuceneObjectExistsPredicate.Factory
- java.lang.Object
-
- org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCompositeNodeSearchQueryElementFactory<ExistsPredicateBuilder>
-
- org.hibernate.search.backend.lucene.types.predicate.impl.LuceneObjectExistsPredicate.Factory
-
- All Implemented Interfaces:
SearchQueryElementFactory<ExistsPredicateBuilder,LuceneSearchIndexScope<?>,LuceneSearchIndexCompositeNodeContext>
- Enclosing class:
- LuceneObjectExistsPredicate
public static class LuceneObjectExistsPredicate.Factory extends AbstractLuceneCompositeNodeSearchQueryElementFactory<ExistsPredicateBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description static LuceneObjectExistsPredicate.FactoryINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExistsPredicateBuildercreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexCompositeNodeContext node)-
Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCompositeNodeSearchQueryElementFactory
checkCompatibleWith
-
-
-
-
Field Detail
-
INSTANCE
public static final LuceneObjectExistsPredicate.Factory INSTANCE
-
-
Method Detail
-
create
public ExistsPredicateBuilder 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).
-
-