Package com.firebolt.jdbc.service
Class FireboltStatementService
java.lang.Object
com.firebolt.jdbc.service.FireboltStatementService
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidabortStatement(@NonNull String statementLabel, @NonNull FireboltProperties properties) execute(StatementInfoWrapper statementInfoWrapper, FireboltProperties properties, FireboltStatement statement) Executes statementexecuteAsyncStatement(StatementInfoWrapper statementInfoWrapper, FireboltProperties properties, FireboltStatement statement) booleanisStatementRunning(String statementLabel) 
- 
Constructor Details- 
FireboltStatementServicepublic FireboltStatementService()
 
- 
- 
Method Details- 
executepublic Optional<ResultSet> execute(StatementInfoWrapper statementInfoWrapper, FireboltProperties properties, FireboltStatement statement) throws SQLException Executes statement- Parameters:
- statementInfoWrapper- the statement info
- properties- the connection properties
- statement- the statement
- Returns:
- an InputStream with the result
- Throws:
- SQLException
 
- 
executeAsyncStatementpublic String executeAsyncStatement(StatementInfoWrapper statementInfoWrapper, FireboltProperties properties, FireboltStatement statement) throws SQLException - Throws:
- SQLException
 
- 
abortStatementpublic void abortStatement(@NonNull @NonNull String statementLabel, @NonNull @NonNull FireboltProperties properties) throws SQLException - Throws:
- SQLException
 
- 
isStatementRunning
 
-