Package com.firebolt.jdbc.service
Class FireboltStatementService
java.lang.Object
com.firebolt.jdbc.service.FireboltStatementService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
abortStatement
(@NonNull String statementLabel, @NonNull FireboltProperties properties) execute
(StatementInfoWrapper statementInfoWrapper, FireboltProperties properties, FireboltStatement statement) Executes statementboolean
isStatementRunning
(String statementLabel)
-
Constructor Details
-
FireboltStatementService
public FireboltStatementService()
-
-
Method Details
-
execute
public Optional<ResultSet> execute(StatementInfoWrapper statementInfoWrapper, FireboltProperties properties, FireboltStatement statement) throws SQLException Executes statement- Parameters:
statementInfoWrapper
- the statement infoproperties
- the connection propertiesstatement
- the statement- Returns:
- an InputStream with the result
- Throws:
SQLException
-
abortStatement
public void abortStatement(@NonNull @NonNull String statementLabel, @NonNull @NonNull FireboltProperties properties) throws SQLException - Throws:
SQLException
-
isStatementRunning
-