Package | Description |
---|---|
tech.tablesaw.aggregate | |
tech.tablesaw.api | |
tech.tablesaw.table |
Modifier and Type | Class | Description |
---|---|---|
class |
AnyIntAggregateFunction |
Partial implementation of AggregateFunction that returns an integer when applied to a column of
any type
|
class |
BooleanAggregateFunction |
A partial implementation of aggregate functions to summarize over a boolean column
|
class |
BooleanDoubleAggregateFunction |
Partial implementation of Aggregate function that returns a Double value when applied to a
BooleanColumn
|
class |
BooleanIntAggregateFunction |
A partial implementation of an AggregateFunction that returns an Integer value when applied to a
Boolean Column
|
class |
DateAggregateFunction |
A partial implementation of aggregate functions to summarize over a date column
|
class |
DateTimeAggregateFunction |
A partial implementation of aggregate functions to summarize over a dateTime column
|
class |
InstantAggregateFunction |
A partial implementation of aggregate functions to summarize over an instant column
|
class |
NumericAggregateFunction |
A partial implementation of aggregate functions to summarize over a numeric column
|
class |
StringAggregateFunction |
A partial implementation of aggregate functions to summarize over a StringColumn and return a
String
|
class |
StringFunction |
Deprecated.
Use
StringAggregateFunction instead |
class |
TimeAggregateFunction |
A partial implementation of aggregate functions to summarize over a time column
|
Modifier and Type | Method | Description |
---|---|---|
static Table |
PivotTable.pivot(Table table,
CategoricalColumn<?> column1,
CategoricalColumn<?> column2,
NumericColumn<?> values,
AggregateFunction<?,?> aggregateFunction) |
Returns a table that is a rotation of the given table pivoted around the key columns, and
filling the output cells using the values calculated by the
aggregateFunction when
applied to the values column grouping by the key columns |
Constructor | Description |
---|---|
Summarizer(Table sourceTable,
List<String> columnNames,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given column in the given sourceTable, by applying
the given functions
|
Summarizer(Table sourceTable,
Column<?> column,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given column in the given sourceTable, by applying
the given functions
|
Summarizer(Table sourceTable,
Column<?> column1,
Column<?> column2,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given columns in the given sourceTable, by
applying the given functions
|
Summarizer(Table sourceTable,
Column<?> column1,
Column<?> column2,
Column<?> column3,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given column2 in the given sourceTable, by
applying the given functions
|
Summarizer(Table sourceTable,
Column<?> column1,
Column<?> column2,
Column<?> column3,
Column<?> column4,
AggregateFunction<?,?>... functions) |
Returns an object capable of summarizing the given columns in the given sourceTable, by
applying the given functions
|
Modifier and Type | Method | Description |
---|---|---|
Table |
Table.pivot(String column1Name,
String column2Name,
String column3Name,
AggregateFunction<?,?> aggregateFunction) |
Returns a pivot on this table, where: The first column contains unique values from the index
column1 There are n additional columns, one for each unique value in column2 The values in each
of the cells in these new columns are the result of applying the given AggregateFunction to the
data in column3, grouped by the values of column1 and column2
|
Table |
Table.pivot(CategoricalColumn<?> column1,
CategoricalColumn<?> column2,
NumericColumn<?> column3,
AggregateFunction<?,?> aggregateFunction) |
Returns a pivot on this table, where: The first column contains unique values from the index
column1 There are n additional columns, one for each unique value in column2 The values in each
of the cells in these new columns are the result of applying the given AggregateFunction to the
data in column3, grouped by the values of column1 and column2
|
Summarizer |
Table.summarize(String col1Name,
String col2Name,
String col3Name,
String col4Name,
AggregateFunction<?,?>... functions) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(String col1Name,
String col2Name,
String col3Name,
AggregateFunction<?,?>... functions) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(String numericColumn1Name,
String numericColumn2Name,
AggregateFunction<?,?>... functions) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(String columName,
AggregateFunction<?,?>... functions) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(List<String> columnNames,
AggregateFunction<?,?>... functions) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(Column<?> numberColumn,
AggregateFunction<?,?>... function) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
AggregateFunction<?,?>... function) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
AggregateFunction<?,?>... function) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Summarizer |
Table.summarize(Column<?> column1,
Column<?> column2,
Column<?> column3,
Column<?> column4,
AggregateFunction<?,?>... function) |
Returns a
Summarizer that can be used to summarize the column with the given name(s)
using the given functions. |
Modifier and Type | Method | Description |
---|---|---|
Table |
TableSliceGroup.aggregate(String colName1,
AggregateFunction<?,?>... functions) |
Applies the given aggregation to the given column.
|
<INCOL extends Column<?>,OUT> |
RollingColumn.calc(AggregateFunction<INCOL,OUT> function) |
Performs the calculation and returns a new column containing the results
|
protected String |
RollingColumn.generateNewColumnName(AggregateFunction<?,?> function) |
Generates a name for the column based on the name of the original column and the function used
in the calculation
|
Modifier and Type | Method | Description |
---|---|---|
Table |
TableSliceGroup.aggregate(com.google.common.collect.ListMultimap<String,AggregateFunction<?,?>> functions) |
Applies the given aggregations to the given columns.
|
Copyright © 2022. All rights reserved.