com.j256.ormlite.android
Class AndroidDatabaseResults
java.lang.Object
com.j256.ormlite.android.AndroidDatabaseResults
- All Implemented Interfaces:
- com.j256.ormlite.support.DatabaseResults
public class AndroidDatabaseResults
- extends Object
- implements com.j256.ormlite.support.DatabaseResults
Android implementation of our results object.
- Author:
- kevingalligan, graywatson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndroidDatabaseResults
public AndroidDatabaseResults(android.database.Cursor cursor)
getColumnCount
public int getColumnCount()
throws SQLException
- Specified by:
getColumnCount
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
findColumn
public int findColumn(String columnName)
throws SQLException
- Specified by:
findColumn
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
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
getShort
public short getShort(int columnIndex)
throws SQLException
- Specified by:
getShort
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
getFloat
public float getFloat(int columnIndex)
throws SQLException
- Specified by:
getFloat
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
getTimestamp
public Timestamp getTimestamp(int columnIndex)
throws SQLException
- Specified by:
getTimestamp
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
wasNull
public boolean wasNull(int columnIndex)
throws SQLException
- Specified by:
wasNull
in interface com.j256.ormlite.support.DatabaseResults
- Throws:
SQLException
getRawCursor
public android.database.Cursor getRawCursor()
- Returns the underlying Android cursor object. This should not be used unless you know what you are doing.
Copyright © 2011. All Rights Reserved.