Interface ReplaceSql

All Known Implementing Classes:
RegexWithNolock, SimpleWithNolock

public interface ReplaceSql
替换和还原 SQL
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    临时替换后用于 jsqlparser 解析
    还原经过解析后的 sql
  • Method Details

    • replace

      String replace(String sql)
      临时替换后用于 jsqlparser 解析
      Parameters:
      sql - SQL
      Returns:
      the string
    • restore

      String restore(String sql)
      还原经过解析后的 sql
      Parameters:
      sql - SQL
      Returns:
      the string