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()
ReaderColumnSelection
nextRow
in class ReaderColumnSelection
public int getCurrentRowIndex()
getCurrentRowIndex
in class ReaderColumnSelection
public void reset()
ReaderColumnSelection
reset
in class ReaderColumnSelection
Copyright © 2018 The Apache Software Foundation. All rights reserved.