Package org.apache.sysds.runtime.io
Class FrameReaderTextCSV
- java.lang.Object
-
- org.apache.sysds.runtime.io.FrameReader
-
- org.apache.sysds.runtime.io.FrameReaderTextCSV
-
- Direct Known Subclasses:
FrameReaderTextCSVParallel
public class FrameReaderTextCSV extends FrameReader
Single-threaded frame text csv reader.
-
-
Constructor Summary
Constructors Constructor Description FrameReaderTextCSV(FileFormatPropertiesCSV props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrameBlockreadFrameFromHDFS(String fname, Types.ValueType[] schema, String[] names, long rlen, long clen)FrameBlockreadFrameFromInputStream(InputStream is, Types.ValueType[] schema, String[] names, long rlen, long clen)-
Methods inherited from class org.apache.sysds.runtime.io.FrameReader
getDefColNames, getDefSchema, readFrameFromHDFS, readFrameFromHDFS, readFrameFromInputStream, readFrameFromInputStream
-
-
-
-
Constructor Detail
-
FrameReaderTextCSV
public FrameReaderTextCSV(FileFormatPropertiesCSV props)
-
-
Method Detail
-
readFrameFromHDFS
public final FrameBlock readFrameFromHDFS(String fname, Types.ValueType[] schema, String[] names, long rlen, long clen) throws IOException, DMLRuntimeException
- Specified by:
readFrameFromHDFSin classFrameReader- Throws:
IOExceptionDMLRuntimeException
-
readFrameFromInputStream
public FrameBlock readFrameFromInputStream(InputStream is, Types.ValueType[] schema, String[] names, long rlen, long clen) throws IOException, DMLRuntimeException
- Specified by:
readFrameFromInputStreamin classFrameReader- Throws:
IOExceptionDMLRuntimeException
-
-