Add uid_table field to TSDB as meta classes will use it frequently
Add uid and data table getters to TSDB for meta classes

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add UniqueIdType enumerator for shared searching
Add UniqueId.stringToUniqueIdType() to convert from a string to a type (w unit tests)

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add TSDB.getUidName() and .getUID() to access the private UID caches

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add HttpQuery.getAPIMethod() for processing verb overrides

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add HttpQuery.sendStatusOnly() to send status code only responses, no body

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add JSON.UniqueIdTypeDeserializer() for deserializing human readable types to the UniqueIdType enumerator

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add TSQuery.java for parsing and storing state information about timeseries
queries
Add TSSubQuery.java
Add query validation methods to parse the requested timestamps and aggregators
Add unit tests for Timeseries Query classes

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add QueryRpc class for handling timesieres queries
Add TestQueryRpc class for unit tests
Add serializer methods parseQueryV1() and formatQueryV1()

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Thanks to Martin Jansen for JSON output
Add JSONP support to api/query in the JSON serializer

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Unit Test cleanup
Fix assertEquals order in some tests
Initialize reflected methods once as statics

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Cleanup unnecessary imports
Remove unused TSDMain.getFlushInterval()

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Make query parse calls static
Fix errant unit test in TestTSQuery.java

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add status, message and exception constructor overload to BadRequestException

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add PUT and DELETE query helpers to NettyMocks
Refactor the NettyMocks and add contentQuery() to use any method

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add accessors to get the metric, tag, and tagv widths in TSDB

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Merge remote branch 'remotes/official/next' into next_meta

Conflicts:
	src/core/TSDB.java
	src/core/TSQuery.java
	src/tsd/HttpJsonSerializer.java
	src/tsd/HttpQuery.java
	src/tsd/HttpSerializer.java
	test/tsd/TestUniqueIdRpc.java
FIX for goofy merge issues