Package com.tonic.analysis.query.exec
Class QueryService.QueryConfig.Builder
- java.lang.Object
-
- com.tonic.analysis.query.exec.QueryService.QueryConfig.Builder
-
- Enclosing class:
- QueryService.QueryConfig
public static class QueryService.QueryConfig.Builder extends Object
Accumulator for a QueryConfig.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryService.QueryConfigbuild()QueryService.QueryConfig.BuildertimeBudgetMs(long ms)Sets the wall-clock budget for a run.
-
-
-
Method Detail
-
timeBudgetMs
public QueryService.QueryConfig.Builder timeBudgetMs(long ms)
Sets the wall-clock budget for a run.- Parameters:
ms- the budget in milliseconds- Returns:
- this builder
-
build
public QueryService.QueryConfig build()
- Returns:
- a config with the accumulated budget
-
-