
com.databricks.jdbc.api.IDatabricksStatement Maven / Gradle / Ivy
package com.databricks.jdbc.api;
import com.databricks.jdbc.exception.DatabricksSQLException;
import java.sql.SQLException;
import java.sql.Statement;
import org.apache.http.entity.InputStreamEntity;
/** 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(InputStreamEntity inputStream) throws DatabricksSQLException;
InputStreamEntity getInputStreamForUCVolume() throws DatabricksSQLException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy