influxdb/query
Jonathan A. Sternberg 733d842812 Turn the ExecutionContext into a context.Context
Along with modifying ExecutionContext to be a context and have the
TaskManager return the context itself, this also creates a Monitor
interface and exposes the Monitor through the Context. This way, we can
access the monitor from within the query.Select method and keep all of
the limits inside of the query package instead of leaking them into the
statement executor.

An eventual goal is to remove the InterruptCh from the IteratorOptions
and use the Context instead, but for now, we'll just assign the done
channel from the Context to the IteratorOptions so at least they refer
to the same channel.
2018-03-08 14:03:20 -06:00
..
internal Cleanup query package 2018-01-21 12:08:23 -08:00
neldermead move RewriteStatement and neldermead to influxdb/query package 2017-10-30 10:24:15 -07:00
call_iterator.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
call_iterator_test.go Cleanup query package 2018-01-21 12:08:23 -08:00
cast.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
compile.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
compile_test.go Fix regression when math between literals is used in a field 2018-02-14 14:34:34 -05:00
emitter.go Use index for SHOW X meta queries 2017-11-06 19:15:00 +00:00
emitter_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
execution_context.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
executor.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
executor_test.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
explain.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
functions.gen.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
functions.gen.go.tmpl Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
functions.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
functions_test.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
iterator.gen.go Cleanup query package 2018-01-21 12:08:23 -08:00
iterator.gen.go.tmpl Cleanup query package 2018-01-21 12:08:23 -08:00
iterator.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
iterator_mapper.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
iterator_mapper_test.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
iterator_test.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
linear.go Add unsigned iterators for all types 2017-09-18 15:09:10 -05:00
monitor.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
monitor_test.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
point.gen.go EXPLAIN ANALYZE 2017-10-20 08:01:37 -07:00
point.gen.go.tmpl EXPLAIN ANALYZE 2017-10-20 08:01:37 -07:00
point.go Update influxql so DataType constants are the type DataType 2017-11-07 18:34:53 -06:00
point_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
query.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
result.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
select.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
select_test.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
statement_rewriter.go Improve SHOW TAG KEYS performance. 2017-11-07 10:59:19 -07:00
statement_rewriter_test.go Improve SHOW TAG KEYS performance. 2017-11-07 10:59:19 -07:00
subquery.go Fix the implicit time range in a subquery 2018-02-27 17:10:10 -06:00
task_manager.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
tmpldata Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00