Modifier and Type | Method and Description |
---|---|
static boolean |
DBUtils.authenticate(String username,
String password) |
void |
DataServiceConnection.close()
Close the connection.
|
void |
DataServiceConnection.commit()
Checks and commits the current connection if it is commitable.
|
static Object |
DBUtils.convertInputParamValue(String value,
String type)
Convert the string input param value to its typed object value.
|
static Object[] |
DBUtils.convertInputParamValues(List<InternalParam> params)
Convert the input parameter values to its types object values.
|
static DataService |
DataServiceFactory.createDataService(org.apache.axiom.om.OMElement dbsElement,
String dsLocation)
Creates a DataService object with the given information.
|
ODataDataHandler |
JDBCPoolSQLConfig.createODataHandler() |
static void |
WSDLToDataService.deployDataService(org.apache.axis2.engine.AxisConfiguration axisConfig,
byte[] wsdlContent)
Creates and deploys a contract first data service with the given WSDL
data.
|
static org.apache.axiom.om.OMElement |
DataServiceProcessor.dispatch(org.apache.axis2.context.MessageContext msgContext) |
static String |
DBUtils.evaluateString(String source,
ExternalParamCollection params) |
static AuthorizationProvider |
DBUtils.generateAuthProviderFromXMLOMElement(org.apache.axiom.om.OMElement authorizationProviderElement)
Helper method to generate Authorization provider using config element
|
int |
JDBCPoolSQLConfig.getActiveConnectionCount() |
static String[] |
DBUtils.getAllRoles(int tenantId)
Retrieves all roles for a given tenantId to be used in role based filtering when creating dataservice.
|
static String[] |
DBUtils.getAllRolesUsingAuthorizationProvider(String authProviderConfig)
Get roles using the AuthorizationProvider using the config given.
|
static TransactionManager |
DBUtils.getContainerTransactionManager(String txManagerJNDIName)
Get the container managed transaction manager; if a JNDI name is given,
that name is looked for a TransactionManager object, if not, the standard JNDI
names are checked.
|
static int |
DBUtils.getCurrentUserTenantId()
This method is to get current user tenant ID, This will be only called when creating data service with
role based filtering.
|
org.apache.tomcat.jdbc.pool.DataSource |
JDBCPoolSQLConfig.getDataSource() |
static Date |
DBUtils.getDate(String value)
Create a Date object from the given date string.
|
int |
JDBCPoolSQLConfig.getIdleConnectionCount() |
static InputStream |
DBUtils.getInputStreamFromPath(String path)
Creates and returns an InputStream from the file path / http location given.
|
static List<Integer> |
DBUtils.getNestedIndices(String indexString)
Util method to parse index string and produce the list of nested indices.
|
static Time |
DBUtils.getTime(String value)
Create a Time object from the given time string.
|
static Timestamp |
DBUtils.getTimestamp(String value)
Create a Timestamp object from the given timestamp string.
|
static String[] |
DBUtils.getUserRoles(String username)
Retrieves the current user's roles given the username.
|
static void |
DataServiceDocLitWrappedSchemaGenerator.populateServiceSchema(org.apache.axis2.description.AxisService axisService)
Populates the given axis service schema with the data service information it encapsulates.
|
void |
DataServiceConnection.rollback()
Rollback the connection.
|
org.apache.axiom.om.OMElement |
XSLTTransformer.transform(org.apache.axiom.om.OMElement inputXML)
Transforms the given XML element using the current XSLT transformer and
returns the result.
|
Constructor and Description |
---|
JDBCPoolSQLConfig(DataService dataService,
String configId,
String type,
Map<String,String> properties,
boolean odataEnable) |
XSLTTransformer(String xsltPath) |
Modifier and Type | Method and Description |
---|---|
String[] |
AuthorizationProvider.getAllRoles()
Method used to get all the user roles in order to display in data service design phase.
|
String[] |
UserStoreAuthorizationProvider.getAllRoles() |
String[] |
JWTAuthorizationProvider.getAllRoles() |
String |
AuthorizationProvider.getUsername(org.apache.axis2.context.MessageContext msgContext)
Method to get username from the message context.
|
String |
JWTAuthorizationProvider.getUsername(org.apache.axis2.context.MessageContext msgContext) |
String[] |
AuthorizationProvider.getUserRoles(org.apache.axis2.context.MessageContext msgContext)
Method used to get the roles of the user.
|
String[] |
UserStoreAuthorizationProvider.getUserRoles(org.apache.axis2.context.MessageContext msgContext) |
String[] |
JWTAuthorizationProvider.getUserRoles(org.apache.axis2.context.MessageContext msgContext) |
void |
AuthorizationProvider.init(Map<String,String> authorizationProps)
To set the properties specific to AuthorizationProvider, and instantiate the object.
|
void |
UserStoreAuthorizationProvider.init(Map<String,String> authorizationProps) |
void |
JWTAuthorizationProvider.init(Map<String,String> authorizationProps) |
String[] |
DynamicUserAuthenticator.lookupCredentials(String user)
This method is used to lookup a username/password pair given a source username.
|
String[] |
ConfigurationBasedAuthenticator.lookupCredentials(String user) |
Constructor and Description |
---|
ConfigurationBasedAuthenticator(String xmlConfig) |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
RequestBox.execute()
This is called when a boxcarring session is over,
and the stored requests will be executed,
the result of the last operation is returned.
|
Modifier and Type | Method and Description |
---|---|
void |
DataTable.deleteData(long... ids)
Deletes rows from the data table.
|
QueryResult |
CustomQueryBasedDS.executeQuery(String query,
List<InternalParam> params) |
QueryResult |
EchoDataSource.executeQuery(String query,
List<InternalParam> params) |
Map<Long,DataRow> |
DataTable.filterData(String column,
Object value,
TabularDataBasedDS.FilterOperator operator)
Returns filtered data according to the given criteria.
|
Map<Long,DataRow> |
InMemoryDataSource.InMemoryDataTable.filterData(String column,
Object value,
TabularDataBasedDS.FilterOperator operator) |
Map<Long,DataRow> |
DataTable.getData(long start,
long length)
Returns all the data in the table.
|
Map<Long,DataRow> |
InMemoryDataSource.InMemoryDataTable.getData(long start,
long length) |
List<DataColumn> |
DataTable.getDataColumns()
Returns all the data table columns available.
|
List<DataColumn> |
QueryResult.getDataColumns()
Returns all the data table columns available.
|
List<DataColumn> |
EchoDataSource.EchoQueryResult.getDataColumns() |
DataTable |
TabularDataBasedDS.getDataTable(String name)
Returns the data table with the given name.
|
DataTable |
InMemoryDataSource.getDataTable(String name) |
Set<String> |
TabularDataBasedDS.getDataTableNames()
Returns all the table names of the custom data source.
|
Set<String> |
InMemoryDataSource.getDataTableNames() |
boolean |
QueryResult.hasNext()
Checks if there are any result records left.
|
boolean |
EchoDataSource.EchoQueryResult.hasNext() |
void |
EchoDataSource.init(Map<String,String> props) |
void |
InMemoryDataSource.init(Map<String,String> props) |
void |
CustomDataSourceBase.init(Map<String,String> props)
Initialized the custom data source.
|
void |
DataTable.insertData(DataRow... values)
Inserts a new row in to the data table.
|
DataRow |
QueryResult.next()
Reads in the next record in the result set.
|
DataRow |
EchoDataSource.EchoQueryResult.next() |
void |
DataTable.updateData(Map<Long,DataRow> values)
Updates the data table with the given values.
|
Modifier and Type | Method and Description |
---|---|
static Config |
ConfigFactory.createConfig(DataService dataService,
org.apache.axiom.om.OMElement configEl) |
Object[] |
SQLConfig.createConnection() |
Object[] |
SQLConfig.createConnection(String user,
String pass) |
au.com.bytecode.opencsv.CSVReader |
CSVConfig.createCSVReader() |
com.mongodb.MongoClient |
MongoConfig.createNewMongo(Map<String,String> properties) |
abstract ODataDataHandler |
Config.createODataHandler() |
ODataDataHandler |
RDBMSConfig.createODataHandler() |
com.hp.hpl.jena.rdf.model.Model |
RDFConfig.createRDFModel() |
org.apache.poi.ss.usermodel.Workbook |
ExcelConfig.createWorkbook() |
static String |
GSpreadConfig.extractKey(String documentURL) |
int |
TabularDataBasedConfig.getActiveConnectionCount() |
abstract int |
SQLConfig.getActiveConnectionCount() |
DataSource |
JNDIConfig.getDataSource() |
DataSource |
TabularDataBasedConfig.getDataSource() |
abstract DataSource |
SQLConfig.getDataSource() |
int |
TabularDataBasedConfig.getIdleConnectionCount() |
abstract int |
SQLConfig.getIdleConnectionCount() |
org.webharvest.runtime.variables.Variable |
WebConfig.getScrapedResult(String queryVariable) |
org.webharvest.runtime.Scraper |
WebConfig.getScraperConfig() |
protected void |
SQLConfig.initSQLDataSource() |
boolean |
TabularDataBasedConfig.isStatsAvailable() |
abstract boolean |
SQLConfig.isStatsAvailable() |
Constructor and Description |
---|
CassandraConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
CSVConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
CustomQueryCarbonDataSourceConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
GSpreadConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
InlineCustomQueryBasedDSConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
JNDIConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
MongoConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
RDBMSConfig(DataService dataService,
String configId,
Map<String,String> properties) |
RDBMSConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
SQLCarbonDataSourceConfig(DataService dataService,
String configId,
Map<String,String> properties) |
SQLCarbonDataSourceConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
SQLConfig(DataService dataService,
String configId,
String type,
Map<String,String> properties,
boolean odataEnable) |
SQLParserDataTableAdapter(String tableName,
DataTable customDataTable) |
TabularDataBasedConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
Modifier and Type | Method and Description |
---|---|
static EventTrigger |
EventTriggerFactory.createEventTrigger(DataService dataService,
org.apache.axiom.om.OMElement eventEl) |
protected abstract boolean |
EventTrigger.evaluate(org.apache.axiom.om.OMElement input)
This class must be implemented by a concrete implementation of the EventTrigger class,
to provide the logic in evaluating the XML input.
|
boolean |
XPathEventTrigger.evaluate(org.apache.axiom.om.OMElement input) |
void |
EventTrigger.execute(org.apache.axiom.om.OMElement input,
String queryId)
Executes the event trigger, this uses the "evaluate" method to check
if an event should be fired, if so, it sends out the event notification.
|
Constructor and Description |
---|
EventTrigger(DataService dataService,
String language,
String triggerId,
String expression,
String targetTopic,
List<String> endpointUrls) |
XPathEventTrigger(DataService dataService,
String triggerId,
String expression,
String targetTopic,
List<String> endpointUrls) |
Modifier and Type | Method and Description |
---|---|
static Operation |
OperationFactory.createOperation(DataService dataService,
org.apache.axiom.om.OMElement opEl) |
void |
Operation.execute(XMLStreamWriter xmlWriter,
ExternalParamCollection params)
This executes the operation, by retrieving the call query group associated with it,
and executing the query group.
|
Modifier and Type | Method and Description |
---|---|
void |
SQLDataServicesConnection.close() |
void |
SQLDataServicesConnection.commit() |
com.hp.hpl.jena.rdf.model.RDFNode |
SparqlQueryBase.convertTypeLiteral(com.hp.hpl.jena.rdf.model.Model model,
InternalParam param) |
static List<CallQuery> |
QueryFactory.createCallQueries(DataService dataService,
Iterator<org.apache.axiom.om.OMElement> callQueryElItr)
Create a collection of call queries with the given call query element.
|
static Query |
QueryFactory.createQuery(DataService dataService,
org.apache.axiom.om.OMElement queryEl) |
void |
Query.execute(XMLStreamWriter xmlWriter,
Map<String,ParamValue> params,
int queryLevel) |
List<DataColumn> |
MongoQuery.MongoQueryResult.getDataColumns() |
static org.apache.axiom.om.OMElement |
QueryFactory.getJSONResultFromText(String jsonMapping) |
com.hp.hpl.jena.query.QueryExecution |
RdfFileQuery.getQueryExecution() |
com.hp.hpl.jena.query.QueryExecution |
SparqlEndpointQuery.getQueryExecution() |
abstract com.hp.hpl.jena.query.QueryExecution |
SparqlQueryBase.getQueryExecution()
Gets a Query Execution for the query
|
static String |
QueryFactory.getSQLQueryForConnectionURL(org.apache.axiom.om.OMElement queryEl,
String connectionURL) |
boolean |
MongoQuery.MongoQueryResult.hasNext() |
protected void |
ExpressionQuery.init(String query)
Pre-processing of the query
|
void |
SQLQuery.init(String query) |
String[] |
SQLQuery.lookupConnectionCredentials() |
DataRow |
MongoQuery.MongoQueryResult.next() |
void |
RdfFileQuery.processPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
SparqlEndpointQuery.processPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
abstract void |
SparqlQueryBase.processPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
Object |
RdfFileQuery.processPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
SparqlEndpointQuery.processPreQuery(InternalParamCollection params,
int queryLevel) |
abstract Object |
SparqlQueryBase.processPreQuery(InternalParamCollection params,
int queryLevel) |
void |
SQLDataServicesConnection.rollback() |
void |
WebQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
GSpreadQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
CassandraQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
CSVQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
SQLQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
abstract void |
Query.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel)
This method must be implemented by concrete implementations of this class,
to provide the logic to execute the query.
|
void |
SPARQLQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
ExcelQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
MongoQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
CustomQueryBasedDSQuery.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
void |
SparqlQueryBase.runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel) |
Object |
WebQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
GSpreadQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
CassandraQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
CSVQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
SQLQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
abstract Object |
Query.runPreQuery(InternalParamCollection params,
int queryLevel)
This method must be implemented by concrete implementations of this class,
to provide the logic to execute the query.
|
Object |
SPARQLQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
ExcelQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
MongoQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
CustomQueryBasedDSQuery.runPreQuery(InternalParamCollection params,
int queryLevel) |
Object |
SparqlQueryBase.runPreQuery(InternalParamCollection params,
int queryLevel) |
void |
Query.writeResultEntry(XMLStreamWriter xmlWriter,
DataEntry dataEntry,
InternalParamCollection ipc,
int queryLevel)
writes an result entry to the output.
|
Constructor and Description |
---|
CassandraQuery(DataService dataService,
String queryId,
String query,
List<QueryParam> queryParams,
Result result,
String configId,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
CSVQuery(DataService dataService,
String queryId,
List<QueryParam> queryParams,
String configId,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
CustomQueryBasedDSQuery(DataService dataService,
String queryId,
List<QueryParam> queryParams,
Result result,
String configId,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace,
String expression) |
ExcelQuery(DataService dataService,
String queryId,
List<QueryParam> queryParams,
String configId,
String workbookName,
boolean hasHeader,
int startingRow,
int headerRow,
int maxRowCount,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
GSpreadQuery(DataService dataService,
String queryId,
List<QueryParam> queryParams,
String configId,
int worksheetNumber,
boolean hasHeader,
int startingRow,
int headerRow,
int maxRowCount,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
MongoQuery(DataService dataService,
String queryId,
String configId,
String expression,
List<QueryParam> queryParams,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
MongoQueryResult(String query,
List<InternalParam> params) |
RdfFileQuery(DataService dataService,
String queryId,
String configId,
String query,
List<QueryParam> queryParams,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
SparqlEndpointQuery(DataService dataService,
String queryId,
String configId,
String query,
List<QueryParam> queryParams,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
SPARQLQuery(DataService dataService,
String queryId,
String configId,
String query,
List<QueryParam> queryParams,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
SparqlQueryBase(DataService dataService,
String queryId,
String configId,
String query,
List<QueryParam> queryParams,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
SQLQuery(DataService dataService,
String queryId,
String configId,
boolean returnGeneratedKeys,
boolean returnUpdatedRowCount,
String[] keyColumns,
String query,
List<QueryParam> queryParams,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
WebQuery(DataService dataService,
String queryId,
List<QueryParam> queryParams,
String configId,
Result result,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String scraperVariable,
String inputNamespace) |
Modifier and Type | Method and Description |
---|---|
static Resource |
ResourceFactory.createResource(DataService dataService,
org.apache.axiom.om.OMElement resEl) |
void |
Resource.execute(XMLStreamWriter xmlWriter,
ExternalParamCollection params) |
Modifier and Type | Method and Description |
---|---|
void |
DSSXATransactionManager.begin() |
void |
DSSXATransactionManager.commit() |
Constructor and Description |
---|
XADataSourceInfo(DataService dataService,
String className,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
static DataServiceRequest |
DataServiceRequest.createDataServiceRequest(org.apache.axis2.context.MessageContext msgContext) |
org.apache.axiom.om.OMElement |
DataServiceRequest.dispatch()
Dispatches the current request.
|
org.apache.axiom.om.OMElement |
BoxcarringDataServiceRequest.processRequest() |
org.apache.axiom.om.OMElement |
BatchDataServiceRequest.processRequest() |
org.apache.axiom.om.OMElement |
SingleDataServiceRequest.processRequest() |
abstract org.apache.axiom.om.OMElement |
DataServiceRequest.processRequest()
This method must implement the request specific request processing logic.
|
org.apache.axiom.om.OMElement |
RequestBoxRequest.processRequest() |
Constructor and Description |
---|
BatchDataServiceRequest(DataService dataService,
String requestName,
List<Map<String,ParamValue>> batchParams) |
BoxcarringDataServiceRequest(DataServiceRequest dsRequest) |
DataServiceRequest(DataService dataService,
String requestName) |
RequestBoxRequest(DataService dataService,
String requestName)
Constructor
|
SingleDataServiceRequest(DataService dataService,
String requestName,
Map<String,ParamValue> params) |
Modifier and Type | Method and Description |
---|---|
void |
OutputElementGroup.addAttributeEntry(StaticOutputElement attr) |
void |
OutputElementGroup.addElementEntry(StaticOutputElement el) |
void |
DataService.cleanup()
Cleanup operations done when undeploying the data service.
|
abstract void |
CallableRequest.execute(XMLStreamWriter xmlWriter,
ExternalParamCollection params)
This method must be implemented in concrete classes to define the semantics of the request.
|
void |
OutputElement.execute(XMLStreamWriter xmlWriter,
ExternalParamCollection params,
int queryLevel,
boolean escapeNonPrintableChar)
Executes and writes the contents of this element, given the parameters.
|
void |
StaticOutputElement.executeElement(XMLStreamWriter xmlWriter,
ExternalParamCollection params,
int queryLevel,
boolean escapeNonPrintableChar) |
protected void |
CallQuery.executeElement(XMLStreamWriter xmlWriter,
ExternalParamCollection params,
int queryLevel,
boolean escapeNonPrintableChar) |
void |
OutputElementGroup.executeElement(XMLStreamWriter xmlWriter,
ExternalParamCollection params,
int queryLevel,
boolean escapeNonPrintableChar) |
protected abstract void |
OutputElement.executeElement(XMLStreamWriter xmlWriter,
ExternalParamCollection params,
int queryLevel,
boolean escapeNonPrintableChar) |
void |
CallQuery.init() |
void |
OutputElementGroup.init() |
void |
DataService.init()
Initializes the data service object.
|
void |
DataService.initRequestBox()
Helper method to initialise request box.
|
void |
DataService.invoke(XMLStreamWriter xmlWriter,
String requestName,
Map<String,ParamValue> params)
Instructs the data service to run the request with the given name
with the given parameters.
|
void |
Result.setElementName(String elementName) |
void |
Result.setRowName(String rowName) |
Constructor and Description |
---|
DataService(String name,
String description,
String defaultNamespace,
String dsLocation,
String serviceStatus,
boolean batchRequestsEnabled,
boolean boxcarringEnabled,
String containerUserTxName) |
QueryParam(String name,
String sqlType,
String type,
String paramType,
int ordinal,
ParamValue defaultValue,
String structType,
List<Validator> validators,
boolean forceDefault,
boolean optional) |
Result(String xsltPath,
int resultType) |
Result(String elementName,
String rowName,
String namespace,
String xsltPath,
int resultType) |
StaticOutputElement(DataService dataService,
String name,
String param,
String originalParam,
String paramType,
String elementType,
String namespace,
QName xsdType,
Set<String> requiredRoles,
int dataCategory,
int resultType,
String export,
int exportType,
String arrayName) |
WithParam(String name,
String originalName,
String param,
String paramType) |
Modifier and Type | Method and Description |
---|---|
static void |
DataServicesDSComponent.registerSubscriptions(EventTrigger eventTrigger) |
Modifier and Type | Class and Description |
---|---|
class |
ODataServiceFault |
Modifier and Type | Method and Description |
---|---|
static String[] |
DSGenerator.getTableList(String datasourceId,
String dbName,
String[] schemas) |
static String[] |
DSGenerator.getTableList(String url,
String driver,
String userName,
String password,
String dbName,
String[] schemas) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
SQLParserUtil.extractOutputColumns(String sql)
This method returns the list of queried columns of a particular input sql string.
|
Modifier and Type | Method and Description |
---|---|
static KeyWordAnalyzer |
AnalyzerFactory.createAnalyzer(String type,
Queue<String> tokens) |
Modifier and Type | Method and Description |
---|---|
static void |
DSTools.abortBoxcar(DataService dataService)
This method aborts the current boxcarring session
|
static org.apache.axiom.om.OMElement |
DSTools.accessResource(DataService dataService,
String resourcePath,
Map<String,ParamValue> params,
String accessMethod)
This method accesses a resource defined in the data service.
|
static void |
DSTools.beginBoxcar(DataService dataService)
This method begins a boxcarring session.
|
static DataService |
DSTools.createDataService(org.apache.axiom.om.OMElement dbsElement,
String dsLocation)
This method creates a DataService object, given the data services descriptor information.
|
static org.apache.axiom.om.OMElement |
DSTools.endBoxcar(DataService dataService)
This method ends and commits a boxcarring session.
|
static void |
DSTools.invokeOperation(DataService dataService,
String operationName,
List<Map<String,ParamValue>> batchParams)
This method invokes the batch version of the operation defined in the given data service.
|
static org.apache.axiom.om.OMElement |
DSTools.invokeOperation(DataService dataService,
String operationName,
Map<String,ParamValue> params)
This method invokes a single operation defined in the given data service.
|
Copyright © 2019 WSO2. All rights reserved.