Package dev.frostlake.storage
Class ResultSet
java.lang.Object
dev.frostlake.storage.ResultSet
-
Constructor Summary
ConstructorsConstructorDescriptionResultSet(List<ResultSetColumn> columns) ResultSet(List<ResultSetColumn> columns, List<Row> rows) -
Method Summary
Modifier and TypeMethodDescriptionvoidintintgetColumnIndex(String columnName) The statistics this result carries of the catalog table beneath it, or null.intgetRows()The affected-row count when this result is a DML statement's count grid, else null.getValue(int columnIndex) markUpdateCount(long count) Mark this result as a DML statement's count grid reportingcountaffected rows.booleannext()voidreset()voidsetRelationStatistics(RelationStatistics relationStatistics)
-
Constructor Details
-
ResultSet
-
ResultSet
-
-
Method Details
-
getColumns
-
getRows
-
addRow
-
next
public boolean next() -
getValue
-
getValue
-
getColumnIndex
-
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
reset
public void reset() -
getUpdateCount
The affected-row count when this result is a DML statement's count grid, else null. -
markUpdateCount
Mark this result as a DML statement's count grid reportingcountaffected rows.- Parameters:
count- the affected-row total- Returns:
- this result
-
getRelationStatistics
The statistics this result carries of the catalog table beneath it, or null. -
setRelationStatistics
-