com.j256.ormlite.jdbc
Class JdbcDatabaseResults
java.lang.Object
com.j256.ormlite.jdbc.JdbcDatabaseResults
- All Implemented Interfaces:
- com.j256.ormlite.support.DatabaseResults
public class JdbcDatabaseResults
- extends Object
- implements com.j256.ormlite.support.DatabaseResults
Wrapper around a ResultSet
object which we delegate to.
- Author:
- graywatson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcDatabaseResults
public JdbcDatabaseResults(PreparedStatement preparedStmt,
ResultSet resultSet,
com.j256.ormlite.dao.ObjectCache objectCache)
getColumnCount
public int getColumnCount()
throws SQLException
- Specified by:
getColumnCount
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
findColumn
public int findColumn(String columnName)
throws SQLException
- Specified by:
findColumn
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getBlobStream
public InputStream getBlobStream(int columnIndex)
throws SQLException
- Specified by:
getBlobStream
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getBoolean
public boolean getBoolean(int columnIndex)
throws SQLException
- Specified by:
getBoolean
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getChar
public char getChar(int columnIndex)
throws SQLException
- Specified by:
getChar
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getByte
public byte getByte(int columnIndex)
throws SQLException
- Specified by:
getByte
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getBytes
public byte[] getBytes(int columnIndex)
throws SQLException
- Specified by:
getBytes
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getDouble
public double getDouble(int columnIndex)
throws SQLException
- Specified by:
getDouble
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getFloat
public float getFloat(int columnIndex)
throws SQLException
- Specified by:
getFloat
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getInt
public int getInt(int columnIndex)
throws SQLException
- Specified by:
getInt
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getLong
public long getLong(int columnIndex)
throws SQLException
- Specified by:
getLong
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getShort
public short getShort(int columnIndex)
throws SQLException
- Specified by:
getShort
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getString
public String getString(int columnIndex)
throws SQLException
- Specified by:
getString
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(int columnIndex)
throws SQLException
- Specified by:
getTimestamp
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex)
throws SQLException
- Specified by:
getBigDecimal
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
next
public boolean next()
throws SQLException
- Specified by:
next
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
wasNull
public boolean wasNull(int columnIndex)
throws SQLException
- Specified by:
wasNull
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getObjectCache
public com.j256.ormlite.dao.ObjectCache getObjectCache()
- Specified by:
getObjectCache
in interface com.j256.ormlite.support.DatabaseResults
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.