-
Notifications
You must be signed in to change notification settings - Fork 6
Migration guide v2.3.0
Nicolas Rol edited this page Apr 29, 2024
·
3 revisions
The class FileSystemTimeseriesStore
has been renamed FileSystemTimeSeriesStore
.
The method FileSystemTimeSeriesStore.importTimeSeries(List, int, boolean, boolean)
is now deprecated. You should instead use FileSystemTimeSeriesStore.importTimeSeries(List, int, ExistingFiles)
.
Due to the parameters being moved from the methods to the constructor, users have to modify:
TimeSeriesMapper mapper = new TimeSeriesMapper(config, network, logger);
TimeSeriesMapperParameters parameters = new TimeSeriesMapperParameters(store.getTimeSeriesDataVersions(), range, true, true, false, mappingParameters.getToleranceThreshold());
mapper.mapToNetwork(store, parameters, observers);
to:
TimeSeriesMapperParameters parameters = new TimeSeriesMapperParameters(store.getTimeSeriesDataVersions(), range, true, true, false, mappingParameters.getToleranceThreshold());
TimeSeriesMapper mapper = new TimeSeriesMapper(config, parameters, network, logger);
mapper.mapToNetwork(store, observers);