| Modifier and Type | Field and Description |
|---|---|
protected io.vavr.collection.Vector<DataRow> |
rows |
protected DataTable |
table |
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Try<DataTable> |
add(Object[] rowValues)
Returns a new DataTable with the additional row appended.
|
io.vavr.control.Try<DataTable> |
addValues(Object... rowValues)
Returns a new DataTable with the additional row appended.
|
io.vavr.collection.Seq<DataRow> |
asSeq()
Returns access to the Data Row collection as a sequence of Data Rows.
|
static DataRowCollectionModifiable |
build(DataTable table)
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.
|
io.vavr.control.Try<DataTable> |
insert(int idx,
Object[] rowValues)
Returns a new DataTable with the additional row inserted at the specified index.
|
io.vavr.control.Try<DataTable> |
insertValues(int idx,
Object... rowValues)
Returns a new DataTable with the additional row inserted 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.
|
io.vavr.control.Try<DataTable> |
remove(int idx)
Returns a new DataTable with the specified row removed.
|
io.vavr.control.Try<DataTable> |
replace(int idx,
Object[] rowValues)
Returns a new DataTable with the data replaced at the specified index.
|
io.vavr.control.Try<DataTable> |
replaceValues(int idx,
Object... rowValues)
Returns a new DataTable with the data replaced at the specified index.
|
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 io.vavr.control.Try<DataTable> addValues(Object... rowValues)
rowValues - The values to append to the row.public io.vavr.control.Try<DataTable> add(Object[] rowValues)
rowValues - The values to append to the row.public io.vavr.control.Try<DataTable> insertValues(int idx, Object... rowValues)
idx - The row index.rowValues - The values to insert into the row.public io.vavr.control.Try<DataTable> insert(int idx, Object[] rowValues)
idx - The row index.rowValues - The values to insert into the row.public io.vavr.control.Try<DataTable> replaceValues(int idx, Object... rowValues)
idx - The row index.rowValues - The new values to replaced the old ones.public io.vavr.control.Try<DataTable> replace(int idx, Object[] rowValues)
idx - The row index.rowValues - The new values to replaced the old ones.public io.vavr.control.Try<DataTable> remove(int idx)
idx - The row index.public static DataRowCollectionModifiable build(DataTable table)
table - The table to build the DataRowCollection for.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.