equal
deleted
inserted
replaced
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 package info.globalcode.sql.dk.batch; |
18 package info.globalcode.sql.dk.batch; |
19 |
19 |
20 import info.globalcode.sql.dk.SQLCommand; |
20 import info.globalcode.sql.dk.SQLCommand; |
21 import java.util.Iterator; |
|
22 |
21 |
23 /** |
22 /** |
24 * |
23 * |
25 * @author Ing. František Kučera (frantovo.cz) |
24 * @author Ing. František Kučera (frantovo.cz) |
26 */ |
25 */ |
27 public class Batch implements Iterator<SQLCommand> { |
26 public interface Batch { |
28 |
27 |
29 @Override |
28 public boolean hasNext() throws BatchException; |
30 public boolean hasNext() { |
|
31 /** TODO: implement iterator */ |
|
32 throw new UnsupportedOperationException("Not supported yet."); |
|
33 } |
|
34 |
29 |
35 @Override |
30 public SQLCommand next() throws BatchException; |
36 public SQLCommand next() { |
|
37 /** TODO: implement iterator */ |
|
38 throw new UnsupportedOperationException("Not supported yet."); |
|
39 } |
|
40 |
|
41 @Override |
|
42 public void remove() { |
|
43 throw new UnsupportedOperationException("remove() is not supported"); |
|
44 } |
|
45 } |
31 } |