com.j256.ormlite.dao
Interface RawResults

All Superinterfaces:
CloseableIterable<String[]>, Iterable<String[]>

public interface RawResults
extends CloseableIterable<String[]>

Results returned by a call to Dao.queryForAllRaw(java.lang.String) or Dao.iteratorRaw(java.lang.String) which handles each result as a String[].

NOTE: If you use the iterator then you must call CloseableIterator.close() method when you are done otherwise the underlying SQL statement and connection may be kept open.

Author:
graywatson

Method Summary
 String[] getColumnNames()
          Return the array of column names for each result row.
 int getNumberColumns()
          Return the number of columns in each result row.
 
Methods inherited from interface com.j256.ormlite.dao.CloseableIterable
iterator
 

Method Detail

getNumberColumns

int getNumberColumns()
Return the number of columns in each result row.


getColumnNames

String[] getColumnNames()
Return the array of column names for each result row.



Copyright © 2010. All Rights Reserved.