Class DistanceProjectionDefinition.WrappedValued<C>
java.lang.Object
org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition<C>
org.hibernate.search.engine.search.projection.definition.spi.DistanceProjectionDefinition<C>
org.hibernate.search.engine.search.projection.definition.spi.DistanceProjectionDefinition.WrappedValued<C>
- All Implemented Interfaces:
ProjectionDefinition<C>,org.hibernate.search.util.common.spi.ToStringTreeAppendable
- Enclosing class:
DistanceProjectionDefinition<F>
@Incubating
public static final class DistanceProjectionDefinition.WrappedValued<C>
extends DistanceProjectionDefinition<C>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.search.engine.search.projection.definition.spi.DistanceProjectionDefinition
DistanceProjectionDefinition.MultiValued, DistanceProjectionDefinition.SingleValued, DistanceProjectionDefinition.WrappedValued<C> -
Field Summary
Fields inherited from class org.hibernate.search.engine.search.projection.definition.spi.DistanceProjectionDefinition
fieldPath, parameterName, unit -
Constructor Summary
ConstructorsConstructorDescriptionWrappedValued(String fieldPath, String parameterName, DistanceUnit unit, ProjectionCollector.Provider<Double, C> collector) -
Method Summary
Modifier and TypeMethodDescriptioncreate(ProjectionDefinitionContext context) Creates a projection with a specific projected type.protected booleanmulti()Methods inherited from class org.hibernate.search.engine.search.projection.definition.spi.DistanceProjectionDefinition
appendTo, typeMethods inherited from class org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.search.engine.search.projection.definition.ProjectionDefinition
createMethods inherited from interface org.hibernate.search.util.common.spi.ToStringTreeAppendable
toStringTree
-
Constructor Details
-
WrappedValued
public WrappedValued(String fieldPath, String parameterName, DistanceUnit unit, ProjectionCollector.Provider<Double, C> collector)
-
-
Method Details
-
multi
protected boolean multi()- Specified by:
multiin classDistanceProjectionDefinition<C>
-
create
Description copied from interface:ProjectionDefinitionCreates a projection with a specific projected type.- Parameters:
context- The context in which the definition is applied.- Returns:
- The created
SearchPredicate. - See Also:
-