Interface ExecutionPrepareDecorator<T,R extends ShardingSphereRule>
- Type Parameters:
T- type of input valueR- type of ShardingSphere rule
- All Superinterfaces:
org.apache.shardingsphere.spi.type.ordered.OrderedSPI<R>
public interface ExecutionPrepareDecorator<T,R extends ShardingSphereRule>
extends org.apache.shardingsphere.spi.type.ordered.OrderedSPI<R>
Execution prepare decorator.
-
Method Summary
Modifier and TypeMethodDescriptiondecorate(org.apache.shardingsphere.infra.route.context.RouteContext routeContext, R rule, Collection<ExecutionGroup<T>> executionGroups) Decorate execution groups.Methods inherited from interface org.apache.shardingsphere.spi.type.ordered.OrderedSPI
getOrder, getTypeClass
-
Method Details
-
decorate
Collection<ExecutionGroup<T>> decorate(org.apache.shardingsphere.infra.route.context.RouteContext routeContext, R rule, Collection<ExecutionGroup<T>> executionGroups) Decorate execution groups.- Parameters:
routeContext- route contextrule- ShardingSphere ruleexecutionGroups- execution groups to be decorated- Returns:
- decorated execution groups
-