public interface IntGrouper extends Grouper<Integer>
Grouper
specialized for the primitive int typeModifier and Type | Interface and Description |
---|---|
static interface |
IntGrouper.IntGrouperHashFunction |
Grouper.BufferComparator, Grouper.Entry<T>, Grouper.KeySerde<T>, Grouper.KeySerdeFactory<T>
Modifier and Type | Method and Description |
---|---|
default AggregateResult |
aggregate(int key) |
default AggregateResult |
aggregate(Integer key)
Deprecated.
Please use
aggregate(int) instead. |
default AggregateResult |
aggregate(Integer key,
int keyHash)
Deprecated.
Please use
aggregateKeyHash(int) instead. |
AggregateResult |
aggregateKeyHash(int keyHash) |
IntGrouper.IntGrouperHashFunction |
hashFunction() |
default AggregateResult aggregate(int key)
AggregateResult aggregateKeyHash(int keyHash)
@Deprecated default AggregateResult aggregate(Integer key)
aggregate(int)
instead.@Deprecated default AggregateResult aggregate(Integer key, int keyHash)
aggregateKeyHash(int)
instead.aggregate
in interface Grouper<Integer>
key
- key objectkeyHash
- result of Grouper.hashFunction()
on the keyIntGrouper.IntGrouperHashFunction hashFunction()
hashFunction
in interface Grouper<Integer>
Copyright © 2011–2018. All rights reserved.