public class SavedQueryResourceHelper extends ServiceManagerHelper
Modifier and Type | Field and Description |
---|---|
static String |
SAVED_QUERY_BASE_URL |
Constructor and Description |
---|
SavedQueryResourceHelper() |
SavedQueryResourceHelper(String envFileName) |
exec, exec, exec, exec, exec, execDELETE, execGET, execPOST, execPUT, getAdminUrl, getBaseUrl, getClientDir, getCurrentDB, getJobConfUrl, getPassword, getServerDir, getServerHdfsUrl, getServerLens, getServiceURI, getSessionHandleString, getStartDate, getUserName, init, sendForm, sendQuery
public static final String SAVED_QUERY_BASE_URL
public SavedQueryResourceHelper()
public SavedQueryResourceHelper(String envFileName)
public ListResponse listSavedQueries(String start, String count, String sessionHandleString) throws JAXBException
JAXBException
public ListResponse getSavedQueries(String start, String count) throws JAXBException
JAXBException
public ResourceModifiedResponse createSavedQuery(String query, String name, List<Parameter> paramList, String sessionHandleString, javax.ws.rs.core.MediaType inputMediaType) throws JAXBException, IOException
JAXBException
IOException
public Parameter getParameter(String name, ParameterDataType dataType, String defaultValue, ParameterCollectionType collectionType)
public ResourceModifiedResponse createSavedQuery(String query, String name, List<Parameter> paramList) throws JAXBException, IOException
JAXBException
IOException
public ResourceModifiedResponse createSavedQuery(String query, String name, List<Parameter> paramList, String session) throws JAXBException, IOException
JAXBException
IOException
public SavedQuery getSavedQuery(Long queryId, String sessionHandleString) throws JAXBException
JAXBException
public SavedQuery getSavedQuery(Long queryId) throws JAXBException, LensException
JAXBException
LensException
public ResourceModifiedResponse deleteSavedQuery(Long queryId, String sessionHandleString) throws JAXBException
JAXBException
public void deleteAllSavedQueries() throws JAXBException
JAXBException
public ResourceModifiedResponse updateSavedQuery(Long queryId, String sessionHandleString, SavedQuery savedQuery) throws JAXBException, IOException
JAXBException
IOException
public LensAPIResult<QueryHandle> runSavedQuery(Long queryId, String sessionHandleString, String conf, HashMap<String,String> params) throws JAXBException
JAXBException
public LensAPIResult<QueryHandle> runSavedQuery(Long queryId, String sessionHandleString, HashMap<String,String> params) throws JAXBException
JAXBException
public LensAPIResult<QueryHandle> runSavedQuery(Long queryId, HashMap<String,String> params) throws JAXBException
JAXBException
public ParameterParserResponse getSavedQueryParameter(String query, String sessionHandleString) throws JAXBException
JAXBException
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.