public class WavInputFormat extends BaseInputFormat
Constructor and Description |
---|
WavInputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordReader |
createReader(InputSplit split)
Creates a reader from an input split
|
RecordReader |
createReader(InputSplit split,
Configuration conf)
Creates a reader from an input split
|
readFields, toDouble, toFloat, toInt, toLong, write
public RecordReader createReader(InputSplit split, Configuration conf) throws java.io.IOException, java.lang.InterruptedException
InputFormat
split
- the split to readjava.io.IOException
java.lang.InterruptedException
public RecordReader createReader(InputSplit split) throws java.io.IOException, java.lang.InterruptedException
InputFormat
createReader
in interface InputFormat
createReader
in class BaseInputFormat
split
- the split to readjava.io.IOException
java.lang.InterruptedException