Setting Up SnappyData JDBC Client and QlikView¶
Note
Before using SnappyData JDBC Client, make sure Java 8 is installed.
The following topics are covered in this section:
Step 1: Download SnappyData JDBC Client¶
Step 2: Download and Install QlikView¶
-
Double-click the Setup.exe file to start the installation. For installation instructions refer to the QlikView documentation.
Step 3: Download and Install JDBCConnector for QlikView¶
To connect to SnappyData using JDBC Client from QlikView application, install the JDBCConnector. This connector integrates into the QlikView application
-
Extract the contents of the compressed file, and double-clik on the installer to start the installation process. For installation instructions, refer to the documentation provided for the QlikView JDBC Connector. You may need to activate the product.
Step 4: Configure the JDBCConnector to Connect to SnappyData¶
After installing the JDBCConnector application, add the SnappyData profile in the JDBCConnector.
Tip
You can also create a profile from the QlikView application.
-
Open JDBCConnector Application.
-
In the Profiles tab, click Create Profile.
-
Enter a profile name. For example, SnappyData.
-
Click Set As Default to set it as the default profile.
-
In the Java VM Options tab, click Select JVM, to set the path for the jvm.dll file.
For example, C:\Program Files\Java\jre1.8.0_121\bi\server\jvm.dll. -
Click Add, to add/update option -Xmx1024M.
-
In the JDBC Driver tab, select the path to the snappydata-jdbc_2.11-1.3.1.jar file.
-
In the Advanced tab, add the JDBC Driver Classname io.snappydata.jdbc.ClientDriver.
-
Click OK to save and apply your changes.
Step 5: Connecting from QlikView to SnappyData¶
-
Open the QlikView desktop application.
-
Click File > New from the menu bar to create a QlikView workbook. The Getting Started Wizard is displayed. Close it to continue.
-
Click File > Edit Script from the menu bar.
-
In the Data tab, select JDBCConnector_x64.dll from the Database drop down.
-
Click Configure. Verfiy that the following configuration is displayed:
- In the Java VM Options tab, the path to jvm.dll file is correct and also the add/update option displays -Xmx1024M.
- In the JDBC Driver tab, the path to the snappydata-jdbc_2.11-1.3.1.jar file is correct.
- In the Advanced tab, JDBC Driver class name is displayed as io.snappydata.jdbc.ClientDriver.
-
Click Connect. The Connect through QlikView JDBC Connector window is displayed.
-
In URL field enter the SnappyData JDBC URL in the format jdbc:snappydata://
: For example, jdbc:snappydata://192.168.1.200:1527. -
Enter both the Username and Password as app.
-
-
Click OKto apply the changes.
-
When the connection is successful, CONNECT TO script is added to the list of scripts in Edit Script panel.
-
Click the Select button to add the Data Source Table (SELECT sql script) OR you can manually add the SELECT sql script.
-
The SELECT script is added to the list of scripts.
-
Click OK.
-
After adding the desired Data Source Table, click OK on the Edit Script panel.
-
From the menu bar, click File > Reload to load data from the data source.
-
From the menu bar, click Tools > Quick Chart Wizard to add the required charts.
-
The Selected charts wizard guides you for generating data visualizations. Refer to the QlikView documentation for more information on data visualization.