com.j256.ormlite.dao
Interface RawResults

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

Deprecated.

@Deprecated
public interface RawResults
extends CloseableIterable<String[]>

You should be using GenericRawResults with <String[]> argument.


Method Summary
 void close()
          Deprecated. Close any open database connections associated with the RawResults.
 String[] getColumnNames()
          Deprecated. Return the array of column names for each result row.
<T> List<T>
getMappedResults(RawRowMapper<T> mapper)
          Deprecated. Return a list of results mapped by the mapper argument.
 int getNumberColumns()
          Deprecated. Return the number of columns in each result row.
 List<String[]> getResults()
          Deprecated. Return a list of results mapped by the mapper argument.
<T> CloseableIterator<T>
iterator(RawRowMapper<T> mapper)
          Deprecated. Get an iterator which will return a T which is mapped from the String[] array raw results my the mapper argument.
 
Methods inherited from interface com.j256.ormlite.dao.CloseableIterable
iterator
 

Method Detail

getNumberColumns

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


getColumnNames

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


getResults

List<String[]> getResults()
                          throws SQLException
Deprecated. 
Return a list of results mapped by the mapper argument.

Throws:
SQLException

getMappedResults

<T> List<T> getMappedResults(RawRowMapper<T> mapper)
                         throws SQLException
Deprecated. 
Return a list of results mapped by the mapper argument.

Throws:
SQLException

iterator

<T> CloseableIterator<T> iterator(RawRowMapper<T> mapper)
                              throws SQLException
Deprecated. 
Get an iterator which will return a T which is mapped from the String[] array raw results my the mapper argument.

Throws:
SQLException

close

void close()
           throws SQLException
Deprecated. 
Close any open database connections associated with the RawResults. This is only applicable if the Dao.iteratorRaw(String) or another iterator method was called.

Throws:
SQLException


Copyright © 2011. All Rights Reserved.