| Package | Description |
|---|---|
| org.mule.db.commons.internal.domain.statement | |
| org.mule.db.commons.internal.operation |
| Modifier and Type | Class and Description |
|---|---|
class |
QueryStatementFactory
Creates
Statement based on the type and parameters of a given query:
_CallableStatement for stored p rocedure queries _PreparedStatement for queries with input parameters _Standard Statement
otherwise |
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurableStatementFactory |
BaseDbOperations.statementFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Function<ConfigurableStatementFactory,BulkExecutor> |
BulkOperations.bulkExecutorSupplier |
protected BiFunction<ConfigurableStatementFactory,ResultSetHandler,QueryExecutor> |
DmlOperations.querySingleQueryExecutorSupplier |
protected BiFunction<ConfigurableStatementFactory,ResultSetHandler,QueryExecutor> |
DmlOperations.selectQueryExecutorSupplier |
protected Function<ConfigurableStatementFactory,QueryExecutor> |
BaseDbOperations.updateExecutor |
| Modifier and Type | Method and Description |
|---|---|
protected static ConfigurableStatementFactory |
BaseDbOperations.getDefaultStatementFactory() |
protected ConfigurableStatementFactory |
BaseDbOperations.getStatementFactory(QuerySettings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected static Function<ConfigurableStatementFactory,BulkExecutor> |
BulkOperations.getDefaultBulkExecutor() |
protected static BiFunction<ConfigurableStatementFactory,ResultSetHandler,QueryExecutor> |
DmlOperations.getDefaultSelectExecutor() |
protected static Function<ConfigurableStatementFactory,QueryExecutor> |
BaseDbOperations.getDefaultUpdateExecutor() |
| Modifier and Type | Method and Description |
|---|---|
DdlOperations.Builder |
DdlOperations.Builder.withStatementFactory(ConfigurableStatementFactory statementFactory) |
BulkOperations.Builder |
BulkOperations.Builder.withStatementFactory(ConfigurableStatementFactory statementFactory) |
DmlOperations.Builder |
DmlOperations.Builder.withStatementFactory(ConfigurableStatementFactory statementFactory) |
| Constructor and Description |
|---|
BaseDbOperations(QueryResolver<ParameterizedStatementDefinition> queryResolver,
ConfigurableStatementFactory statementFactory,
Function<ConfigurableStatementFactory,QueryExecutor> updateExecutor) |
| Constructor and Description |
|---|
BaseDbOperations(QueryResolver<ParameterizedStatementDefinition> queryResolver,
ConfigurableStatementFactory statementFactory,
Function<ConfigurableStatementFactory,QueryExecutor> updateExecutor) |
Copyright © 2022. All rights reserved.