Package tech.tablesaw.analytic
Interface AnalyticQuerySteps.Execute
-
- All Known Subinterfaces:
AnalyticQuerySteps.AddAggregateFunctionsWithExecute,AnalyticQuerySteps.AddNumberingFunctionWithExecute
- Enclosing interface:
- AnalyticQuerySteps
public static interface AnalyticQuerySteps.Execute
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalyticQuerybuild()Build the Query object without executing it.Tableexecute()Executes the query adding all the calculated columns to a new table.voidexecuteInPlace()Executes the query and adds all the calculated columns directly to the source table.
-
-
-
Method Detail
-
build
AnalyticQuery build()
Build the Query object without executing it.- Returns:
- a query object that can be executed.
-
execute
Table execute()
Executes the query adding all the calculated columns to a new table. The result columns will have the same order as the from table.- Returns:
- a new table containing only the result columns.
-
executeInPlace
void executeInPlace()
Executes the query and adds all the calculated columns directly to the source table.- Throws:
IllegalArgumentException- if any of the calculated columns have the same name as one of the columns in the FROM table.
-
-