Class DefaultPlaceholderFormatter

    • Method Detail

      • replaceSqlPlaceholder

        public String replaceSqlPlaceholder​(io.r2dbc.spi.ConnectionMetadata connectionMetadata,
                                            org.apache.ibatis.mapping.BoundSql boundSql,
                                            ReactiveExecutorContextAttribute reactiveExecutorContextAttribute)
        Description copied from interface: PlaceholderFormatter
        Replace sql placeholder string.
        Specified by:
        replaceSqlPlaceholder in interface PlaceholderFormatter
        Parameters:
        connectionMetadata - the connection metadata
        boundSql - the bound sql
        reactiveExecutorContextAttribute - the reactive executor context attribute
        Returns:
        the string
      • formatPlaceholderInternal

        protected String formatPlaceholderInternal​(PlaceholderDialect placeholderDialect,
                                                   org.apache.ibatis.mapping.BoundSql boundSql)
        format placeholder internal
        Parameters:
        placeholderDialect - the placeholder dialect
        boundSql - the original boundSql sql
        Returns:
        formatted sql