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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixBlockcomputeHDF5Size(List<org.apache.hadoop.fs.Path> files, org.apache.hadoop.fs.FileSystem fs, String datasetName, long estnnz) static longreadMatrixFromHDF5(H5ByteReader byteReader, String datasetName, MatrixBlock dest, int rl, long ru, long clen, int blen) readMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz) readMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz) Methods inherited from class org.apache.sysds.runtime.io.MatrixReader
checkValidInputFile
-
Constructor Details
-
ReaderHDF5
-
-
Method Details
-
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
-
readMatrixFromHDF5
public static long readMatrixFromHDF5(H5ByteReader byteReader, String datasetName, MatrixBlock dest, int rl, long ru, long clen, int blen) -
computeHDF5Size
public static MatrixBlock computeHDF5Size(List<org.apache.hadoop.fs.Path> files, org.apache.hadoop.fs.FileSystem fs, String datasetName, long estnnz) throws IOException, DMLRuntimeException - Throws:
IOExceptionDMLRuntimeException
-