Interface ExecutorStatementManager<C,R,O extends StorageResourceOption>
- Type Parameters:
C- type of resource connectionR- type of storage resourceO- type of storage resource option
- All Known Subinterfaces:
ExecutorJDBCStatementManager,ExecutorVertxStatementManager
public interface ExecutorStatementManager<C,R,O extends StorageResourceOption>
Executor statement manager.
-
Method Summary
Modifier and TypeMethodDescriptioncreateStorageResource(C connection, ConnectionMode connectionMode, O option) Create storage resource.createStorageResource(ExecutionUnit executionUnit, C connection, ConnectionMode connectionMode, O option) Create storage resource.
-
Method Details
-
createStorageResource
Create storage resource.- Parameters:
connection- connectionconnectionMode- connection modeoption- storage resource option- Returns:
- storage resource
- Throws:
SQLException- SQL exception
-
createStorageResource
R createStorageResource(ExecutionUnit executionUnit, C connection, ConnectionMode connectionMode, O option) throws SQLException Create storage resource.- Parameters:
executionUnit- execution unitconnection- connectionconnectionMode- connection modeoption- storage resource option- Returns:
- storage resource
- Throws:
SQLException- SQL exception
-