public class Summarizer extends Object
Constructor and Description |
---|
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
|
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
|
Modifier and Type | Method and Description |
---|---|
Table |
apply()
Returns the result of applying to the functions to all the values in the appropriate column
TODO add a test that uses a non numeric return type with apply
|
Table |
by(CategoricalColumn<?>... columns) |
Table |
by(String... columnNames) |
Table |
by(String groupNameTemplate,
int step) |
public Summarizer(Table sourceTable, Column<?> column, AggregateFunction<?,?>... functions)
public Summarizer(Table sourceTable, List<String> columnNames, AggregateFunction<?,?>... functions)
public Summarizer(Table sourceTable, Column<?> column1, Column<?> column2, AggregateFunction<?,?>... functions)
public Summarizer(Table sourceTable, Column<?> column1, Column<?> column2, Column<?> column3, Column<?> column4, AggregateFunction<?,?>... functions)
public Summarizer(Table sourceTable, Column<?> column1, Column<?> column2, Column<?> column3, AggregateFunction<?,?>... functions)
public Table by(CategoricalColumn<?>... columns)
public Table apply()
Copyright © 2018. All rights reserved.