public interface SqlBackedClient
DruidQuery
.Modifier and Type | Method and Description |
---|---|
Future<com.fasterxml.jackson.databind.JsonNode> |
executeQuery(DruidQuery<?> druidQuery,
SuccessCallback successCallback,
FailureCallback failureCallback)
Uses a
DruidQuery to fetch results from a Sql client,
parses the results from Sql and returns an equivalent JsonNode
to what druid would respond with. |
Future<com.fasterxml.jackson.databind.JsonNode> executeQuery(DruidQuery<?> druidQuery, SuccessCallback successCallback, FailureCallback failureCallback)
DruidQuery
to fetch results from a Sql client,
parses the results from Sql and returns an equivalent JsonNode
to what druid would respond with.druidQuery
- The query to be executed.successCallback
- The callback for handling a successful result.failureCallback
- The callback for handling exceptionsCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.