org.apache.sysds.runtime.compress

## Class ReaderColumnSelection

- java.lang.Object
- - org.apache.sysds.runtime.compress.ReaderColumnSelection

- Direct Known Subclasses:
    ReaderColumnSelectionDense, ReaderColumnSelectionDenseSample, ReaderColumnSelectionSparse

      public abstract class ReaderColumnSelection
      extends Object

  Base class for all column selection readers.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCurrentRowIndex()`
    `DblArray` | `nextRow()` Gets the next row, null when no more rows.
    `void` | `reset()` Resets the reader to the first row.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### nextRow

          public 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 © 2020 The Apache Software Foundation. All rights reserved.