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 -
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 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).
-