Interface DatasourceResult


public interface DatasourceResult
Represents a resultset received by DatasourceProvider after executing a datasource-query
Author:
Matthias Reichart
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns a list of all columns the datasource-query contains.
    This method returns all results of a datasource query.
  • Method Details

    • getRows

      List<Object[]> getRows()
      This method returns all results of a datasource query. Each resultset is an object array that contains the content of all columns. Use getColumns() to determine which type a column is of and use it to access columns data in a type-safe way.
      Returns:
      rows
    • getColumns

      List<DatasourceColumn> getColumns()
      This method returns a list of all columns the datasource-query contains. Every column is of type DatasourceColumn providing general column information like classtype, label and name. Use this information to cast the content of a resultset retrieved by getRows().
      Returns:
      columns