public class QueryFactory extends Object
Modifier and Type | Method and Description |
---|---|
static List<CallQuery> |
createCallQueries(DataService dataService,
Iterator<org.apache.axiom.om.OMElement> callQueryElItr)
Create a collection of call queries with the given call query element.
|
static CallQuery |
createEmptyBoxcarCallQuery(DataService dataService) |
static CallQuery |
createEmptyCallQuery(DataService dataService) |
static Query |
createQuery(DataService dataService,
org.apache.axiom.om.OMElement queryEl) |
static org.apache.axiom.om.OMElement |
getJSONResultFromText(String jsonMapping) |
static String |
getSQLQueryForConnectionURL(org.apache.axiom.om.OMElement queryEl,
String connectionURL) |
static QName |
getXsdTypeQName(String xsdTypeStr) |
public static Query createQuery(DataService dataService, org.apache.axiom.om.OMElement queryEl) throws DataServiceFault
DataServiceFault
public static String getSQLQueryForConnectionURL(org.apache.axiom.om.OMElement queryEl, String connectionURL) throws DataServiceFault
DataServiceFault
public static org.apache.axiom.om.OMElement getJSONResultFromText(String jsonMapping) throws DataServiceFault
DataServiceFault
public static List<CallQuery> createCallQueries(DataService dataService, Iterator<org.apache.axiom.om.OMElement> callQueryElItr) throws DataServiceFault
DataServiceFault
public static CallQuery createEmptyCallQuery(DataService dataService)
public static CallQuery createEmptyBoxcarCallQuery(DataService dataService)
Copyright © 2019 WSO2. All rights reserved.