Build 1.0_r1(from source)

android.database
Interface IBulkCursor

All Superinterfaces:
IInterface
All Known Implementing Classes:
BulkCursorNative, BulkCursorProxy, CursorToBulkCursorAdaptor

public interface IBulkCursor
extends IInterface

This interface provides a low-level way to pass bulk cursor data across both process and language boundries. Application code should use the Cursor interface directly.


Field Summary
static int CLOSE_TRANSACTION
           
static int COUNT_TRANSACTION
           
static int DEACTIVATE_TRANSACTION
           
static int DELETE_ROW_TRANSACTION
           
static String descriptor
           
static int GET_COLUMN_NAMES_TRANSACTION
           
static int GET_CURSOR_WINDOW_TRANSACTION
           
static int GET_EXTRAS_TRANSACTION
           
static int ON_MOVE_TRANSACTION
           
static int REQUERY_TRANSACTION
           
static int RESPOND_TRANSACTION
           
static int UPDATE_ROWS_TRANSACTION
           
static int WANTS_ON_MOVE_TRANSACTION
           
 
Method Summary
 void close()
           
 int count()
          Returns the number of rows in the cursor.
 void deactivate()
           
 boolean deleteRow(int position)
           
 String[] getColumnNames()
          Returns a string array holding the names of all of the columns in the cursor in the order in which they were listed in the result.
 Bundle getExtras()
           
 boolean getWantsAllOnMoveCalls()
           
 CursorWindow getWindow(int startPos)
          Returns a BulkCursorWindow, which either has a reference to a shared memory segment with the rows, or an array of JSON strings.
 void onMove(int position)
           
 int requery(IContentObserver observer, CursorWindow window)
           
 Bundle respond(Bundle extras)
           
 boolean updateRows(Map<? extends Long,? extends Map<String,Object>> values)
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Field Detail

descriptor

static final String descriptor
See Also:
Constant Field Values

GET_CURSOR_WINDOW_TRANSACTION

static final int GET_CURSOR_WINDOW_TRANSACTION
See Also:
Constant Field Values

COUNT_TRANSACTION

static final int COUNT_TRANSACTION
See Also:
Constant Field Values

GET_COLUMN_NAMES_TRANSACTION

static final int GET_COLUMN_NAMES_TRANSACTION
See Also:
Constant Field Values

UPDATE_ROWS_TRANSACTION

static final int UPDATE_ROWS_TRANSACTION
See Also:
Constant Field Values

DELETE_ROW_TRANSACTION

static final int DELETE_ROW_TRANSACTION
See Also:
Constant Field Values

DEACTIVATE_TRANSACTION

static final int DEACTIVATE_TRANSACTION
See Also:
Constant Field Values

REQUERY_TRANSACTION

static final int REQUERY_TRANSACTION
See Also:
Constant Field Values

ON_MOVE_TRANSACTION

static final int ON_MOVE_TRANSACTION
See Also:
Constant Field Values

WANTS_ON_MOVE_TRANSACTION

static final int WANTS_ON_MOVE_TRANSACTION
See Also:
Constant Field Values

GET_EXTRAS_TRANSACTION

static final int GET_EXTRAS_TRANSACTION
See Also:
Constant Field Values

RESPOND_TRANSACTION

static final int RESPOND_TRANSACTION
See Also:
Constant Field Values

CLOSE_TRANSACTION

static final int CLOSE_TRANSACTION
See Also:
Constant Field Values
Method Detail

getWindow

CursorWindow getWindow(int startPos)
                       throws RemoteException
Returns a BulkCursorWindow, which either has a reference to a shared memory segment with the rows, or an array of JSON strings.

Throws:
RemoteException

onMove

void onMove(int position)
            throws RemoteException
Throws:
RemoteException

count

int count()
          throws RemoteException
Returns the number of rows in the cursor.

Returns:
the number of rows in the cursor.
Throws:
RemoteException

getColumnNames

String[] getColumnNames()
                        throws RemoteException
Returns a string array holding the names of all of the columns in the cursor in the order in which they were listed in the result.

Returns:
the names of the columns returned in this query.
Throws:
RemoteException

updateRows

boolean updateRows(Map<? extends Long,? extends Map<String,Object>> values)
                   throws RemoteException
Throws:
RemoteException

deleteRow

boolean deleteRow(int position)
                  throws RemoteException
Throws:
RemoteException

deactivate

void deactivate()
                throws RemoteException
Throws:
RemoteException

close

void close()
           throws RemoteException
Throws:
RemoteException

requery

int requery(IContentObserver observer,
            CursorWindow window)
            throws RemoteException
Throws:
RemoteException

getWantsAllOnMoveCalls

boolean getWantsAllOnMoveCalls()
                               throws RemoteException
Throws:
RemoteException

getExtras

Bundle getExtras()
                 throws RemoteException
Throws:
RemoteException

respond

Bundle respond(Bundle extras)
               throws RemoteException
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature