Package org.apache.sysds.runtime.iogen
Class MatrixGenerateReader
- java.lang.Object
- 
- org.apache.sysds.runtime.io.MatrixReader
- 
- org.apache.sysds.runtime.iogen.MatrixGenerateReader
 
 
- 
- Direct Known Subclasses:
- MatrixGenerateReader.MatrixReaderRowIrregular,- MatrixGenerateReader.MatrixReaderRowRegularColIrregular,- MatrixGenerateReader.MatrixReaderRowRegularColRegular
 
 public abstract class MatrixGenerateReader extends MatrixReader 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMatrixGenerateReader.MatrixReaderRowIrregularstatic classMatrixGenerateReader.MatrixReaderRowRegularColIrregularstatic classMatrixGenerateReader.MatrixReaderRowRegularColRegular
 - 
Constructor SummaryConstructors Constructor Description MatrixGenerateReader(CustomProperties _props)
 - 
Method SummaryAll 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- 
MatrixGenerateReaderpublic MatrixGenerateReader(CustomProperties _props) 
 
- 
 - 
Method Detail- 
readMatrixFromHDFSpublic MatrixBlock readMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException - Specified by:
- readMatrixFromHDFSin class- MatrixReader
- Throws:
- IOException
- DMLRuntimeException
 
 - 
readMatrixFromInputStreampublic MatrixBlock readMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException - Specified by:
- readMatrixFromInputStreamin class- MatrixReader
- Throws:
- IOException
- DMLRuntimeException
 
 
- 
 
-