public class MultipleLinesSqlCommandExtractor extends Object implements ImportSqlCommandExtractor
Class responsible for extracting SQL statements from import script. Supports instructions/comments and quoted strings spread over multiple lines. Each statement must end with semicolon.
Constructor and Description |
---|
MultipleLinesSqlCommandExtractor() |
public String[] extractCommands(Reader reader)
extractCommands
in interface ImportSqlCommandExtractor
reader
- Character stream reader of SQL script.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.