public class ReaderColumnSelectionDenseSample extends ReaderColumnSelection
| Modifier and Type | Field and Description |
|---|---|
protected MatrixBlock |
_data |
_colIndexes, _lastRow, _numRows, _skipZeros| Constructor and Description |
|---|
ReaderColumnSelectionDenseSample(MatrixBlock data,
int[] colIndexes,
int[] sampleIndexes,
boolean skipZeros) |
| 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.
|
protected MatrixBlock _data
public ReaderColumnSelectionDenseSample(MatrixBlock data, int[] colIndexes, int[] sampleIndexes, boolean skipZeros)
public DblArray nextRow()
ReaderColumnSelectionnextRow in class ReaderColumnSelectionpublic int getCurrentRowIndex()
getCurrentRowIndex in class ReaderColumnSelectionpublic void reset()
ReaderColumnSelectionreset in class ReaderColumnSelectionCopyright © 2017 The Apache Software Foundation. All rights reserved.