接口 RowList
-
- 所有已知子接口:
ResultsetRows
- 所有已知实现类:
AbstractResultsetRows,BufferedRowList,ResultsetRowsCursor,ResultsetRowsStatic,ResultsetRowsStreaming,XProtocolRowInputStream
public interface RowList extends Iterator<Row>
A list ofRows.
-
-
字段概要
字段 修饰符和类型 字段 说明 static intRESULT_SET_SIZE_UNKNOWNWhat's returned for the size of a row list when its size can not be determined.
-
方法概要
所有方法 实例方法 默认方法 修饰符和类型 方法 说明 default Rowget(int n)Optionally retrieve Row at index n.default intgetPosition()Returns the current position.default Rowprevious()Optionally iterate backwards on the list.default intsize()Only works on non dynamic row lists.-
从接口继承的方法 java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
字段详细资料
-
RESULT_SET_SIZE_UNKNOWN
static final int RESULT_SET_SIZE_UNKNOWN
What's returned for the size of a row list when its size can not be determined.- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
get
default Row get(int n)
Optionally retrieve Row at index n. Only works on non dynamic row lists.- 参数:
n- row number- 返回:
Row
-
getPosition
default int getPosition()
Returns the current position.- 返回:
- the current row number
-
size
default int size()
Only works on non dynamic row lists.- 返回:
- the size of this row list
-
-