Class SqlTimeSeriesSource<V extends Value>

java.lang.Object
edu.ie3.datamodel.io.source.sql.SqlDataSource<TimeBasedValue<V>>
edu.ie3.datamodel.io.source.sql.SqlTimeSeriesSource<V>
All Implemented Interfaces:
DataSource, TimeSeriesSource<V>

public class SqlTimeSeriesSource<V extends Value> extends SqlDataSource<TimeBasedValue<V>> implements TimeSeriesSource<V>
  • Constructor Details

    • SqlTimeSeriesSource

      public SqlTimeSeriesSource(SqlConnector connector, String schemaName, DatabaseNamingStrategy namingStrategy, UUID timeSeriesUuid, Class<V> valueClass, TimeBasedSimpleValueFactory<V> factory)
      Initializes a new SqlTimeSeriesSource
      Parameters:
      connector - the connector needed for database connection
      schemaName - the database schema to use
      namingStrategy - the naming strategy for database entities
      timeSeriesUuid - the uuid of the time series
      valueClass - the class of returned time series values
      factory - a factory that parses the input data
  • Method Details