public class


extends AbstractCursor
   ↳ android.database.AbstractCursor

Class Overview

A variant of MergeCursor that sorts the cursors being merged. If decent performance is ever obtained, it can be put back under android.database.


Inherited Constants
From interface android.database.Cursor
Inherited Fields
From class android.database.AbstractCursor
Public Constructors
SortCursor(Cursor[] cursors, String sortcolumn, int type, boolean ascending)
Public Methods
void close()
void deactivate()
byte[] getBlob(int column)
String[] getColumnNames()
int getCount()
int getCurrentCursorIndex()
double getDouble(int column)
float getFloat(int column)
int getInt(int column)
long getLong(int column)
short getShort(int column)
String getString(int column)
boolean isNull(int column)
boolean onMove(int oldPosition, int newPosition)
void registerDataSetObserver(DataSetObserver observer)
boolean requery()
void unregisterDataSetObserver(DataSetObserver observer)
Inherited Methods
From class android.database.AbstractCursor
From class java.lang.Object
From interface android.database.CrossProcessCursor
From interface android.database.Cursor


public static final int TYPE_NUMERIC

Constant Value: 1 (0x00000001)

public static final int TYPE_STRING

Constant Value: 0 (0x00000000)

Public Constructors

public SortCursor (Cursor[] cursors, String sortcolumn, int type, boolean ascending)

Public Methods

public void close ()

public void deactivate ()

public byte[] getBlob (int column)

public String[] getColumnNames ()

public int getCount ()

public int getCurrentCursorIndex ()

public double getDouble (int column)

public float getFloat (int column)

public int getInt (int column)

public long getLong (int column)

public short getShort (int column)

public String getString (int column)

public boolean isNull (int column)

public boolean onMove (int oldPosition, int newPosition)

public void registerDataSetObserver (DataSetObserver observer)

public boolean requery ()

public void unregisterDataSetObserver (DataSetObserver observer)