Class DistanceToFieldProjectionValueStepImpl
java.lang.Object
org.hibernate.search.engine.search.projection.dsl.impl.DistanceToFieldProjectionOptionsStepImpl<Double>
org.hibernate.search.engine.search.projection.dsl.impl.DistanceToFieldProjectionValueStepImpl
- All Implemented Interfaces:
DistanceToFieldProjectionOptionsStep<DistanceToFieldProjectionOptionsStepImpl<Double>,,Double> DistanceToFieldProjectionValueStep<DistanceToFieldProjectionOptionsStepImpl<Double>,,Double> ProjectionFinalStep<Double>
public final class DistanceToFieldProjectionValueStepImpl
extends DistanceToFieldProjectionOptionsStepImpl<Double>
implements DistanceToFieldProjectionValueStep<DistanceToFieldProjectionOptionsStepImpl<Double>,Double>
-
Field Summary
Fields inherited from class org.hibernate.search.engine.search.projection.dsl.impl.DistanceToFieldProjectionOptionsStepImpl
distanceFieldProjectionBuilder -
Constructor Summary
ConstructorsConstructorDescriptionDistanceToFieldProjectionValueStepImpl(SearchProjectionDslContext<?> dslContext, String fieldPath, GeoPoint center) -
Method Summary
Modifier and TypeMethodDescriptionmulti()Defines the projection as multi-valued, i.e. returningList<T>instead ofT.Methods inherited from class org.hibernate.search.engine.search.projection.dsl.impl.DistanceToFieldProjectionOptionsStepImpl
toProjection, unitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.engine.search.projection.dsl.DistanceToFieldProjectionOptionsStep
unitMethods inherited from interface org.hibernate.search.engine.search.projection.dsl.ProjectionFinalStep
toProjection
-
Constructor Details
-
DistanceToFieldProjectionValueStepImpl
public DistanceToFieldProjectionValueStepImpl(SearchProjectionDslContext<?> dslContext, String fieldPath, GeoPoint center)
-
-
Method Details
-
multi
Description copied from interface:DistanceToFieldProjectionValueStepDefines the projection as multi-valued, i.e. returningList<T>instead ofT.Calling
DistanceToFieldProjectionValueStep.multi()is mandatory for multi-valued fields, otherwise the projection will throw an exception upon creating the query.- Specified by:
multiin interfaceDistanceToFieldProjectionValueStep<DistanceToFieldProjectionOptionsStepImpl<Double>,Double> - Returns:
- A new step to define optional parameters for the multi-valued projections.
-