Interface ResultDecoratorEngine<T extends org.apache.shardingsphere.infra.rule.ShardingSphereRule>

  • Type Parameters:
    T - type of rule
    All Superinterfaces:
    org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<T>, ResultProcessEngine<T>

    public interface ResultDecoratorEngine<T extends org.apache.shardingsphere.infra.rule.ShardingSphereRule>
    extends ResultProcessEngine<T>
    Result decorator engine.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<ResultDecorator<T>> newInstance​(org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database, T rule, org.apache.shardingsphere.infra.config.props.ConfigurationProperties props, SQLStatementContext sqlStatementContext)
      Create new instance of result decorator.
      • Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI

        getOrder, getTypeClass
    • Method Detail

      • newInstance

        Optional<ResultDecorator<T>> newInstance​(org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase database,
                                                 T rule,
                                                 org.apache.shardingsphere.infra.config.props.ConfigurationProperties props,
                                                 SQLStatementContext sqlStatementContext)
        Create new instance of result decorator.
        Parameters:
        database - database
        rule - rule
        props - configuration properties
        sqlStatementContext - SQL statement context
        Returns:
        created instance