public void getJDBCSchemas(HttpRequest request, HttpResponder responder) {
handleResponseEndpointExecution(request, responder, new EndpointCoreExecution<QueryHandle>() {
@Override
public QueryHandle execute(HttpRequest request, HttpResponder responder)
throws IllegalArgumentException, SQLException, ExploreException, IOException {
SchemasArgs args = decodeArguments(request, SchemasArgs.class, new SchemasArgs(null, null));
LOG.trace("Received get schemas with params: {}", args.toString());
return exploreService.getSchemas(args.getCatalog(), args.getSchemaPattern());
}
});
}