Interface SqlScriptCommandExtractor

All Superinterfaces:
Serializable, Service
All Known Implementing Classes:
MultiLineSqlScriptExtractor, SingleLineSqlScriptExtractor

public interface SqlScriptCommandExtractor extends Service
Contract for extracting statements from source/import/init scripts.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    extractCommands(Reader reader, Dialect dialect)
    Read the commands from the SQL script represented by the incoming reader, returning those commands as an array
  • Method Details

    • extractCommands

      List<String> extractCommands(Reader reader, Dialect dialect)
      Read the commands from the SQL script represented by the incoming reader, returning those commands as an array