OpenSearch/sql
Nik Everett e989f465bb SQL: Switch is aggs only to OO (elastic/x-pack-elasticsearch#3432)
Switches the "is this query aggs only?" question from pattern matching
on the column tree to an OO-style "ask the columns if they can be aggs
only" method.

I expect this could have been less code if I was willing to define
`supportedByAggsOnlyQuery` as `true` at the top of the
`ProcessorDefinition` object tree and override it only on nodes
`ReferenceInput` and `ScoreProcessorDefinition` but this feels dirty to
me. I tend to think of a superclass as a list of questions that all the
subclasses have to answer rather than a list of behaviors to share.
Pulling the `return true` up saves a few lines of code but breaks my
ability to reason about subclasses.


Original commit: elastic/x-pack-elasticsearch@b1338543cb
2017-12-27 14:16:22 -05:00
..
cli SQL: Switch CLI to REST protocol (elastic/x-pack-elasticsearch#3342) 2017-12-22 20:42:13 -10:00
jdbc SQL: Bring SQL Version in line with ES Version (elastic/x-pack-elasticsearch#3308) 2017-12-14 22:01:19 -05:00
jdbc-proto Revert "Revert "Merge branch 'feature/sql'"" 2017-12-13 10:19:31 -05:00
rest-proto SQL: Switch CLI to REST protocol (elastic/x-pack-elasticsearch#3342) 2017-12-22 20:42:13 -10:00
server SQL: Switch is aggs only to OO (elastic/x-pack-elasticsearch#3432) 2017-12-27 14:16:22 -05:00
shared-client SQL: Switch CLI to REST protocol (elastic/x-pack-elasticsearch#3342) 2017-12-22 20:42:13 -10:00
shared-proto Revert "Revert "Merge branch 'feature/sql'"" 2017-12-13 10:19:31 -05:00
test-utils Revert "Revert "Merge branch 'feature/sql'"" 2017-12-13 10:19:31 -05:00
build.gradle Revert "Revert "Merge branch 'feature/sql'"" 2017-12-13 10:19:31 -05:00