public class SqlResource extends Object
Constructor and Description |
---|
SqlResource(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
PlannerFactory plannerFactory) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
doPost(SqlQuery sqlQuery,
javax.servlet.http.HttpServletRequest req) |
@Inject public SqlResource(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, PlannerFactory plannerFactory)
public javax.ws.rs.core.Response doPost(SqlQuery sqlQuery, @Context javax.servlet.http.HttpServletRequest req) throws SQLException, IOException
SQLException
IOException
Copyright © 2011–2018. All rights reserved.