All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.jdbc.core.IDatabricksStatement Maven / Gradle / Ivy

There is a newer version: 2.6.40-patch-1
Show newest version
package com.databricks.jdbc.core;

import java.io.InputStream;
import java.sql.SQLException;
import java.sql.Statement;

/** Interface for Databricks specific statement. */
public interface IDatabricksStatement {

  /** Returns the underlying session-Id for the statement. */
  String getSessionId();

  void close(boolean removeFromSession) throws SQLException;

  void handleResultSetClose(IDatabricksResultSet resultSet) throws SQLException;

  int getMaxRows() throws SQLException;

  void setStatementId(String statementId);

  String getStatementId();

  Statement getStatement();

  void allowInputStreamForVolumeOperation(boolean allowedInputStream) throws DatabricksSQLException;

  boolean isAllowedInputStreamForVolumeOperation() throws DatabricksSQLException;

  void setInputStreamForUCVolume(InputStream inputStream) throws DatabricksSQLException;

  InputStream getInputStreamForUCVolume() throws DatabricksSQLException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy