class TDefextends Source
Definition for a data source in a graph. @author Mathias Bogaert
  • Field Details

    • fetchData

      private final FetchData fetchData
      Fetch data
    • dsName

      private final String dsName
      Ds name
  • Constructor Details

    • TDef

      TDef(String name, String dsName, FetchData fetchData)
      Create a graph definition bound to one fetched datasource.
      Parameters:
      name - the name this source is published under
      dsName - the datasource name to read from the fetch result
      fetchData - the fetch result the datasource is read from
  • Method Details

    • requestData

      void requestData(DataProcessor dproc)
      Data processor to register the datasource with.
      Specified by:
      requestData in class Source
      Parameters:
      dproc - data processor to register the datasource with