T - type of the consumed elements.@FunctionalInterface public static interface KeyGroupPartitioner.KeyGroupElementsConsumer<T>
| Modifier and Type | Method and Description |
|---|---|
void |
consume(T element,
int keyGroupId) |
void consume(@Nonnull T element, @Nonnegative int keyGroupId) throws IOException
IOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.