net.sf.voruta
Interface DbResultSet


public interface DbResultSet

ResultSet abstraction

Author:
baliuka

Method Summary
 void close()
          releases resources
 java.lang.Object get(int index)
          Retrieves object at index, values are indexed from zero
 java.lang.String[] getNames()
          Returns metadata
 java.sql.ResultSet getResultSet()
           
 boolean next()
          moves to next record
 

Method Detail

next

public boolean next()
             throws java.lang.Exception
moves to next record
Returns:
false if no more records

get

public java.lang.Object get(int index)
                     throws java.lang.Exception
Retrieves object at index, values are indexed from zero
Parameters:
index - Object index in record 0-n
Returns:
Object

getNames

public java.lang.String[] getNames()
                            throws java.lang.Exception
Returns metadata
Returns:
labels

close

public void close()
           throws java.lang.Exception
releases resources

getResultSet

public java.sql.ResultSet getResultSet()


Copyright © 2003-2004 voruta. All Rights Reserved.