View Javadoc
1 2 package net.sf.voruta; 3 4 /*** ResultSet abstraction 5 * @author baliuka 6 */ 7 public interface DbResultSet { 8 9 /*** moves to next record 10 * @return false if no more records 11 */ 12 public boolean next() throws Exception; 13 14 /*** Retrieves object at index, values are indexed from zero 15 * @param index Object index in record 0-n 16 * @return Object 17 */ 18 public Object get(int index)throws Exception; 19 20 /*** Returns metadata 21 * @return labels 22 */ 23 public String[] getNames()throws Exception; 24 25 /*** releases resources */ 26 public void close()throws Exception; 27 28 public java.sql.ResultSet getResultSet(); 29 30 31 }

This page was automatically generated by Maven