org.apache.sysds.runtime.compress

## Class ReaderColumnSelectionSparse

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

-     public class ReaderColumnSelectionSparse
      extends ReaderColumnSelection

  Used to extract the values at certain indexes from each row in a sparse matrix Keeps returning all-zeros arrays until reaching the last possible index. The current compression algorithm treats the zero-value in a sparse matrix like any other value.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReaderColumnSelectionSparse(MatrixBlock data, int[] colIndexes, CompressionSettings compSettings)`

  - ### Method Summary

    - ### Methods inherited from class org.apache.sysds.runtime.compress.ReaderColumnSelection

      `getCurrentRowIndex, nextRow, reset`

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

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

- - ### Constructor Detail

    - #### ReaderColumnSelectionSparse

          public ReaderColumnSelectionSparse(MatrixBlock data,
                                             int[] colIndexes,
                                             CompressionSettings compSettings)

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