- 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.sdk.values.KV<K,V>>,java.nio.ByteBuffer>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<java.nio.ByteBuffer>
public class KvToByteBufferKeySelector<K,V>
extends java.lang.Object
implements org.apache.flink.api.java.functions.KeySelector<org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<K,V>>,java.nio.ByteBuffer>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<java.nio.ByteBuffer>
KeySelector that retrieves a key from a KV. 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