public class SelectQueryRunnerFactory extends Object implements QueryRunnerFactory<Result<SelectResultValue>,SelectQuery>
Constructor and Description |
---|
SelectQueryRunnerFactory(SelectQueryQueryToolChest toolChest,
SelectQueryEngine engine,
QueryWatcher queryWatcher) |
Modifier and Type | Method and Description |
---|---|
QueryRunner<Result<SelectResultValue>> |
createRunner(Segment segment) |
QueryToolChest<Result<SelectResultValue>,SelectQuery> |
getToolchest() |
QueryRunner<Result<SelectResultValue>> |
mergeRunners(ExecutorService queryExecutor,
Iterable<QueryRunner<Result<SelectResultValue>>> queryRunners) |
@Inject public SelectQueryRunnerFactory(SelectQueryQueryToolChest toolChest, SelectQueryEngine engine, QueryWatcher queryWatcher)
public QueryRunner<Result<SelectResultValue>> createRunner(Segment segment)
createRunner
in interface QueryRunnerFactory<Result<SelectResultValue>,SelectQuery>
public QueryRunner<Result<SelectResultValue>> mergeRunners(ExecutorService queryExecutor, Iterable<QueryRunner<Result<SelectResultValue>>> queryRunners)
mergeRunners
in interface QueryRunnerFactory<Result<SelectResultValue>,SelectQuery>
public QueryToolChest<Result<SelectResultValue>,SelectQuery> getToolchest()
getToolchest
in interface QueryRunnerFactory<Result<SelectResultValue>,SelectQuery>
Copyright © 2015. All rights reserved.