Class LuceneGeoPointSpatialWithinBoundingBoxPredicate.Factory
java.lang.Object
org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneValueFieldSearchQueryElementFactory<SpatialWithinBoundingBoxPredicateBuilder,GeoPoint>
org.hibernate.search.backend.lucene.types.predicate.impl.LuceneGeoPointSpatialWithinBoundingBoxPredicate.Factory
- All Implemented Interfaces:
SearchQueryElementFactory<SpatialWithinBoundingBoxPredicateBuilder,LuceneSearchIndexScope<?>, LuceneSearchIndexValueFieldContext<GeoPoint>>
- Enclosing class:
- LuceneGeoPointSpatialWithinBoundingBoxPredicate
public static class LuceneGeoPointSpatialWithinBoundingBoxPredicate.Factory
extends AbstractLuceneValueFieldSearchQueryElementFactory<SpatialWithinBoundingBoxPredicateBuilder,GeoPoint>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.search.backend.lucene.types.predicate.impl.LuceneGeoPointSpatialWithinBoundingBoxPredicate.Buildercreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<GeoPoint> field) Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneValueFieldSearchQueryElementFactory
checkCompatibleWith
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
public org.hibernate.search.backend.lucene.types.predicate.impl.LuceneGeoPointSpatialWithinBoundingBoxPredicate.Builder create(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<GeoPoint> field) - Specified by:
createin interfaceSearchQueryElementFactory<SpatialWithinBoundingBoxPredicateBuilder,LuceneSearchIndexScope<?>, LuceneSearchIndexValueFieldContext<GeoPoint>> - Specified by:
createin classAbstractLuceneValueFieldSearchQueryElementFactory<SpatialWithinBoundingBoxPredicateBuilder,GeoPoint> - 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).
-