@Public public interface AtomicType<T>
In contrast to atomic types are composite types, where the type information is aware of the individual fields and individual fields may be used as a key.
Modifier and Type | Method and Description |
---|---|
TypeComparator<T> |
createComparator(boolean sortOrderAscending,
ExecutionConfig executionConfig)
Creates a comparator for this type.
|
TypeComparator<T> createComparator(boolean sortOrderAscending, ExecutionConfig executionConfig)
sortOrderAscending
- True, if the comparator should define the order to be ascending,
false, if the comparator should define the order to be descending.executionConfig
- The config from which the comparator will be parametrized.
Parametrization includes for example registration of class tags for frameworks like Kryo.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.