Package org.apache.sysds.runtime.io
Class WriterBinaryBlock
- java.lang.Object
- 
- org.apache.sysds.runtime.io.MatrixWriter
- 
- org.apache.sysds.runtime.io.WriterBinaryBlock
 
 
- 
- Direct Known Subclasses:
- WriterBinaryBlockParallel
 
 public class WriterBinaryBlock extends MatrixWriter 
- 
- 
Constructor SummaryConstructors Constructor Description WriterBinaryBlock(int replication)
 - 
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
 
- 
 
- 
- 
- 
Method Detail- 
writeMatrixToHDFSpublic final 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
 
 
- 
 
-