Class CTableMap
- java.lang.Object
- 
- org.apache.sysds.runtime.matrix.data.CTableMap
 
- 
 public class CTableMap extends Object Ctable map is an abstraction for the hashmap used for ctable's hash group-by because this structure is passed through various interfaces. This makes it easier to (1) exchange the underlying data structure and (2) maintain statistics like max row/column in order to prevent scans during data conversion.
- 
- 
Constructor SummaryConstructors Constructor Description CTableMap()CTableMap(LongLongDoubleHashMap.EntryType type)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate(long row, long col, double w)Iterator<LongLongDoubleHashMap.ADoubleEntry>getIterator()longgetMaxColumn()longgetMaxRow()intsize()MatrixBlocktoMatrixBlock(int rlen, int clen)
 
- 
- 
- 
Constructor Detail- 
CTableMappublic CTableMap() 
 - 
CTableMappublic CTableMap(LongLongDoubleHashMap.EntryType type) 
 
- 
 - 
Method Detail- 
sizepublic int size() 
 - 
getIteratorpublic Iterator<LongLongDoubleHashMap.ADoubleEntry> getIterator() 
 - 
getMaxRowpublic long getMaxRow() 
 - 
getMaxColumnpublic long getMaxColumn() 
 - 
aggregatepublic void aggregate(long row, long col, double w)
 - 
toMatrixBlockpublic MatrixBlock toMatrixBlock(int rlen, int clen) 
 
- 
 
-