Class CsvRawGridSource

java.lang.Object
edu.ie3.datamodel.io.source.csv.CsvDataSource
edu.ie3.datamodel.io.source.csv.CsvRawGridSource
All Implemented Interfaces:
DataSource, RawGridSource

public class CsvRawGridSource extends CsvDataSource implements RawGridSource
Source that provides the capability to build entities that are hold by a RawGridElements as well as the RawGridElements container from .csv files.

This source is not buffered which means each call on a getter method always tries to read all data is necessary to return the requested objects in a hierarchical cascading way.

If performance is an issue, it is recommended to read the data cascading starting with reading nodes and then using the getters with arguments to avoid reading the same data multiple times.

The resulting sets are always unique on object and UUID base (with distinct UUIDs).

Since:
03.04.20