Class MappingYieldingAccumulator<OutType,InType,MappedType>
java.lang.Object
org.apache.druid.java.util.common.guava.YieldingAccumulator<OutType,InType>
org.apache.druid.java.util.common.guava.MappingYieldingAccumulator<OutType,InType,MappedType>
public class MappingYieldingAccumulator<OutType,InType,MappedType>
extends YieldingAccumulator<OutType,InType>
-
Constructor Summary
ConstructorsConstructorDescriptionMappingYieldingAccumulator(Function<? super InType, ? extends MappedType> fn, YieldingAccumulator<OutType, MappedType> baseAccumulator) -
Method Summary
-
Constructor Details
-
MappingYieldingAccumulator
public MappingYieldingAccumulator(Function<? super InType, ? extends MappedType> fn, YieldingAccumulator<OutType, MappedType> baseAccumulator)
-
-
Method Details
-
yield
public void yield()- Overrides:
yieldin classYieldingAccumulator<OutType,InType>
-
yielded
public boolean yielded()- Overrides:
yieldedin classYieldingAccumulator<OutType,InType>
-
reset
public void reset()- Overrides:
resetin classYieldingAccumulator<OutType,InType>
-
accumulate
- Specified by:
accumulatein classYieldingAccumulator<OutType,InType>
-