As part of the refactoring and integration of the Data Lake REST API into the Data Explorer, the return type of Data Lake queries needs to be harmonized.
Status Quo
org.apache.streampipes.model.datalake | ui/src/app/core-model/datalake
Data Result
The return type for simple queries without grouping or paging is a DataResult object.
Data Result
DataResult { measureName: string; total: number; headers: string[]; rows: any[]; labels: string[]; }
Note: "labels" is not used in the entire project and is therefore obsolete.
Grouped Data Result
The return type for queries with grouping is a GroupedDataResult object.
Grouped Data Result
GroupedDataResult { total: number; dataResults: Map<string, DataResult>; }
Page Result
The return type for queries with paging is a PageResult object, that inherits from DataResult class.
Grouped Data Result
GroupedDataResult { total: number; dataResults: Map<string, DataResult>; }