Klasse TableData

java.lang.Object
com.inet.report.database.TableData
Alle implementierten Schnittstellen:
Closeable, AutoCloseable

public class TableData extends Object implements Closeable
This class is a container for tabularly data
Seit:
13.0
  • Konstruktordetails

    • TableData

      public TableData(String[] columns, Object[][] rows)
      Create a table data from columns and rows.
      Parameter:
      columns - the column names.
      rows - the value matrix.
      Seit:
      13.0
    • TableData

      public TableData(String[] columns, List<Object[]> rows)
      Create a table data from a columns and rows
      Parameter:
      columns - the column names.
      rows - the list of rows.
      Seit:
      13.1
    • TableData

      public TableData(List<String> columns, List<Object[]> rows)
      Create a table data from a columns and rows
      Parameter:
      columns - the column names.
      rows - the list of rows.
      Seit:
      13.0
    • TableData

      public TableData(@Nonnull ResultSet rs)
      Create a table data from a ResultSet
      Parameter:
      rs - the data
      Seit:
      13.0
  • Methodendetails

    • getData

      public @Nonnull ResultSet getData()
      ONLY FOR INTERNAL USE Get the data of this TableData.
      Gibt zurück:
      the data, never null
      Seit:
      13.0
    • close

      public void close()
      Closes the underlying result set and the corresponding statement if there is any.
      Angegeben von:
      close in Schnittstelle AutoCloseable
      Angegeben von:
      close in Schnittstelle Closeable
      Seit:
      15.0