public class QueryResult extends Object
| Constructor and Description |
|---|
QueryResult(List<String> columnNames,
String tableName)
WARNING: Constructor only needed for testing
|
QueryResult(ResultSet resultSet) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(DataRow row) |
boolean |
isEmpty() |
boolean |
sameVariableNames(DataRow row) |
List<DataRow> |
seeRows() |
int |
size() |
QueryResultDto |
toDto() |
String |
toString() |
public QueryResult(List<String> columnNames, String tableName)
columnNames - name of columnstableName - name of table the columns belongs topublic QueryResult(ResultSet resultSet)
public void addRow(DataRow row)
public boolean sameVariableNames(DataRow row)
public boolean isEmpty()
public int size()
public QueryResultDto toDto()
Copyright © 2016–2024. All rights reserved.