Class CoderHelpers.FromByteFunction<K,V>
java.lang.Object
org.apache.beam.runners.spark.coders.CoderHelpers.FromByteFunction<K,V>
- Type Parameters:
K- The type of the key being deserialized.V- The type of the value being deserialized.
- All Implemented Interfaces:
Serializable,Function<scala.Tuple2<ByteArray,,byte[]>, scala.Tuple2<K, V>> org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<scala.Tuple2<ByteArray,,byte[]>, scala.Tuple2<K, V>> org.apache.spark.api.java.function.PairFunction<scala.Tuple2<ByteArray,byte[]>, K, V>
- Enclosing class:
CoderHelpers
public static class CoderHelpers.FromByteFunction<K,V>
extends Object
implements org.apache.spark.api.java.function.PairFunction<scala.Tuple2<ByteArray,byte[]>,K,V>, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function<scala.Tuple2<ByteArray,byte[]>,scala.Tuple2<K,V>>
A function for converting a byte array pair to a key-value pair.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFromByteFunction(org.apache.beam.sdk.coders.Coder<K> keyCoder, org.apache.beam.sdk.coders.Coder<V> valueCoder) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Function
equals
-
Constructor Details
-
Method Details