Interface IScriptedDataSetEventHandler

    • Method Detail

      • fetch

        boolean fetch​(IDataSetInstance dataSet,
                      IUpdatableDataSetRow row)
               throws ScriptException
        Handle the fetch event. Implementation should call methods on the row object to set data of the current row being fetched.
        Returns:
        true if current data row has been populated. false if the last call to fetch has returned the last data row, and no more data is available.
        Throws:
        ScriptException
      • describe

        boolean describe​(IDataSetInstance dataSet,
                         IScriptedDataSetMetaData metaData)
                  throws ScriptException
        Method for Script Data Set to return dynamically generated data set metadata. This method is called before the open event is fired. If the data set implementation has dynamically generated metadata, it should call the addColumn method on the metaData object to add all its column definition, then return true. If the data set implementation uses the static metadata defined in the data set design , it should return false.
        Throws:
        ScriptException