Interface ProjectionAccumulator.Provider<V,​R>

  • Type Parameters:
    V - The type of field values after the projection converter was applied.
    R - The type of the final result containing values of type V.
    Enclosing interface:

    public static interface ProjectionAccumulator.Provider<V,​R>
    Provides an accumulator for a given underlying field type (F).

    The provider may always return the same accumulator, if generics are irrelevant and it's safe to do so.

    • Method Detail

      • get

        <F> ProjectionAccumulator<F,​V,​?,​R> get()
        Type Parameters:
        F - The type of field values.
        An accumulator for the given type.
      • isSingleValued

        boolean isSingleValued()
        true if accumulators returned by get() can only accept a single value, and will fail beyond that.