Package org.nuclos.api.datasource
Interface DatasourceResult
public interface DatasourceResult
Represents a resultset received by DatasourceProvider after executing a
datasource-query
- Author:
- Matthias Reichart
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns a list of all columns the datasource-query contains.getRows()
This method returns all results of a datasource query.
-
Method Details
-
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 typeDatasourceColumn
providing general column information like classtype, label and name. Use this information to cast the content of a resultset retrieved by getRows().- Returns:
- columns
-