/** * Returns the {@code Coder} of the keys of the input to this transform, which is also used as the * {@code Coder} of the keys of the output of this transform. */ public static <K, V> Coder<K> getKeyCoder(Coder<KV<K, V>> inputCoder) { return getInputKvCoder(inputCoder).getKeyCoder(); }
/** Returns the {@code Coder} of the values of the input to this transform. */ public static <K, V> Coder<V> getInputValueCoder(Coder<KV<K, V>> inputCoder) { return getInputKvCoder(inputCoder).getValueCoder(); }