public interface IBulkCursor
Modifier and Type | Field and Description |
---|---|
static int |
CLOSE_TRANSACTION |
static int |
COUNT_TRANSACTION |
static int |
DEACTIVATE_TRANSACTION |
static int |
DELETE_ROW_TRANSACTION |
static java.lang.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 |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
count()
Returns the number of rows in the cursor.
|
void |
deactivate() |
boolean |
deleteRow(int position) |
java.lang.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(java.util.Map<? extends java.lang.Long,? extends java.util.Map<java.lang.String,java.lang.Object>> values) |
static final java.lang.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
CursorWindow getWindow(int startPos) throws RemoteException
RemoteException
void onMove(int position) throws RemoteException
RemoteException
int count() throws RemoteException
RemoteException
java.lang.String[] getColumnNames() throws RemoteException
RemoteException
boolean updateRows(java.util.Map<? extends java.lang.Long,? extends java.util.Map<java.lang.String,java.lang.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