Interface DataExporter<T>

  • Type Parameters:
    T - the type this data exporter handles.

    public interface DataExporter<T>
    Implement this interface to create a data set exporter that will handle objects of a specific type. A data exporter must be marked with a DataSet annotation to be recognized.
    • Method Detail

      • exportData

        Stream<T> exportData()
        This method is called by SEED to export data handled by this exporter. A lazy iterator of all data to export should be returned.
        Returns:
        the stream of all data to export.
      • getExportedClass

        Class<T> getExportedClass()
        Returns the data class managed by the exporter.
        Returns:
        the data class.