android.database
Class CursorWindow

java.lang.Object
  extended by android.database.sqlite.SQLiteClosable
      extended by android.database.CursorWindow
All Implemented Interfaces:
Parcelable

public class CursorWindow
extends SQLiteClosable
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<CursorWindow> CREATOR
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
CursorWindow(boolean localWindow)
           
 
Method Summary
 boolean allocRow()
           
 void clear()
           
 void close()
           
 void copyStringToBuffer(int row, int col, CharArrayBuffer buffer)
           
 int describeContents()
           
protected  void finalize()
           
 void freeLastRow()
           
 byte[] getBlob(int row, int col)
           
 double getDouble(int row, int col)
           
 float getFloat(int row, int col)
           
 int getInt(int row, int col)
           
 long getLong(int row, int col)
           
 int getNumRows()
           
 short getShort(int row, int col)
           
 int getStartPosition()
           
 java.lang.String getString(int row, int col)
           
 boolean isBlob(int row, int col)
           
 boolean isFloat(int row, int col)
           
 boolean isLong(int row, int col)
           
 boolean isNull(int row, int col)
           
 boolean isString(int row, int col)
           
static CursorWindow newFromParcel(Parcel p)
           
protected  void onAllReferencesReleased()
           
 boolean putBlob(byte[] value, int row, int col)
           
 boolean putDouble(double value, int row, int col)
           
 boolean putLong(long value, int row, int col)
           
 boolean putNull(int row, int col)
           
 boolean putString(java.lang.String value, int row, int col)
           
 boolean setNumColumns(int columnNum)
           
 void setStartPosition(int pos)
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class android.database.sqlite.SQLiteClosable
acquireReference, onAllReferencesReleasedFromContainer, releaseReference, releaseReferenceFromContainer
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATOR

public static final Parcelable.Creator<CursorWindow> CREATOR
Constructor Detail

CursorWindow

public CursorWindow(boolean localWindow)
Method Detail

getStartPosition

public int getStartPosition()

setStartPosition

public void setStartPosition(int pos)

getNumRows

public int getNumRows()

setNumColumns

public boolean setNumColumns(int columnNum)

allocRow

public boolean allocRow()

freeLastRow

public void freeLastRow()

putBlob

public boolean putBlob(byte[] value,
                       int row,
                       int col)

putString

public boolean putString(java.lang.String value,
                         int row,
                         int col)

putLong

public boolean putLong(long value,
                       int row,
                       int col)

putDouble

public boolean putDouble(double value,
                         int row,
                         int col)

putNull

public boolean putNull(int row,
                       int col)

isNull

public boolean isNull(int row,
                      int col)

getBlob

public byte[] getBlob(int row,
                      int col)

isBlob

public boolean isBlob(int row,
                      int col)

isLong

public boolean isLong(int row,
                      int col)

isFloat

public boolean isFloat(int row,
                       int col)

isString

public boolean isString(int row,
                        int col)

getString

public java.lang.String getString(int row,
                                  int col)

copyStringToBuffer

public void copyStringToBuffer(int row,
                               int col,
                               CharArrayBuffer buffer)

getLong

public long getLong(int row,
                    int col)

getDouble

public double getDouble(int row,
                        int col)

getShort

public short getShort(int row,
                      int col)

getInt

public int getInt(int row,
                  int col)

getFloat

public float getFloat(int row,
                      int col)

clear

public void clear()

close

public void close()

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

newFromParcel

public static CursorWindow newFromParcel(Parcel p)

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

onAllReferencesReleased

protected void onAllReferencesReleased()
Specified by:
onAllReferencesReleased in class SQLiteClosable


Copyright © 2008-2010. All Rights Reserved.