Package org.apache.sysds.runtime.io
Class ReaderHDF5
- java.lang.Object
- 
- org.apache.sysds.runtime.io.MatrixReader
- 
- org.apache.sysds.runtime.io.ReaderHDF5
 
 
- 
- Direct Known Subclasses:
- ReaderHDF5Parallel
 
 public class ReaderHDF5 extends MatrixReader 
- 
- 
Constructor SummaryConstructors Constructor Description ReaderHDF5(FileFormatPropertiesHDF5 props)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatrixBlockcomputeHDF5Size(List<org.apache.hadoop.fs.Path> files, org.apache.hadoop.fs.FileSystem fs, String datasetName)static longreadMatrixFromHDF5(BufferedInputStream bis, String datasetName, MatrixBlock dest, int row, long rlen, long clen, int blen)MatrixBlockreadMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz)MatrixBlockreadMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz)
 
- 
- 
- 
Constructor Detail- 
ReaderHDF5public ReaderHDF5(FileFormatPropertiesHDF5 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
 
 - 
readMatrixFromHDF5public static long readMatrixFromHDF5(BufferedInputStream bis, String datasetName, MatrixBlock dest, int row, long rlen, long clen, int blen) 
 - 
computeHDF5Sizepublic static MatrixBlock computeHDF5Size(List<org.apache.hadoop.fs.Path> files, org.apache.hadoop.fs.FileSystem fs, String datasetName) throws IOException, DMLRuntimeException - Throws:
- IOException
- DMLRuntimeException
 
 
- 
 
-