| Package | Description |
|---|---|
| com.github.martincooper.datatable | |
| com.github.martincooper.datatable.sorting |
| Modifier and Type | Method and Description |
|---|---|
static DataTable |
DataTable.build(String tableName)
Builds an instance of a DataTable.
|
DataTable |
DataRow.table()
Returns the underlying Data Table for this row.
|
DataTable |
IBaseTable.toDataTable()
Return a new DataTable based on this table (clone).
|
DataTable |
DataView.toDataTable()
Return a new DataTable based on this table (clone).
|
DataTable |
DataTable.toDataTable()
Return a new DataTable based on this table (clone).
|
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Try<DataTable> |
DataColumnCollection.add(IDataColumn newColumn)
Adds a IDataColumn to the column collection.
|
io.vavr.control.Try<DataTable> |
DataRowCollectionModifiable.add(Object[] rowValues)
Returns a new DataTable with the additional row appended.
|
io.vavr.control.Try<DataTable> |
DataRowCollectionModifiable.addValues(Object... rowValues)
Returns a new DataTable with the additional row appended.
|
io.vavr.control.Try<DataTable> |
DataTableBuilder.build()
Attempts to build the data table from all the details in the chained method calls.
|
static io.vavr.control.Try<DataTable> |
DataTable.build(String tableName,
IDataColumn[] columns)
Builds an instance of a DataTable.
|
static io.vavr.control.Try<DataTable> |
DataTable.build(String tableName,
Iterable<IDataColumn> columns)
Builds an instance of a DataTable.
|
static io.vavr.control.Try<DataTable> |
DataTable.build(String tableName,
io.vavr.collection.Stream<IDataColumn> columns)
Builds an instance of a DataTable.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.insert(IDataColumn currentColumn,
IDataColumn newColumn)
Inserts a new column after the specified column.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.insert(Integer index,
IDataColumn newColumn)
Inserts a new column at the specified index.
|
io.vavr.control.Try<DataTable> |
DataRowCollectionModifiable.insert(int idx,
Object[] rowValues)
Returns a new DataTable with the additional row inserted at the specified index.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.insert(String columnName,
IDataColumn newColumn)
Inserts a column after an existing column.
|
io.vavr.control.Try<DataTable> |
DataRowCollectionModifiable.insertValues(int idx,
Object... rowValues)
Returns a new DataTable with the additional row inserted at the specified index.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.remove(IDataColumn columnToRemove)
Removes the specified column.
|
io.vavr.control.Try<DataTable> |
DataRowCollectionModifiable.remove(int idx)
Returns a new DataTable with the specified row removed.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.remove(Integer index)
Removes the specified column.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.remove(String columnName)
Removes a named column.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.replace(IDataColumn oldColumn,
IDataColumn newColumn)
Replaces the old column with the new column.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.replace(Integer index,
IDataColumn newColumn)
Replaces the column at the specified index with the new column.
|
io.vavr.control.Try<DataTable> |
DataRowCollectionModifiable.replace(int idx,
Object[] rowValues)
Returns a new DataTable with the data replaced at the specified index.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.replace(String columnName,
IDataColumn newColumn)
Replaces the old column with the new column.
|
io.vavr.control.Try<DataTable> |
DataRowCollectionModifiable.replaceValues(int idx,
Object... rowValues)
Returns a new DataTable with the data replaced at the specified index.
|
| Modifier and Type | Method and Description |
|---|---|
static DataRowCollectionModifiable |
DataRowCollectionModifiable.build(DataTable table)
Builds a new DataRowCollection for the specified DataTable.
|
static DataRowCollection |
DataRowCollection.build(DataTable table)
Builds a new DataRowCollection for the specified DataTable.
|
static io.vavr.control.Try<DataRow> |
DataRow.build(DataTable table,
Integer rowIdx)
Builds an instance of a DataRow.
|
static io.vavr.control.Try<DataView> |
DataView.build(DataTable table,
Iterable<DataRow> rows)
Builds an instance of a DataView.
|
static io.vavr.control.Try<DataRowCollection> |
DataRowCollection.build(DataTable table,
Iterable<DataRow> rows)
Builds a new DataRowCollection for the specified DataTable.
|
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Try<IDataColumn> |
SortItem.getColumn(DataTable table)
Returns the column from the table.
|
static io.vavr.control.Try<DataView> |
DataSort.quickSort(DataTable table,
io.vavr.collection.Seq<DataRow> rows,
io.vavr.collection.Seq<SortItem> sortItems)
Performs a quick sort on a DataTable given the specified parameters.
|
Copyright © 2017. All rights reserved.