Interface ExecutionPrepareDecorator<T,R extends ShardingSphereRule>

Type Parameters:
T - type of input value
R - 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 Type
    Method
    Description
    decorate(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 context
      rule - ShardingSphere rule
      executionGroups - execution groups to be decorated
      Returns:
      decorated execution groups