Package org.apache.sysds.runtime.io
Class ReaderTextCell
- java.lang.Object
-
- org.apache.sysds.runtime.io.MatrixReader
-
- org.apache.sysds.runtime.io.ReaderTextCell
-
- Direct Known Subclasses:
ReaderTextCellParallel
public class ReaderTextCell extends MatrixReader
-
-
Constructor Summary
Constructors Constructor Description ReaderTextCell(Types.FileFormat fmt)ReaderTextCell(Types.FileFormat fmt, boolean allowRaw)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixBlockreadMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz)MatrixBlockreadMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz)
-
-
-
Constructor Detail
-
ReaderTextCell
public ReaderTextCell(Types.FileFormat fmt)
-
ReaderTextCell
public ReaderTextCell(Types.FileFormat fmt, boolean allowRaw)
-
-
Method Detail
-
readMatrixFromHDFS
public MatrixBlock readMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException
- Specified by:
readMatrixFromHDFSin classMatrixReader- Throws:
IOExceptionDMLRuntimeException
-
readMatrixFromInputStream
public MatrixBlock readMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException
- Specified by:
readMatrixFromInputStreamin classMatrixReader- Throws:
IOExceptionDMLRuntimeException
-
-