@FunctionalInterface public interface Combiner<K,V>
Combiner
. It supports easy and efficient use
of java streams when implementing combiners using lambdas.Modifier and Type | Interface and Description |
---|---|
static interface |
Combiner.Input<KI,VI> |
Modifier and Type | Method and Description |
---|---|
Optional<V> |
combine(Combiner.Input<K,V> input)
This function is called to combine the current value of a key with updates that were queued for
the key.
|
Optional<V> combine(Combiner.Input<K,V> input)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.