I am using SIMBA SDK 9.5 trail version for creating a custom JDBC4.1 driver to access my data store hive. For testing simba jdbc driver, I have a java class.
Below is my sample code:
Class.forName("com.simba.ultralight.core.jdbc41.ULJDBC41Driver");
Connection conn = DriverManager.getConnection("jdbc:simba://localhost", "root","");
Statement stmt = conn.createStatement();
stmt.setFetchSize(500);
As from my java application, I am setting fetchSize of 500. How do I get the value of fetch size in my custom implementation class i.e custom DSI implemented. I have ULStatement extends DSIStatement and ULPersonTable extends DSISimpleResultSet in my code. I want to get this fetch size value in my DSI code, as I will be using this fetch size in my DSI class to fetch specified number of data from our data store.