Initial support for an ANTLR-based Influx DB query parser

The initial grammar only understands these queries:
- list series
- select * from my_series
- select * from "312 _ strange\" name"

Two tests check queries which we expect can be parsed and cannot.

The ANTLR Maven plugin builds the lexer and parser during the
generate-sources phase.

This only a first step and the query is not ready to be merged. The goal is to be able the current regular expression based parser first. Later on (in another PR), we can expand the grammar to support more Influx language constructs.
Le 11/12/2014 16:53, jsanda a écrit :
> That's a good point. In MetricHandler all of the URIs are prefixed with
> the tenant id. Would it make more sense to change the base URI in
> InfluxHandler to |/{tenantId}/influx| or have |/influx/{tenantId}|?
>

/influx/{tenantId}/series:

That's what I changed in commit f668839