THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- org.apache.hive.jdbc.HiveConnection class: implements java.sql.Connection interface (part of JDBC). An instance of this class holds a reference to SessionHandle instance which is retrieved when making Thrift API calls to server.
- org.apache.hive.jdbc.HiveStatement class: implements java.sql.Statement interface (part of JDBC). The client (e.g. beeline) calls the HiveStatement.execute() method for the query. Inside the execute() method, Thrift client is used to make API calls.
- org.apache.hive.jdbc.HiveDriver class: implements java.sql.Driver interface (part of JDBC). Core method is connect() which is used by JDBC client to initiate a SQL connection.
Interaction between client and server
- org.apache.hive.service.cli.SessionHandle class: session identifier. instances Instances of this class are returned from server to client and used by client for as input for Thrift API calls.
- org.apache.hive.service.cli.OperationHandle class: defines the operation handle which is part of Operation and used as a operation identifier. It's used by Thrift client to identifier. Instances of this class are returned from server and used by client to poll the execution status of an operation.