Package org.apache.sysds.runtime.io
Class ReaderTextCellParallel.CellBuffer
- java.lang.Object
- 
- org.apache.sysds.runtime.io.ReaderTextCellParallel.CellBuffer
 
- 
- Enclosing class:
- ReaderTextCellParallel
 
 public static class ReaderTextCellParallel.CellBuffer extends Object Useful class for buffering unordered cells before locking target onces and appending all buffered cells.
- 
- 
Field SummaryFields Modifier and Type Field Description static intCAPACITY
 - 
Constructor SummaryConstructors Constructor Description CellBuffer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCell(int rlen, int clen, double val)voidflushCellBufferToMatrixBlock(MatrixBlock dest)voidreset()intsize()
 
- 
- 
- 
Field Detail- 
CAPACITYpublic static final int CAPACITY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
addCellpublic void addCell(int rlen, int clen, double val)
 - 
flushCellBufferToMatrixBlockpublic void flushCellBufferToMatrixBlock(MatrixBlock dest) 
 - 
sizepublic int size() 
 - 
resetpublic void reset() 
 
- 
 
-