Interface IDataSetResult


public interface IDataSetResult
A read-only cursor over the rows of a data set opened from script via
invalid reference
IReportContext#openDataSet(String)
.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Release the underlying result set.
    getString(String columnName)
    Get the value of a column in the current row as a string.
    getValue(String columnName)
    Get the value of a column in the current row.
    boolean
    Move to the next row.
  • Method Details

    • next

      boolean next() throws ScriptException, org.eclipse.birt.core.exception.BirtException
      Move to the next row.
      Returns:
      true if a row is available
      Throws:
      ScriptException
      org.eclipse.birt.core.exception.BirtException
    • getValue

      Object getValue(String columnName) throws ScriptException, org.eclipse.birt.core.exception.BirtException
      Get the value of a column in the current row.
      Parameters:
      columnName - the column name
      Returns:
      the value, or null
      Throws:
      ScriptException
      org.eclipse.birt.core.exception.BirtException
    • getString

      String getString(String columnName) throws ScriptException, org.eclipse.birt.core.exception.BirtException
      Get the value of a column in the current row as a string.
      Parameters:
      columnName - the column name
      Returns:
      the value as a string, or null
      Throws:
      ScriptException
      org.eclipse.birt.core.exception.BirtException
    • close

      void close() throws ScriptException, org.eclipse.birt.core.exception.BirtException
      Release the underlying result set.
      Throws:
      ScriptException
      org.eclipse.birt.core.exception.BirtException