Class ReblockBuffer
- java.lang.Object
- 
- org.apache.sysds.runtime.instructions.spark.data.ReblockBuffer
 
- 
 public class ReblockBuffer extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_BUFFER_SIZE
 - 
Constructor SummaryConstructors Constructor Description ReblockBuffer(int buffersize, long rlen, long clen, int blen)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendCell(long r, long c, double v)List<IndexedMatrixValue>flushBufferToBinaryBlocks()intgetCapacity()intgetSize()
 
- 
- 
- 
Field Detail- 
DEFAULT_BUFFER_SIZEpublic static final int DEFAULT_BUFFER_SIZE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
appendCellpublic void appendCell(long r, long c, double v)
 - 
getSizepublic int getSize() 
 - 
getCapacitypublic int getCapacity() 
 - 
flushBufferToBinaryBlockspublic List<IndexedMatrixValue> flushBufferToBinaryBlocks() throws DMLRuntimeException - Throws:
- DMLRuntimeException
 
 
- 
 
-