Class LuceneDistanceToFieldProjection.Factory
java.lang.Object
org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneValueFieldSearchQueryElementFactory<T,F>
org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory<DistanceToFieldProjectionBuilder,GeoPoint,LuceneFieldCodec<GeoPoint,byte[]>>
org.hibernate.search.backend.lucene.search.projection.impl.LuceneDistanceToFieldProjection.Factory
- All Implemented Interfaces:
SearchQueryElementFactory<DistanceToFieldProjectionBuilder,LuceneSearchIndexScope<?>, LuceneSearchIndexValueFieldContext<GeoPoint>>
- Enclosing class:
- LuceneDistanceToFieldProjection<P>
public static class LuceneDistanceToFieldProjection.Factory
extends AbstractLuceneCodecAwareSearchQueryElementFactory<DistanceToFieldProjectionBuilder,GeoPoint,LuceneFieldCodec<GeoPoint,byte[]>>
-
Field Summary
Fields inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory
codec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<GeoPoint> field) Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory
checkCompatibleWith
-
Constructor Details
-
Factory
-
-
Method Details
-
create
public LuceneDistanceToFieldProjection.Builder create(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<GeoPoint> field) - Specified by:
createin interfaceSearchQueryElementFactory<DistanceToFieldProjectionBuilder,LuceneSearchIndexScope<?>, LuceneSearchIndexValueFieldContext<GeoPoint>> - Specified by:
createin classAbstractLuceneValueFieldSearchQueryElementFactory<DistanceToFieldProjectionBuilder,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).
-