Class ResultSet

java.lang.Object
dev.frostlake.storage.ResultSet

public class ResultSet extends Object
  • Constructor Details

  • Method Details

    • getColumns

      public List<ResultSetColumn> getColumns()
    • getRows

      public List<Row> getRows()
    • addRow

      public void addRow(Row row)
    • next

      public boolean next()
    • getValue

      public Object getValue(int columnIndex)
    • getValue

      public Object getValue(String columnName)
    • getColumnIndex

      public int getColumnIndex(String columnName)
    • getRowCount

      public int getRowCount()
    • getColumnCount

      public int getColumnCount()
    • reset

      public void reset()
    • getUpdateCount

      public Long getUpdateCount()
      The affected-row count when this result is a DML statement's count grid, else null.
    • markUpdateCount

      public ResultSet markUpdateCount(long count)
      Mark this result as a DML statement's count grid reporting count affected rows.
      Parameters:
      count - the affected-row total
      Returns:
      this result
    • getRelationStatistics

      public RelationStatistics getRelationStatistics()
      The statistics this result carries of the catalog table beneath it, or null.
    • setRelationStatistics

      public void setRelationStatistics(RelationStatistics relationStatistics)