Class AbstractLuceneValueFieldSearchQueryElementFactory<T,F>
- java.lang.Object
-
- org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneValueFieldSearchQueryElementFactory<T,F>
-
- All Implemented Interfaces:
SearchQueryElementFactory<T,LuceneSearchIndexScope<?>,LuceneSearchIndexValueFieldContext<F>>
- Direct Known Subclasses:
AbstractLuceneCodecAwareSearchQueryElementFactory,LuceneExistsPredicate.DefaultFactory,LuceneExistsPredicate.DocValuesBasedFactory,LuceneExistsPredicate.NormsBasedFactory,LuceneFieldHighlightProjection.Factory,LuceneGeoPointDistanceSort.Factory,LuceneGeoPointSpatialWithinBoundingBoxPredicate.Factory,LuceneGeoPointSpatialWithinCirclePredicate.Factory,LuceneGeoPointSpatialWithinPolygonPredicate.Factory,LuceneSimpleQueryStringPredicateBuilderFieldState.Factory,LuceneTextPhrasePredicate.Factory,LuceneTextRegexpPredicate.Factory,LuceneTextTermsAggregation.Factory,LuceneTextWildcardPredicate.Factory
public abstract class AbstractLuceneValueFieldSearchQueryElementFactory<T,F> extends Object implements SearchQueryElementFactory<T,LuceneSearchIndexScope<?>,LuceneSearchIndexValueFieldContext<F>>
-
-
Constructor Summary
Constructors Constructor Description AbstractLuceneValueFieldSearchQueryElementFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcheckCompatibleWith(SearchQueryElementFactory<?,?,?> other)Checks whether this factory and the given factory can be used interchangeably.abstract Tcreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<F> field)
-
-
-
Method Detail
-
create
public abstract T create(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<F> field)
- Specified by:
createin interfaceSearchQueryElementFactory<T,LuceneSearchIndexScope<?>,LuceneSearchIndexValueFieldContext<F>>- Parameters:
scope- The search context, i.e. information regarding the targeted indexes.field- The targeted index node.- Returns:
- The query element, or an intermediary builder (depending on the factory type).
-
checkCompatibleWith
public void checkCompatibleWith(SearchQueryElementFactory<?,?,?> other)
Description copied from interface:SearchQueryElementFactoryChecks whether this factory and the given factory can be used interchangeably.- Specified by:
checkCompatibleWithin interfaceSearchQueryElementFactory<T,LuceneSearchIndexScope<?>,LuceneSearchIndexValueFieldContext<F>>- Parameters:
other- Another factory.
-
-