Package org.datavec.api.formats.input
Interface InputFormat
-
- All Superinterfaces:
Serializable,Writable
- All Known Implementing Classes:
BaseInputFormat,CSVInputFormat,LibSvmInputFormat,LineInputFormat,ListStringInputFormat,MatlabInputFormat,SVMLightInputFormat
public interface InputFormat extends Writable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecordReadercreateReader(InputSplit split)Creates a reader from an input splitRecordReadercreateReader(InputSplit split, Configuration conf)Creates a reader from an input split
-
-
-
Method Detail
-
createReader
RecordReader createReader(InputSplit split, Configuration conf) throws IOException, InterruptedException
Creates a reader from an input split- Parameters:
split- the split to read- Returns:
- the reader from the given input split
- Throws:
IOExceptionInterruptedException
-
createReader
RecordReader createReader(InputSplit split) throws IOException, InterruptedException
Creates a reader from an input split- Parameters:
split- the split to read- Returns:
- the reader from the given input split
- Throws:
IOExceptionInterruptedException
-
-