Package org.apache.sysds.runtime.io
Class WriterHDF5
- java.lang.Object
- 
- org.apache.sysds.runtime.io.MatrixWriter
- 
- org.apache.sysds.runtime.io.WriterHDF5
 
 
- 
- Direct Known Subclasses:
- WriterHDF5Parallel
 
 public class WriterHDF5 extends MatrixWriter 
- 
- 
Constructor SummaryConstructors Constructor Description WriterHDF5(FileFormatPropertiesHDF5 _props)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteEmptyMatrixToHDFS(String fname, long rlen, long clen, int blen)Writes a minimal entry to represent an empty matrix on hdfs.voidwriteMatrixToHDFS(MatrixBlock src, String fname, long rlen, long clen, int blen, long nnz, boolean diag)- 
Methods inherited from class org.apache.sysds.runtime.io.MatrixWritercreateMatrixBlocksForReuse, getMatrixBlockForReuse, writeMatrixToHDFS
 
- 
 
- 
- 
- 
Constructor Detail- 
WriterHDF5public WriterHDF5(FileFormatPropertiesHDF5 _props) 
 
- 
 - 
Method Detail- 
writeMatrixToHDFSpublic void writeMatrixToHDFS(MatrixBlock src, String fname, long rlen, long clen, int blen, long nnz, boolean diag) throws IOException, DMLRuntimeException - Specified by:
- writeMatrixToHDFSin class- MatrixWriter
- Throws:
- IOException
- DMLRuntimeException
 
 - 
writeEmptyMatrixToHDFSpublic final void writeEmptyMatrixToHDFS(String fname, long rlen, long clen, int blen) throws IOException, DMLRuntimeException Description copied from class:MatrixWriterWrites a minimal entry to represent an empty matrix on hdfs.- Specified by:
- writeEmptyMatrixToHDFSin class- MatrixWriter
- Parameters:
- fname- file name
- rlen- number of rows
- clen- number of columns
- blen- number of rows/cols in block
- Throws:
- IOException- if IOException occurs
- DMLRuntimeException
 
 
- 
 
-