com.j256.ormlite.dao.RawResults Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ormlite Show documentation
Show all versions of ormlite Show documentation
Lightweight Object Relational Model (ORM) for persisting objects to SQL databases.
package com.j256.ormlite.dao;
/**
* Results returned by a call to {@link Dao#queryForAllRaw} or {@link Dao#iteratorRaw} which handles each result as a
* String[].
*
*
* NOTE: If you use the iterator then you must call {@link CloseableIterator#close()} method when you are done
* otherwise the underlying SQL statement and connection may be kept open.
*
*
* @author graywatson
*/
public interface RawResults extends CloseableIterable {
/**
* Return the number of columns in each result row.
*/
public int getNumberColumns();
/**
* Return the array of column names for each result row.
*/
public String[] getColumnNames();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy