public class OperationAggregator<T,K,R> extends java.lang.Object implements java.lang.Iterable<AggregationSet<T,K,R>>
| Modifier and Type | Class and Description |
|---|---|
protected class |
OperationAggregator.AggregationEntry |
static interface |
OperationAggregator.InputValidator<T,R>
The InputValidator provides a way to validate input values before they get to execution.
|
static interface |
OperationAggregator.KeyProvider<T,K> |
protected class |
OperationAggregator.ValueEntry |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<K,AggregationSet<T,K,R>> |
breakup |
| Constructor and Description |
|---|
OperationAggregator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<K> |
getKeys() |
java.util.List<R> |
getResults() |
java.util.Iterator<AggregationSet<T,K,R>> |
iterator() |
void |
put(java.util.List<T> values,
OperationAggregator.KeyProvider<T,K> provider) |
void |
put(java.util.List<T> values,
OperationAggregator.KeyProvider<T,K> provider,
OperationAggregator.InputValidator<T,R> validator) |
protected java.util.Map<K,AggregationSet<T,K,R>> breakup
public void put(java.util.List<T> values, OperationAggregator.KeyProvider<T,K> provider)
public void put(java.util.List<T> values, OperationAggregator.KeyProvider<T,K> provider, OperationAggregator.InputValidator<T,R> validator)
public java.util.List<R> getResults()
public java.util.Set<K> getKeys()
Set of keys that have been provided to this OperationAggregator.public java.util.Iterator<AggregationSet<T,K,R>> iterator()
iterator in interface java.lang.Iterable<AggregationSet<T,K,R>>