Interface JdbcSelect
- All Superinterfaces:
CacheableJdbcOperation, JdbcOperation, PrimaryOperation
Primary operation which is a
SELECT performed via JDBC.-
Method Summary
Modifier and TypeMethodDescription@Nullable LoadedValuesCollectorAccess to a collector of values loaded to be applied during the processing of the selection's results.intintvoidperformPostAction(boolean succeeded, StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext) Perform any post-actions.voidperformPreActions(StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext) Perform any pre-actions.booleanMethods inherited from interface CacheableJdbcOperation
dependsOnParameterBindings, isCompatibleWithMethods inherited from interface JdbcOperation
getParameterBinders, getSqlStringMethods inherited from interface PrimaryOperation
getAffectedTableNames
-
Method Details
-
getJdbcValuesMappingProducer
JdbcValuesMappingProducer getJdbcValuesMappingProducer() -
getLockStrategy
JdbcLockStrategy getLockStrategy() -
usesLimitParameters
boolean usesLimitParameters() -
getLimitParameter
JdbcParameter getLimitParameter() -
getRowsToSkip
int getRowsToSkip() -
getMaxRows
int getMaxRows() -
getLoadedValuesCollector
@Nullable LoadedValuesCollector getLoadedValuesCollector()Access to a collector of values loaded to be applied during the processing of the selection's results. May benull. -
performPreActions
void performPreActions(StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext) Perform any pre-actions. Generally the pre-actions should use the passedjdbcStatementAccessto interact with the database, although thejdbcConnectioncan be used to create specialized statements, access the database metadata, etc.- Parameters:
jdbcStatementAccess- Access to a JDBC Statement object which may be used to perform the action.jdbcConnection- The JDBC Connection.executionContext- Access to contextual information useful while executing.
-
performPostAction
void performPostAction(boolean succeeded, StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext) Perform any post-actions. Generally the post-actions should use the passedjdbcStatementAccessto interact with the database, although thejdbcConnectioncan be used to create specialized statements, access the database metadata, etc.- Parameters:
succeeded- Whether the primary operation succeeded.jdbcStatementAccess- Access to a JDBC Statement object which may be used to perform the action.jdbcConnection- The JDBC Connection.executionContext- Access to contextual information useful while executing.
-