franta-hg@29: /** franta-hg@29: * SQL-DK franta-hg@29: * Copyright © 2013 František Kučera (frantovo.cz) franta-hg@29: * franta-hg@29: * This program is free software: you can redistribute it and/or modify franta-hg@29: * it under the terms of the GNU General Public License as published by franta-hg@29: * the Free Software Foundation, either version 3 of the License, or franta-hg@29: * (at your option) any later version. franta-hg@29: * franta-hg@29: * This program is distributed in the hope that it will be useful, franta-hg@29: * but WITHOUT ANY WARRANTY; without even the implied warranty of franta-hg@29: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the franta-hg@29: * GNU General Public License for more details. franta-hg@29: * franta-hg@29: * You should have received a copy of the GNU General Public License franta-hg@29: * along with this program. If not, see . franta-hg@29: */ franta-hg@29: package info.globalcode.sql.dk.batch; franta-hg@29: franta-hg@29: import info.globalcode.sql.dk.SQLCommand; franta-hg@29: franta-hg@29: /** franta-hg@155: * Iterator which reads SQL commands from encoded (serialized) batch. franta-hg@29: * franta-hg@29: * @author Ing. František Kučera (frantovo.cz) franta-hg@29: */ franta-hg@146: public interface Batch { franta-hg@29: franta-hg@146: public boolean hasNext() throws BatchException; franta-hg@29: franta-hg@146: public SQLCommand next() throws BatchException; franta-hg@29: }