| Package | Description |
|---|---|
| com.github.martincooper.datatable | |
| com.github.martincooper.datatable.sorting |
| Modifier and Type | Class and Description |
|---|---|
class |
DataColumn<T>
DataColumn.
|
| Modifier and Type | Method and Description |
|---|---|
IDataColumn |
ColumnValuePair.column()
The column.
|
IDataColumn |
DataView.column(Integer colIdx)
Accessor to a specific column by index.
|
IDataColumn |
DataTable.column(Integer colIdx)
Accessor to a specific column by index.
|
IDataColumn |
DataView.column(String colName)
Accessor to a specific column by name.
|
IDataColumn |
DataTable.column(String colName)
Accessor to a specific column by name.
|
IDataColumn |
DataColumnCollection.get(int index)
Returns the IDataColumn at the specified index.
|
IDataColumn |
DataColumnCollection.get(String columnName)
Returns the IDataColumn by name.
|
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Try<IDataColumn> |
DataColumn.add(Object value)
Attempts to add / append a new item to the end of the column.
|
io.vavr.control.Try<IDataColumn> |
IDataColumn.buildFromRows(io.vavr.collection.Seq<Integer> rowIndexes)
Builds a new DataColumn from the data in the specified row indexes.
|
io.vavr.control.Try<IDataColumn> |
DataColumn.buildFromRows(io.vavr.collection.Seq<Integer> rowIndexes)
Builds a new DataColumn from the data at the specified row indexes.
|
io.vavr.control.Try<IDataColumn> |
DataColumn.insert(Integer index,
Object value)
Attempts to insert a new item into the column.
|
Iterator<IDataColumn> |
DataColumnCollection.iterator()
Returns an iterator over elements of type IDataColumn.
|
io.vavr.control.Try<IDataColumn> |
DataColumn.remove(Integer index)
Attempts to remove an existing item at the specified index.
|
io.vavr.control.Try<IDataColumn> |
DataColumn.replace(Integer index,
Object value)
Attempts to replace an existing item with a new item in the column.
|
io.vavr.control.Try<IDataColumn> |
DataColumnCollection.tryGet(int index)
Returns the IDataColumn at the specified index.
|
io.vavr.control.Try<IDataColumn> |
DataColumnCollection.tryGet(String columnName)
Returns the IDataColumn by name.
|
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Try<DataTable> |
DataColumnCollection.add(IDataColumn newColumn)
Adds a IDataColumn to the column collection.
|
static io.vavr.control.Try<DataTable> |
DataTable.build(String tableName,
IDataColumn[] columns)
Builds an instance of a DataTable.
|
io.vavr.control.Try<R> |
IModifiableByColumn.insert(IDataColumn oldColumn,
IDataColumn newColumn)
Inserts a new column after the specified column.
|
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> |
DataColumnCollection.insert(String columnName,
IDataColumn newColumn)
Inserts a column after an existing column.
|
io.vavr.control.Try<R> |
IModifiableByColumn.remove(IDataColumn oldColumn)
Removes the specified column.
|
io.vavr.control.Try<DataTable> |
DataColumnCollection.remove(IDataColumn columnToRemove)
Removes the specified column.
|
io.vavr.control.Try<R> |
IModifiableByColumn.replace(IDataColumn oldColumn,
IDataColumn newColumn)
Replaces the old column with the new 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> |
DataColumnCollection.replace(String columnName,
IDataColumn newColumn)
Replaces the old column with the new column.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
<U> io.vavr.collection.Seq<U> |
DataColumnCollection.map(Function<? super IDataColumn,? extends U> mapper)
Map implementation for the DataColumnCollection class.
|
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Try<IDataColumn> |
SortItem.getColumn(DataTable table)
Returns the column from the table.
|
Copyright © 2017. All rights reserved.