Class MatrixGenerateReaderParallel
- java.lang.Object
-
- org.apache.sysds.runtime.io.MatrixReader
-
- org.apache.sysds.runtime.iogen.template.MatrixGenerateReaderParallel
-
public abstract class MatrixGenerateReaderParallel extends MatrixReader
-
-
Constructor Summary
Constructors Constructor Description MatrixGenerateReaderParallel(CustomProperties _props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixBlock
readMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz)
MatrixBlock
readMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz)
-
-
-
Constructor Detail
-
MatrixGenerateReaderParallel
public MatrixGenerateReaderParallel(CustomProperties _props)
-
-
Method Detail
-
readMatrixFromHDFS
public MatrixBlock readMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException
- Specified by:
readMatrixFromHDFS
in classMatrixReader
- Throws:
IOException
DMLRuntimeException
-
readMatrixFromInputStream
public MatrixBlock readMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException
- Specified by:
readMatrixFromInputStream
in classMatrixReader
- Throws:
IOException
DMLRuntimeException
-
-