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>>
-
- 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>>
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory
codec
-
-
Constructor Summary
Constructors Constructor Description Factory(LuceneFieldCodec<GeoPoint> codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LuceneDistanceToFieldProjection.Buildercreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<GeoPoint> field)-
Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory
checkCompatibleWith
-
-
-
-
Constructor Detail
-
Factory
public Factory(LuceneFieldCodec<GeoPoint> codec)
-
-
Method Detail
-
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).
-
-