- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.PairFunction<scala.Tuple2<String,byte[]>,org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
public class StringByteToTextByteWriter
extends Object
implements org.apache.spark.api.java.function.PairFunction<scala.Tuple2<String,byte[]>,org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
Converts a tuple of string and byte array, to a Text and Bytes writeable.
This is required for writing hadoop sequence files of data in this format.
- Author:
- Anthony Bradley
- See Also:
- Serialized Form