Package com.inet.report.database
Class TableData
java.lang.Object
com.inet.report.database.TableData
- All Implemented Interfaces:
Closeable
,AutoCloseable
This class is a container for tabularly data
- Since:
- 13.0
-
Constructor Summary
ConstructorDescriptionCreate a table data from a ResultSetCreate a table data from columns and rows.Create a table data from a columns and rowsCreate a table data from a columns and rows -
Method Summary
-
Constructor Details
-
TableData
Create a table data from columns and rows.- Parameters:
columns
- the column names.rows
- the value matrix.- Since:
- 13.0
-
TableData
Create a table data from a columns and rows- Parameters:
columns
- the column names.rows
- the list of rows.- Since:
- 13.1
-
TableData
Create a table data from a columns and rows- Parameters:
columns
- the column names.rows
- the list of rows.- Since:
- 13.0
-
TableData
Create a table data from a ResultSet- Parameters:
rs
- the data- Since:
- 13.0
-
-
Method Details
-
getData
ONLY FOR INTERNAL USE Get the data of this TableData.- Returns:
- the data, never null
- Since:
- 13.0
-
close
public void close()Closes the underlying result set and the corresponding statement if there is any.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Since:
- 15.0
-