| Modifier and Type | Field and Description |
|---|---|
protected io.vavr.collection.Vector<DataRow> |
rows |
protected DataTable |
table |
| Modifier and Type | Method and Description |
|---|---|
io.vavr.collection.Seq<DataRow> |
asSeq()
Returns access to the Data Row collection as a sequence of Data Rows.
|
static DataRowCollection |
build(DataTable table)
Builds a new DataRowCollection for the specified DataTable.
|
static io.vavr.control.Try<DataRowCollection> |
build(DataTable table,
Iterable<DataRow> rows)
Builds a new DataRowCollection for the specified DataTable.
|
DataView |
filter(Predicate<DataRow> predicate)
Filters the row data using the specified predicate,
returning the results as a DataView over the original table.
|
DataRow |
get(Integer rowIndex)
Returns the Data Row at the specified index.
|
Iterator<DataRow> |
iterator()
Returns an iterator over elements of DataRow.
|
<U> io.vavr.collection.Seq<U> |
map(Function<? super DataRow,? extends U> mapper)
Map implementation for the DataRowCollection class.
|
Integer |
rowCount()
The number of rows in the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected final DataTable table
protected final io.vavr.collection.Vector<DataRow> rows
public static DataRowCollection build(DataTable table)
table - The table to build the DataRowCollection for.public static io.vavr.control.Try<DataRowCollection> build(DataTable table, Iterable<DataRow> rows)
table - The table to build the DataRowCollection for.rows - The rows to build the table.public DataRow get(Integer rowIndex)
rowIndex - The row index.public Integer rowCount()
public io.vavr.collection.Seq<DataRow> asSeq()
public DataView filter(Predicate<DataRow> predicate)
predicate - The filter criteria.Copyright © 2017. All rights reserved.