public class PortableDataStream
extends Object
implements scala.Serializable
Constructor and Description |
---|
PortableDataStream(org.apache.hadoop.mapreduce.lib.input.CombineFileSplit isplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context,
Integer index) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration() |
String |
getPath() |
java.io.DataInputStream |
open()
Create a new DataInputStream from the split and context.
|
byte[] |
toArray()
Read the file as a byte array
|
public PortableDataStream(org.apache.hadoop.mapreduce.lib.input.CombineFileSplit isplit, org.apache.hadoop.mapreduce.TaskAttemptContext context, Integer index)
public org.apache.hadoop.conf.Configuration getConfiguration()
public String getPath()
public java.io.DataInputStream open()
public byte[] toArray()