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 typeV
.
- Enclosing interface:
- ProjectionAccumulator<F,V,U,R>
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <F> ProjectionAccumulator<F,V,?,R>
get()
boolean
isSingleValued()
-
-
-
Method Detail
-
get
<F> ProjectionAccumulator<F,V,?,R> get()
- Type Parameters:
F
- The type of field values.- Returns:
- An accumulator for the given type.
-
isSingleValued
boolean isSingleValued()
- Returns:
true
if accumulators returned byget()
can only accept a single value, and will fail beyond that.
-
-