Interface IDatabricksConnection

All Superinterfaces:
AutoCloseable, Connection, Wrapper
All Known Implementing Classes:
DatabricksConnection

public interface IDatabricksConnection extends Connection
Extends the standard JDBC Connection interface to provide Databricks-specific functionality. This interface adds methods to retrieve statement handles and connection identifiers.
  • Method Details

    • getStatement

      Statement getStatement(String statementId) throws SQLException
      Retrieves a statement handle for a given statement ID.
      Parameters:
      statementId - The unique identifier of the statement to retrieve
      Returns:
      A Statement object representing the statement
      Throws:
      SQLException - if a database access error occurs or this method is called on a closed connection
    • getConnectionId

      String getConnectionId() throws SQLException
      Retrieves the unique identifier for this connection.
      Returns:
      A string representing the unique connection ID
      Throws:
      SQLException - if a database access error occurs or this method is called on a closed connection