类 ResultsetRowsStatic

    • 构造器详细资料

      • ResultsetRowsStatic

        public ResultsetRowsStatic​(List<? extends Row> rows,
                                   ColumnDefinition columnDefinition)
        Creates a new RowDataStatic object.
        参数:
        rows - list of Row instances
        columnDefinition - ColumnDefinition for this result set
    • 方法详细资料

      • get

        public Row get​(int atIndex)
        从接口复制的说明: RowList
        Optionally retrieve Row at index n. Only works on non dynamic row lists.
        指定者:
        get 在接口中 RowList
        参数:
        atIndex - row number
        返回:
        Row
      • getPosition

        public int getPosition()
        从接口复制的说明: RowList
        Returns the current position.
        指定者:
        getPosition 在接口中 RowList
        返回:
        the current row number
      • isAfterLast

        public boolean isAfterLast()
        从接口复制的说明: ResultsetRows
        Returns true if we got the last element.
        指定者:
        isAfterLast 在接口中 ResultsetRows
        返回:
        true if after last row
      • isBeforeFirst

        public boolean isBeforeFirst()
        从接口复制的说明: ResultsetRows
        Returns if iteration has not occured yet.
        指定者:
        isBeforeFirst 在接口中 ResultsetRows
        返回:
        true if before first row
      • isDynamic

        public boolean isDynamic()
        从接口复制的说明: ResultsetRows
        Returns true if the result set is dynamic. This means that move back and move forward won't work because we do not hold on to the records.
        指定者:
        isDynamic 在接口中 ResultsetRows
        返回:
        true if this result set is streaming from the server
      • isEmpty

        public boolean isEmpty()
        从接口复制的说明: ResultsetRows
        Has no records.
        指定者:
        isEmpty 在接口中 ResultsetRows
        返回:
        true if no records
      • isFirst

        public boolean isFirst()
        从接口复制的说明: ResultsetRows
        Are we on the first row of the result set?
        指定者:
        isFirst 在接口中 ResultsetRows
        返回:
        true if on first row
      • isLast

        public boolean isLast()
        从接口复制的说明: ResultsetRows
        Are we on the last row of the result set?
        指定者:
        isLast 在接口中 ResultsetRows
        返回:
        true if on last row
      • moveRowRelative

        public void moveRowRelative​(int rowsToMove)
        从接口复制的说明: ResultsetRows
        Moves the current position relative 'rows' from the current position.
        指定者:
        moveRowRelative 在接口中 ResultsetRows
        参数:
        rowsToMove - the relative number of rows to move
      • setCurrentRow

        public void setCurrentRow​(int newIndex)
        从接口复制的说明: ResultsetRows
        Moves the current position in the result set to the given row number.
        指定者:
        setCurrentRow 在接口中 ResultsetRows
        参数:
        newIndex - row to move to
      • size

        public int size()
        从接口复制的说明: RowList
        Only works on non dynamic row lists.
        指定者:
        size 在接口中 RowList
        返回:
        the size of this row list