org.apache.sysml.runtime.compress

Class ReaderColumnSelection

    • Field Detail

      • _colIndexes

        protected int[] _colIndexes
      • _numRows

        protected int _numRows
      • _lastRow

        protected int _lastRow
      • _skipZeros

        protected boolean _skipZeros
    • Constructor Detail

      • ReaderColumnSelection

        protected ReaderColumnSelection(int[] colIndexes,
                                        int numRows,
                                        boolean skipZeros)
    • Method Detail

      • nextRow

        public abstract DblArray nextRow()
        Gets the next row, null when no more rows.
        Returns:
        next row
      • getCurrentRowIndex

        public int getCurrentRowIndex()
      • reset

        public void reset()
        Resets the reader to the first row.

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