- All Known Implementing Classes:
BoundSqlChainBuilder,PageContext
- Enclosing interface:
BoundSqlBuilder
public static interface BoundSqlBuilder.Chain
Represents a chain of
BoundSqlBuilder processors. Implementations can control whether to continue
execution to the next processor in the chain.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BoundSqlBuilder.ChainA default chain implementation that performs no operation and simply returns the original BoundSql. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ibatis.mapping.BoundSqldoBoundSql(BoundSqlBuilder.Type type, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey cacheKey) Executes the next processor in the chain or performs the final BoundSql processing.
-
Field Details
-
DO_NOTHING
A default chain implementation that performs no operation and simply returns the original BoundSql.
-
-
Method Details
-
doBoundSql
org.apache.ibatis.mapping.BoundSql doBoundSql(BoundSqlBuilder.Type type, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey cacheKey) Executes the next processor in the chain or performs the final BoundSql processing.- Parameters:
type- the type of SQL operationboundSql- the BoundSql object for the current operationcacheKey- the CacheKey associated with the current query- Returns:
- the processed BoundSql object
-