- All Implemented Interfaces:
- java.io.Serializable, org.apache.spark.api.java.function.Function<scala.Tuple2<java.lang.String,org.apache.spark.input.PortableDataStream>,java.util.List<Writable>>
public class RecordReaderFunction
extends java.lang.Object
implements org.apache.spark.api.java.function.Function<scala.Tuple2<java.lang.String,org.apache.spark.input.PortableDataStream>,java.util.List<Writable>>
RecordReaderFunction: Given a RecordReader and a file (via Spark PortableDataStream), load and parse the
data into a Collection.
NOTE: This is only useful for "one record per file" type situations (ImageRecordReader, etc)
- See Also:
- Serialized Form