Package | Description |
---|---|
org.apache.lens.api.query.save | |
org.apache.lens.server.api.query.save | |
org.apache.lens.server.api.query.save.param | |
org.apache.lens.server.query.save |
Modifier and Type | Method and Description |
---|---|
List<SavedQuery> |
ListResponse.getResoures()
The queries.
|
Modifier and Type | Method and Description |
---|---|
void |
ListResponse.setResoures(List<SavedQuery> resoures)
The queries.
|
Constructor and Description |
---|
ListResponse(long offsetAppplied,
long totalCount,
List<SavedQuery> resoures) |
Modifier and Type | Method and Description |
---|---|
SavedQuery |
SavedQueryService.get(long id)
Returns the saved query pointed out by the id.
|
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.MultivaluedMap<String,String> |
SavedQueryHelper.getDefaultParameterValues(SavedQuery query)
Extracts the default parameter values from the saved query
|
static String |
SavedQueryHelper.getSampleResolvedQuery(SavedQuery savedQuery)
Gets a sample query for saved query by auto resolving the parameters
|
long |
SavedQueryService.save(SavedQuery query)
Saves a query
|
void |
SavedQueryService.update(long id,
SavedQuery query)
Updates the specified saved query with the new object.
|
Modifier and Type | Method and Description |
---|---|
static String |
ParameterResolver.resolve(SavedQuery savedQuery,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
SavedQuery |
SavedQueryServiceImpl.get(long id)
Returns the saved query pointed out by the id.
|
SavedQuery |
SavedQueryResource.getByID(LensSessionHandle sessionid,
long id)
Gets the saved query with the given id.
|
SavedQuery |
SavedQueryDao.getSavedQueryByID(long id)
Gets saved query with the given id
|
Modifier and Type | Method and Description |
---|---|
List<SavedQuery> |
SavedQueryDao.SavedQueryResultSetHandler.handle(ResultSet resultSet) |
Modifier and Type | Method and Description |
---|---|
ResourceModifiedResponse |
SavedQueryResource.create(LensSessionHandle sessionid,
SavedQuery savedQuery,
org.glassfish.grizzly.http.server.Response response)
Creates a new saved query.
|
long |
SavedQueryServiceImpl.save(SavedQuery savedQuery)
Saves a query
|
long |
SavedQueryDao.saveQuery(SavedQuery savedQuery)
Saves the query passed
|
ResourceModifiedResponse |
SavedQueryResource.update(LensSessionHandle sessionid,
long id,
SavedQuery savedQuery,
org.glassfish.grizzly.http.server.Response response)
Updates the saved query {id} with the new payload.
|
void |
SavedQueryServiceImpl.update(long id,
SavedQuery savedQuery)
Updates the specified saved query with the new object.
|
void |
SavedQueryDao.updateQuery(long id,
SavedQuery savedQuery)
Updates the saved query id with new payload
|
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.