Interface DistanceToFieldProjectionValueStep<N extends DistanceToFieldProjectionOptionsStep<?,​T>,​T>

    • Method Detail

      • multi

        DistanceToFieldProjectionOptionsStep<?,​List<T>> multi()
        Defines the projection as multi-valued, i.e. returning List<T> instead of T.

        Calling multi() is mandatory for multi-valued fields, otherwise the projection will throw an exception upon creating the query.

        Returns:
        A new step to define optional parameters for the multi-valued projections.