Interface DataSet

All Known Implementing Classes:
AbstractDataSet, AggregateDataSet, NonAggregateDataSet

public interface DataSet
Records data from DataSources and passes that data to DataSinks.
Author:
Nick Collier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this DataSet.
    void
    Notifies the sinks associated with this DataSet to flush their buffered data (if any).
    Gets the id of this DataSet.
    Gets the type of object that this dataset will collect data from.
    void
    Initializes this DataSet.
    void
    Records data from the specified ObjectListMap of objects.
    Gets the sinks associated with this DataSet.
  • Method Details

    • getId

      String getId()
      Gets the id of this DataSet.
      Returns:
      the id of this DataSet.
    • getSourceTypes

      Iterable<Class<?>> getSourceTypes()
      Gets the type of object that this dataset will collect data from.
      Returns:
    • sinks

      Iterable<DataSink> sinks()
      Gets the sinks associated with this DataSet.
      Returns:
      the sinks associated with this DataSet.
    • init

      void init()
      Initializes this DataSet.
    • record

      void record(Map<Class<?>,SizedIterable<?>> objs)
      Records data from the specified ObjectListMap of objects.
      Parameters:
      objs - the objs to record the data from
    • flush

      void flush()
      Notifies the sinks associated with this DataSet to flush their buffered data (if any).
    • close

      void close()
      Closes this DataSet.