android.database
Class MergeCursor
java.lang.Object
android.database.AbstractCursor
android.database.MergeCursor
- All Implemented Interfaces:
- CrossProcessCursor, Cursor, Closeable
public class MergeCursor
- extends AbstractCursor
| Methods inherited from class android.database.AbstractCursor |
checkPosition, copyStringToBuffer, fillWindow, finalize, getColumnCount, getColumnIndex, getColumnIndexOrThrow, getColumnName, getExtras, getNotificationUri, getPosition, getUpdatedField, getWantsAllOnMoveCalls, getWindow, isAfterLast, isBeforeFirst, isClosed, isFieldUpdated, isFirst, isLast, move, moveToFirst, moveToLast, moveToNext, moveToPosition, moveToPrevious, onChange, respond, setNotificationUri |
MergeCursor
public MergeCursor(Cursor[] cursors)
getCount
public int getCount()
- Specified by:
getCount in interface Cursor- Specified by:
getCount in class AbstractCursor
onMove
public boolean onMove(int oldPosition,
int newPosition)
- Specified by:
onMove in interface CrossProcessCursor- Overrides:
onMove in class AbstractCursor
getString
public String getString(int column)
- Specified by:
getString in interface Cursor- Specified by:
getString in class AbstractCursor
getShort
public short getShort(int column)
- Specified by:
getShort in interface Cursor- Specified by:
getShort in class AbstractCursor
getInt
public int getInt(int column)
- Specified by:
getInt in interface Cursor- Specified by:
getInt in class AbstractCursor
getLong
public long getLong(int column)
- Specified by:
getLong in interface Cursor- Specified by:
getLong in class AbstractCursor
getFloat
public float getFloat(int column)
- Specified by:
getFloat in interface Cursor- Specified by:
getFloat in class AbstractCursor
getDouble
public double getDouble(int column)
- Specified by:
getDouble in interface Cursor- Specified by:
getDouble in class AbstractCursor
getType
public int getType(int column)
- Specified by:
getType in interface Cursor- Overrides:
getType in class AbstractCursor
isNull
public boolean isNull(int column)
- Specified by:
isNull in interface Cursor- Specified by:
isNull in class AbstractCursor
getBlob
public byte[] getBlob(int column)
- Specified by:
getBlob in interface Cursor- Overrides:
getBlob in class AbstractCursor
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames in interface Cursor- Specified by:
getColumnNames in class AbstractCursor
deactivate
public void deactivate()
- Specified by:
deactivate in interface Cursor- Overrides:
deactivate in class AbstractCursor
close
public void close()
- Specified by:
close in interface Cursor- Specified by:
close in interface Closeable- Overrides:
close in class AbstractCursor
registerContentObserver
public void registerContentObserver(ContentObserver observer)
- Specified by:
registerContentObserver in interface Cursor- Overrides:
registerContentObserver in class AbstractCursor
unregisterContentObserver
public void unregisterContentObserver(ContentObserver observer)
- Specified by:
unregisterContentObserver in interface Cursor- Overrides:
unregisterContentObserver in class AbstractCursor
registerDataSetObserver
public void registerDataSetObserver(DataSetObserver observer)
- Specified by:
registerDataSetObserver in interface Cursor- Overrides:
registerDataSetObserver in class AbstractCursor
unregisterDataSetObserver
public void unregisterDataSetObserver(DataSetObserver observer)
- Specified by:
unregisterDataSetObserver in interface Cursor- Overrides:
unregisterDataSetObserver in class AbstractCursor
requery
public boolean requery()
- Specified by:
requery in interface Cursor- Overrides:
requery in class AbstractCursor
Copyright © 2008-2012. All Rights Reserved.