Package | Description |
---|---|
tech.tablesaw.api | |
tech.tablesaw.sorting | |
tech.tablesaw.table |
Modifier and Type | Method | Description |
---|---|---|
Table |
Table.sortOn(Sort key) |
Returns a copy of this table sorted using the given sort key.
|
Modifier and Type | Method | Description |
---|---|---|
static Sort |
Sort.create(Table table,
String... columnNames) |
Create a Sort object from the given table and sort column names.
|
Sort |
Sort.next(String columnName,
Sort.Order order) |
Returns a Sort that concatenates a new sort on the given order (ascending or descending) and
columnName onto the sort specified here.
|
static Sort |
Sort.on(String columnName,
Sort.Order order) |
Returns a Sort specifying the order (ascending or descending) to apply to the column with the
given name
|
Modifier and Type | Method | Description |
---|---|---|
static IntComparatorChain |
SortUtils.getChain(Table table,
Sort key) |
Returns a comparator chain for sorting according to the given key
|
static it.unimi.dsi.fastutil.ints.IntComparator |
SortUtils.getComparator(Table table,
Sort key) |
Returns a comparator that can be used to sort the records in this table according to the given
sort key
|
Modifier and Type | Method | Description |
---|---|---|
void |
TableSlice.sortOn(Sort key) |
Sort this view in place without modifying or copying the underlying source table.
|
Copyright © 2022. All rights reserved.