Class CTableMap
java.lang.Object
org.apache.sysds.runtime.matrix.data.CTableMap
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaggregate(long row, long col, double w) longlongintsize()toMatrixBlock(int rlen, int clen)
-
Constructor Details
-
CTableMap
public CTableMap() -
CTableMap
-
-
Method Details
-
size
public int size() -
getIterator
-
getMaxRow
public long getMaxRow() -
getMaxColumn
public long getMaxColumn() -
aggregate
public void aggregate(long row, long col, double w) -
toMatrixBlock
-