influxdb/query
Jonathan A. Sternberg 905e7fe05e Refactor validation code and move it to the compiler
This refactors the validation code so it is more flexible and performs a
small bit of work to make preparing and executing the query easier.

The general idea is that compilation will eventually do more heavy
lifting in creating the initial plan and prepare will construct an
actual plan rather than just doing some basic field rewriting.

This change at least sets us up for that change in the future and moves
the validation code to the query execution instead of in the parser.

This also frees up the parser to parse the complete AST without worrying
if the query itself is valid. That could be useful for client code that
wants to compile a partial query to an AST and then perform
modifications on the AST for some reason.
2017-08-26 17:36:32 -05:00
..
internal Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
call_iterator.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
call_iterator_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
cast.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
compile.go Refactor validation code and move it to the compiler 2017-08-26 17:36:32 -05:00
compile_test.go Refactor validation code and move it to the compiler 2017-08-26 17:36:32 -05:00
emitter.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
emitter_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05: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 Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
functions_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
iterator.gen.go Ensure that sorted heaps are merged correctly 2017-08-23 17:21:24 +01:00
iterator.gen.go.tmpl Ensure that sorted heaps are merged correctly 2017-08-23 17:21:24 +01:00
iterator.go Refactor the select call into three separate phases 2017-08-25 07:50:13 -05:00
iterator_mapper.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
iterator_mapper_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
iterator_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
linear.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
monitor.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
point.gen.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
point.gen.go.tmpl Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
point.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05: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
query_executor.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
query_executor_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
result.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
select.go Refactor the select call into three separate phases 2017-08-25 07:50:13 -05:00
select_test.go Refactor validation code and move it to the compiler 2017-08-26 17:36:32 -05:00
subquery.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
task_manager.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
tmpldata Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00