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