![]() |
VOOZH | about |
This article shows how you can easily integrate the CData JDBC driver for OData into your processes in RapidMiner. This article uses the CData JDBC Driver for OData to transfer OData services to a process in RapidMiner.
CData simplifies access and integration of live OData services data. Our customers leverage CData connectivity to:
Customers use CData's solutions to regularly integrate their OData services with preferred tools, such as Power BI, MicroStrategy, or Tableau, and to replicate data from OData services to their databases or data warehouses.
You can follow the procedure below to establish a JDBC connection to OData:
jdbc:odata:
cdata.jdbc.odata.ODataDriverπ The JDBC driver configuration. (Salesforce is shown.)
The User and Password properties, under the Authentication section, must be set to valid OData user credentials. In addition, specify a URL to a valid OData server organization root or OData services file.
For assistance in constructing the JDBC URL, use the connection string designer built into the OData JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.odata.jar
Fill in the connection properties and copy the connection string to the clipboard.
π Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)A typical connection string is below:
URL=http://services.odata.org/V4/Northwind/Northwind.svc;UseIdUrl=True;OData Version=4.0;Data Format=ATOM;
You can now use your OData connection with the various RapidMiner operators in your process. To retrieve OData services, drag the Retrieve operator from the Operators view.
π A Retrieve operation to select data. (Salesforce is shown.)
With the Retrieve operator selected, you can then define which table to retrieve in the Parameters view by clicking the folder icon next to the "repository entry." In the resulting Repository Browser, you can expand your connection node to select the desired example set.
Finally, wire the output to the Retrieve process to a result, and run the process to see the OData services.
π The results of the Retrieve operation. (Salesforce is shown.)Download a free trial of the OData Driver to get started:
Download NowLearn more:
π OData IconEasy-to-use OData client (consumer) enables developers to build Java applications that easily communicate with OData services.