Android Open Source - SQLDroid Cursor






From Project

Back to project page SQLDroid.

License

The source code is released under:

MIT License

If you think the Android project SQLDroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * Created on May 9, 2012/*from  ww w  . j ava 2  s . c om*/
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package android.database;

public interface Cursor {

  public static final int FIELD_TYPE_NULL = 0;
  public static final int FIELD_TYPE_INTEGER = 1;
  public static final int FIELD_TYPE_FLOAT = 2;
  public static final int FIELD_TYPE_STRING = 3;
  public static final int FIELD_TYPE_BLOB = 4;

  public int getCount();

  public boolean moveToNext();

  public String getString(int i);
  
  public int getInt(int i);

  public void close();
  
  public boolean moveToLast();

  public boolean moveToFirst();

  public boolean moveToPrevious();

  public int getColumnIndex(String columnName);

  public byte[] getBlob(int ci);

  public byte getShort(int ci);

  public double getDouble(int ci);

  public float getFloat(int ci);

  public long getLong(int ci);

  public int getPosition();
  
  public boolean isAfterLast();

  public boolean isBeforeFirst();

  public boolean isFirst();

  public boolean isLast();

  public void requery();

  public boolean isNull(int ci);

  public boolean isClosed();

  public int getColumnCount();

  public String getColumnName(int i);

  public void moveToPosition(int oldPos);
  
  public int getType(int ci);

}




Java Source Code List

android.content.ContentValues.java
android.database.AbstractCursor.java
android.database.Cursor.java
android.database.MatrixCursor.java
android.database.MergeCursor.java
android.database.SQLException.java
android.database.SQLite.java
android.database.sqlite.SQLiteDatabaseLockedException.java
android.database.sqlite.SQLiteDatabase.java
android.database.sqlite.SQLiteException.java
android.util.Log.java
org.sqldroid.DebugPrinter.java
org.sqldroid.DroidDataSource.java
org.sqldroid.Log.java
org.sqldroid.SQLDroidBlob.java
org.sqldroid.SQLDroidClob.java
org.sqldroid.SQLDroidConnection.java
org.sqldroid.SQLDroidDatabaseMetaData.java
org.sqldroid.SQLDroidDriver.java
org.sqldroid.SQLDroidPreparedStatement.java
org.sqldroid.SQLDroidResultSetMetaData.java
org.sqldroid.SQLDroidResultSet.java
org.sqldroid.SQLDroidSQLException.java
org.sqldroid.SQLDroidStatement.java
org.sqldroid.SQLiteDatabase.java