public final class FirstRowDataSet extends AbstractDataSet implements WrappingDataSet
| Constructor and Description |
|---|
FirstRowDataSet(DataSet dataSet,
int firstRow)
Constructs a
FirstRowDataSet. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the DataSet and any resources it may be holding.
|
Row |
getRow() |
DataSet |
getWrappedDataSet()
Gets the
DataSet that is wrapped by this WrappingDataSet. |
boolean |
next()
Moves forward to the next row.
|
decorateIdentity, getHeader, getSelectItems, indexOf, iterator, toObjectArrays, toRows, toStringclassEquals, equals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSelectItems, indexOf, iterator, toObjectArrays, toRowsforEach, spliteratorpublic FirstRowDataSet(DataSet dataSet, int firstRow)
FirstRowDataSet.dataSet - the dataset to wrapfirstRow - the first row number (1-based).public void close()
AbstractDataSetclose in interface Closeableclose in interface AutoCloseableclose in interface DataSetclose in class AbstractDataSetpublic DataSet getWrappedDataSet()
WrappingDataSetDataSet that is wrapped by this WrappingDataSet.getWrappedDataSet in interface WrappingDataSetCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.