|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBulkCursor
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 |
|---|
static final String descriptor
static final int GET_CURSOR_WINDOW_TRANSACTION
static final int COUNT_TRANSACTION
static final int GET_COLUMN_NAMES_TRANSACTION
static final int UPDATE_ROWS_TRANSACTION
static final int DELETE_ROW_TRANSACTION
static final int DEACTIVATE_TRANSACTION
static final int REQUERY_TRANSACTION
static final int ON_MOVE_TRANSACTION
static final int WANTS_ON_MOVE_TRANSACTION
static final int GET_EXTRAS_TRANSACTION
static final int RESPOND_TRANSACTION
static final int CLOSE_TRANSACTION
| Method Detail |
|---|
CursorWindow getWindow(int startPos)
throws RemoteException
RemoteException
void onMove(int position)
throws RemoteException
RemoteException
int count()
throws RemoteException
RemoteException
String[] getColumnNames()
throws RemoteException
RemoteException
boolean updateRows(Map<? extends Long,? extends Map<String,Object>> values)
throws RemoteException
RemoteException
boolean deleteRow(int position)
throws RemoteException
RemoteException
void deactivate()
throws RemoteException
RemoteException
void close()
throws RemoteException
RemoteException
int requery(IContentObserver observer,
CursorWindow window)
throws RemoteException
RemoteException
boolean getWantsAllOnMoveCalls()
throws RemoteException
RemoteException
Bundle getExtras()
throws RemoteException
RemoteException
Bundle respond(Bundle extras)
throws RemoteException
RemoteException
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||