public interface WindowAggregationService
DataQuery
or DevicePropertyDataQuery
.Variable
,
Entity
,
WindowAggregationProperties
,
AggregationFunctions
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> |
getData(Entity entity,
WindowAggregationProperties properties)
Returns a dataset where each row contains an aggregated entity data point on fixed, distinct timestamp.
|
org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> |
getData(Variable variable,
WindowAggregationProperties properties)
Returns a dataset where each row contains an aggregated variable data point on fixed, distinct timestamp.
|
org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> getData(Variable variable, WindowAggregationProperties properties)
variable
- an instance of Variable
pointing to raw data for the extractionproperties
- the aggregation properties containing all semantics to control the actionorg.apache.spark.sql.Dataset<org.apache.spark.sql.Row> getData(Entity entity, WindowAggregationProperties properties)
entity
- an instance of Entity
pointing to raw data for the extractionproperties
- the aggregation properties containing all semantics to control the action