Interface ScriptSourceInput


  • public interface ScriptSourceInput
    Contract for hiding the differences between a passed Reader, File or URL in terms of how we read input scripts.
    • Method Detail

      • prepare

        void prepare()
        Prepare source for use.
      • read

        List<String> read​(ImportSqlCommandExtractor commandExtractor)
        Read the abstracted script, using the given extractor to split up the input into individual commands.
        Parameters:
        commandExtractor - The extractor for individual commands within the input.
        Returns:
        The scripted commands
      • release

        void release()
        Release this input.