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 Summary
Fields Modifier and Type Field Description static intCAPACITY 
- 
Constructor Summary
Constructors Constructor Description CellBuffer(boolean values) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCell(int rlen, int clen, double val)voidflushCellBufferToSparseBlock(SparseBlock dest)voidflushCellBufferToSparseBlockMCSR(SparseBlockMCSR dest)voidreset()intsize() 
 - 
 
- 
- 
Field Detail
- 
CAPACITY
public static final int CAPACITY
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
addCell
public void addCell(int rlen, int clen, double val) 
- 
flushCellBufferToSparseBlock
public void flushCellBufferToSparseBlock(SparseBlock dest)
 
- 
flushCellBufferToSparseBlockMCSR
public void flushCellBufferToSparseBlockMCSR(SparseBlockMCSR dest)
 
- 
size
public int size()
 
- 
reset
public void reset()
 
 - 
 
 -