@Path(value="/") @RolesAllowed(value="authenticated") public class QueryResources extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryResources.QueryPage
Model class for Query page
|
static class |
QueryResources.TabularResult
Model class for Results page
|
| Constructor and Description |
|---|
QueryResources() |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.jersey.server.mvc.Viewable |
getQuery() |
org.glassfish.jersey.server.mvc.Viewable |
submitQuery(String query,
String queryType,
String autoLimit,
String userName,
String defaultSchema,
javax.ws.rs.core.Form form) |
javax.ws.rs.core.StreamingOutput |
submitQueryJSON(QueryWrapper query) |
@GET @Path(value="/query") @Produces(value="text/html") public org.glassfish.jersey.server.mvc.Viewable getQuery()
@POST @Path(value="/query.json") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.StreamingOutput submitQueryJSON(QueryWrapper query) throws Exception
Exception@POST
@Path(value="/query")
@Consumes(value="application/x-www-form-urlencoded")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable submitQuery(@FormParam(value="query")
String query,
@FormParam(value="queryType")
String queryType,
@FormParam(value="autoLimit")
String autoLimit,
@FormParam(value="userName")
String userName,
@FormParam(value="defaultSchema")
String defaultSchema,
javax.ws.rs.core.Form form)
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.