Package edu.ie3.datamodel.io.naming
Class DatabaseNamingStrategy
java.lang.Object
edu.ie3.datamodel.io.naming.DatabaseNamingStrategy
A naming strategy for database entities
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTimeSeriesEntityName
(ColumnScheme columnScheme) Provides the name of a time series table given a column schemeProvides the String that all time series tables are prefixed with
-
Constructor Details
-
DatabaseNamingStrategy
public DatabaseNamingStrategy()
-
-
Method Details
-
getTimeSeriesPrefix
Provides the String that all time series tables are prefixed with- Returns:
- the time series prefix
-
getTimeSeriesEntityName
Provides the name of a time series table given a column scheme- Parameters:
columnScheme
- the column scheme of the source data- Returns:
- the table name
-