Class DefaultReactiveMybatisExecutor

    • Field Detail

      • placeholderFormatter

        protected PlaceholderFormatter placeholderFormatter
        The Placeholder formatter.
    • Constructor Detail

      • DefaultReactiveMybatisExecutor

        public DefaultReactiveMybatisExecutor​(R2dbcMybatisConfiguration configuration)
        Instantiates a new Default reactive mybatis executor.
        Parameters:
        configuration - the configuration
    • Method Detail

      • doUpdateWithConnection

        protected reactor.core.publisher.Mono<Integer> doUpdateWithConnection​(io.r2dbc.spi.Connection connection,
                                                                              org.apache.ibatis.mapping.MappedStatement mappedStatement,
                                                                              Object parameter)
        Description copied from class: AbstractReactiveMybatisExecutor
        do update with connection actually
        Specified by:
        doUpdateWithConnection in class AbstractReactiveMybatisExecutor
        Parameters:
        connection - the connection
        mappedStatement - the mapped statement
        parameter - the parameter
        Returns:
        mono
      • doQueryWithConnection

        protected <E> reactor.core.publisher.Flux<E> doQueryWithConnection​(io.r2dbc.spi.Connection connection,
                                                                           org.apache.ibatis.mapping.MappedStatement mappedStatement,
                                                                           Object parameter,
                                                                           org.apache.ibatis.session.RowBounds rowBounds)
        Description copied from class: AbstractReactiveMybatisExecutor
        do query with connection actually
        Specified by:
        doQueryWithConnection in class AbstractReactiveMybatisExecutor
        Type Parameters:
        E - the type parameter
        Parameters:
        connection - the connection
        mappedStatement - the mapped statement
        parameter - the parameter
        rowBounds - the row bounds
        Returns:
        flux