org.apache.sysml.runtime.matrix.data

Class 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 Detail

      • CTableMap

        public CTableMap()
    • Method Detail

      • size

        public int size()
      • entrySet

        @Deprecated
        public ArrayList<org.apache.sysml.runtime.util.LongLongDoubleHashMap.LLDoubleEntry> entrySet()
        Deprecated. 
      • getMaxRow

        public long getMaxRow()
      • getMaxColumn

        public long getMaxColumn()
      • aggregate

        public void aggregate(long row,
                              long col,
                              double w)
      • toMatrixBlock

        public MatrixBlock toMatrixBlock(int rlen,
                                         int clen)

Copyright © 2017 The Apache Software Foundation. All rights reserved.