-
Notifications
You must be signed in to change notification settings - Fork 5
Refactoring TimeSeriesTypeSource
and cleaning up CsvFileConnector
#566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
danielfeismann
merged 17 commits into
dev
from
sp/#565-restructure-timeseries-meta-information
Jul 31, 2022
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
d01bda5
Refactoring TimeSeriesTypeSource to TimeSeriesMetaInformationSource
sebastian-peter 3b09288
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter 0ee55fc
Cleaning up CsvFileConnector and friends regarding time series meta i…
sebastian-peter dae2b16
Adapting CHANGELOG.md
sebastian-peter 3214828
Adding comments to SQL schemata
sebastian-peter 8da958f
Improving comment in test SQL files
sebastian-peter 3912107
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter c388589
Removing deprecated SQL test files
sebastian-peter 36f065b
Adapting CsvFileConnectorTest because resource has been moved
sebastian-peter 165914a
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter 5faa8b2
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter 6648fea
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter 191b088
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter 57a0747
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter a4b4b65
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter 4a9ee65
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
sebastian-peter 37db9b0
Merge branch 'dev' into sp/#565-restructure-timeseries-meta-information
danielfeismann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/main/java/edu/ie3/datamodel/io/source/TimeSeriesMetaInformationSource.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* © 2022. TU Dortmund University, | ||
* Institute of Energy Systems, Energy Efficiency and Energy Economics, | ||
* Research group Distribution grid planning and operation | ||
*/ | ||
package edu.ie3.datamodel.io.source; | ||
|
||
import edu.ie3.datamodel.io.naming.timeseries.ColumnScheme; | ||
import edu.ie3.datamodel.io.naming.timeseries.IndividualTimeSeriesMetaInformation; | ||
import java.util.Map; | ||
import java.util.Optional; | ||
import java.util.UUID; | ||
|
||
/** Source for all available time series with their {@link UUID} and {@link ColumnScheme} */ | ||
public interface TimeSeriesMetaInformationSource extends DataSource { | ||
|
||
/** | ||
* Get a mapping from time series {@link UUID} to its meta information {@link | ||
* IndividualTimeSeriesMetaInformation} | ||
* | ||
* @return that mapping | ||
*/ | ||
Map<UUID, IndividualTimeSeriesMetaInformation> getTimeSeriesMetaInformation(); | ||
|
||
/** | ||
* Get an option on the given time series meta information | ||
* | ||
* @param timeSeriesUuid Unique identifier of the time series in question | ||
* @return An Option on the meta information | ||
*/ | ||
Optional<IndividualTimeSeriesMetaInformation> getTimeSeriesMetaInformation(UUID timeSeriesUuid); | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.