CData JDBC Driver for Spark SQL
The CData JDBC Driver for Spark SQL offers the most natural way to connect to Spark SQL data from Java-based applications and developer technologies. The driver wraps the complexity of accessing Spark SQL data in an easy-to-integrate, 100%-Java JDBC driver. Applications can then access Spark SQL as a traditional database. The driver hides the complexity of accessing data and provides additional powerful security features, smart caching, batching, socket management, and more.
- Write SQL to retrieve and update Spark SQL data.
- Compliant with JDBC 3.0 and JDBC 4.0.
- Codeless integration with popular BI, reporting, and ETL tools.
Getting StartedSee Getting Started for A-Z guides on authenticating and connecting to Spark SQL data. See the Spark SQL integration guides for information on connecting from other applications.
NOTE: The license file, cdata.jdbc.sparksql.lic, must be in the same location as the JAR file, cdata.jdbc.sparksql.jar. See the readme file for more information.
Using the JDBC Driver/Using from Tools
See Using JDBC for examples of using standard JDBC classes like DataSource, Connection, Statement, ResultSet, and others, to work with Spark SQL data.
Using from Tools walks through the steps of integration with JDBC tools, using several popular database tools as examples.
Advanced FeaturesAdvanced Features details additional features supported by the driver, such as defining user defined views, ssl configuration, remoting, caching, firewall/proxy settings, and advanced logging.
See JDBC Remoting to configure remote access to the JDBC data source. The JDBC remoting feature allows hosting the JDBC connection on a server to enable connections from virtually anywhere -- various clients on any platform (Java, .NET, C++, PHP, Python, and so on) and using any standards-based technology (ODBC, JDBC, and so on). JDBC remoting is enabled using the popular MySQL wire protocol server.
See SQL Compliance for a syntax reference and code examples outlining the supported SQL.
See Data Model for information on the available entities and how to query them.
Connection String Options
The Connection properties describe the various options that can be used to establish a connection.