ResultSetAbsSharedResultSetpublic interface SharedResultSet extends ResultSet
This class extends the ResultSet class. Some methods in this class are implemented by the
abstract class AbsSharedResultSet.
AbsSharedResultSetSystemCapability.Data#DATA_APPDATAMGRResultSet.ColumnType| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
fillBlock(int startRowIndex,
SharedBlock block) |
Adds the data of a
SharedResultSet to a SharedBlock. |
SharedBlock |
getBlock() |
Obtains a block from the
SharedResultSet. |
boolean |
onGo(int oldRowIndex,
int newRowIndex) |
Called when the position of the result set changes.
|
close, getAffectedByUris, getAllColumnNames, getBlob, getColumnCount, getColumnIndexForName, getColumnNameForIndex, getColumnTypeForIndex, getDouble, getExtensions, getFloat, getInt, getLong, getRowCount, getRowIndex, getShort, getString, goTo, goToFirstRow, goToLastRow, goToNextRow, goToPreviousRow, goToRow, isAtFirstRow, isAtLastRow, isClosed, isColumnNull, isEnded, isStarted, registerObserver, setAffectedByUris, setExtensions, unregisterObserverSharedBlock getBlock()
SharedResultSet.
The block contains some data of the SharedResultSet.
null otherwise.void fillBlock(int startRowIndex,
SharedBlock block)
SharedResultSet to a SharedBlock.
This method is used to add the data of a SharedResultSet (starting from the
startRowIndex position) to a SharedBlock until all data of the SharedResultSet is
added to the SharedBlock or the SharedBlock space is insufficient.
startRowIndex - Indicates the index in the SharedResultSet. The index starts
from 0, indicating the first row.block - Indicates the block whose data is to be added to the SharedResultSet.boolean onGo(int oldRowIndex,
int newRowIndex)
When the result set is moved to a new position, this method is called to notify the child class of
the move result. If false is returned,
the result set will be moved to the beforeFirst position.
oldRowIndex - Indicates the original position of the result set.newRowIndex - Indicates the new position of the result set.true if the result set is moved successfully; returns false otherwise.