Modifier and Type | Method and Description |
---|---|
Grouper.KeySerde<T> |
factorize()
Create a new
Grouper.KeySerde , which may be stateful. |
Grouper.KeySerde<T> |
factorizeWithDictionary(List<String> dictionary)
Create a new
Grouper.KeySerde with the given dictionary. |
long |
getMaxDictionarySize()
Return max dictionary size threshold.
|
Comparator<Grouper.Entry<T>> |
objectComparator(boolean forceDefaultOrder)
Return an object that knows how to compare two serialized key instances.
|
long getMaxDictionarySize()
Grouper.KeySerde<T> factorize()
Grouper.KeySerde
, which may be stateful.Grouper.KeySerde<T> factorizeWithDictionary(List<String> dictionary)
Grouper.KeySerde
with the given dictionary.Comparator<Grouper.Entry<T>> objectComparator(boolean forceDefaultOrder)
Grouper.iterator(boolean)
method if sorting is enabled.forceDefaultOrder
- Return a comparator that sorts by the key in default lexicographic ascending order,
regardless of any other conditions (e.g., presence of OrderBySpecs).Copyright © 2011–2018. All rights reserved.