- All Implemented Interfaces:
- java.io.Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.java.functions.KeySelector<org.apache.beam.sdk.util.WindowedValue<org.apache.beam.runners.core.KeyedWorkItem<K,V>>,java.nio.ByteBuffer>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<java.nio.ByteBuffer>
public class WorkItemKeySelector<K,V>
extends java.lang.Object
implements org.apache.flink.api.java.functions.KeySelector<org.apache.beam.sdk.util.WindowedValue<org.apache.beam.runners.core.KeyedWorkItem<K,V>>,java.nio.ByteBuffer>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<java.nio.ByteBuffer>
KeySelector that retrieves a key from a KeyedWorkItem. This will return the key
as encoded by the provided Coder in a ByteBuffer. This ensures that all key
comparisons/hashing happen on the encoded form.
- See Also:
- Serialized Form