Class CmsSqlConsoleResults
java.lang.Object
org.opencms.ui.apps.dbmanager.sqlconsole.CmsSqlConsoleResults
Class for storing query results.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the column names.Class<?>
getColumnType
(int c) Gets the type to use for the Vaadin table column corresponding to the c-th column in this result.getCsv()
Converts the results to CSV data.getData()
Gets the row data
-
Constructor Details
-
CmsSqlConsoleResults
Creates a new instance.- Parameters:
columns
- the column namesdata
- the row data
-
-
Method Details
-
getColumns
Gets the column names.- Returns:
- the list of column names
-
getColumnType
Gets the type to use for the Vaadin table column corresponding to the c-th column in this result.- Parameters:
c
- the column index- Returns:
- the class to use for the c-th Vaadin table column
-
getCsv
Converts the results to CSV data.- Returns:
- the CSV data
-
getData
Gets the row data- Returns:
- the row data
-