java/sql-dk/src/info/globalcode/sql/dk/batch/Batch.java
branchv_0
changeset 146 4f4f515df807
parent 144 d273d7c6dc0c
child 155 eb3676c6929b
equal deleted inserted replaced
145:5f90decd3b59 146:4f4f515df807
    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 }