类 BufferedRowList
- java.lang.Object
-
- com.mysql.cj.result.BufferedRowList
-
-
字段概要
-
从接口继承的字段 com.mysql.cj.result.RowList
RESULT_SET_SIZE_UNKNOWN
-
-
构造器概要
构造器 构造器 说明 BufferedRowList(Iterator<Row> ris)Create a new instance by filling the internal buffer by draining the row stream.BufferedRowList(List<Row> rowList)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Rowget(int n)Optionally retrieve Row at index n.intgetPosition()Returns the current position.booleanhasNext()Rownext()Rowprevious()Optionally iterate backwards on the list.intsize()Only works on non dynamic row lists.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.util.Iterator
forEachRemaining, remove
-
-
-
-
方法详细资料
-
get
public Row get(int n)
从接口复制的说明:RowListOptionally retrieve Row at index n. Only works on non dynamic row lists.
-
getPosition
public int getPosition()
从接口复制的说明:RowListReturns the current position.- 指定者:
getPosition在接口中RowList- 返回:
- the current row number
-
size
public int size()
从接口复制的说明:RowListOnly works on non dynamic row lists.
-
-