android.database
Class AbstractWindowedCursor

java.lang.Object
  extended by android.database.AbstractCursor
      extended by android.database.AbstractWindowedCursor
All Implemented Interfaces:
CrossProcessCursor, Cursor
Direct Known Subclasses:
SQLiteCursor

public abstract class AbstractWindowedCursor
extends AbstractCursor


Nested Class Summary
 
Nested classes/interfaces inherited from class android.database.AbstractCursor
AbstractCursor.SelfContentObserver
 
Field Summary
protected  CursorWindow mWindow
           
 
Fields inherited from class android.database.AbstractCursor
mClosed, mContentResolver, mCurrentRowID, mPos, mRowIdColumnIndex, mUpdatedRows
 
Fields inherited from interface android.database.Cursor
FIELD_TYPE_BLOB, FIELD_TYPE_FLOAT, FIELD_TYPE_INTEGER, FIELD_TYPE_NULL, FIELD_TYPE_STRING
 
Constructor Summary
AbstractWindowedCursor()
           
 
Method Summary
protected  void checkPosition()
           
 void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer)
           
 byte[] getBlob(int columnIndex)
           
 double getDouble(int columnIndex)
           
 float getFloat(int columnIndex)
           
 int getInt(int columnIndex)
           
 long getLong(int columnIndex)
           
 short getShort(int columnIndex)
           
 String getString(int columnIndex)
           
 int getType(int columnIndex)
           
 CursorWindow getWindow()
           
 boolean hasWindow()
           
 boolean isBlob(int columnIndex)
           
 boolean isFloat(int columnIndex)
           
 boolean isLong(int columnIndex)
           
 boolean isNull(int columnIndex)
           
 boolean isString(int columnIndex)
           
 void setWindow(CursorWindow window)
           
 
Methods inherited from class android.database.AbstractCursor
close, deactivate, fillWindow, finalize, getColumnCount, getColumnIndex, getColumnIndexOrThrow, getColumnName, getColumnNames, getCount, getExtras, getNotificationUri, getPosition, getUpdatedField, getWantsAllOnMoveCalls, isAfterLast, isBeforeFirst, isClosed, isFieldUpdated, isFirst, isLast, move, moveToFirst, moveToLast, moveToNext, moveToPosition, moveToPrevious, onChange, onMove, registerContentObserver, registerDataSetObserver, requery, respond, setNotificationUri, unregisterContentObserver, unregisterDataSetObserver
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mWindow

protected CursorWindow mWindow
Constructor Detail

AbstractWindowedCursor

public AbstractWindowedCursor()
Method Detail

getBlob

public byte[] getBlob(int columnIndex)
Specified by:
getBlob in interface Cursor
Overrides:
getBlob in class AbstractCursor

getString

public String getString(int columnIndex)
Specified by:
getString in interface Cursor
Specified by:
getString in class AbstractCursor

copyStringToBuffer

public void copyStringToBuffer(int columnIndex,
                               CharArrayBuffer buffer)
Specified by:
copyStringToBuffer in interface Cursor
Overrides:
copyStringToBuffer in class AbstractCursor

getShort

public short getShort(int columnIndex)
Specified by:
getShort in interface Cursor
Specified by:
getShort in class AbstractCursor

getInt

public int getInt(int columnIndex)
Specified by:
getInt in interface Cursor
Specified by:
getInt in class AbstractCursor

getLong

public long getLong(int columnIndex)
Specified by:
getLong in interface Cursor
Specified by:
getLong in class AbstractCursor

getFloat

public float getFloat(int columnIndex)
Specified by:
getFloat in interface Cursor
Specified by:
getFloat in class AbstractCursor

getDouble

public double getDouble(int columnIndex)
Specified by:
getDouble in interface Cursor
Specified by:
getDouble in class AbstractCursor

isNull

public boolean isNull(int columnIndex)
Specified by:
isNull in interface Cursor
Specified by:
isNull in class AbstractCursor

isBlob

public boolean isBlob(int columnIndex)

isString

public boolean isString(int columnIndex)

isLong

public boolean isLong(int columnIndex)

isFloat

public boolean isFloat(int columnIndex)

getType

public int getType(int columnIndex)
Specified by:
getType in interface Cursor
Overrides:
getType in class AbstractCursor

checkPosition

protected void checkPosition()
Overrides:
checkPosition in class AbstractCursor

getWindow

public CursorWindow getWindow()
Specified by:
getWindow in interface CrossProcessCursor
Overrides:
getWindow in class AbstractCursor

setWindow

public void setWindow(CursorWindow window)

hasWindow

public boolean hasWindow()


Copyright © 2008-2012. All Rights Reserved.