mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-28 23:07:11 +00:00
Updated the GroupingProvider of the data mining UI
This commit is contained in:
1 parent
5cc0a2bd68
commit
5957ea2610
13 files changed
+98
-65
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ public interface QueryDefinitionDeprecated extends Serializable {
|
||||
|
||||
public AggregatorType getAggregatorType();
|
||||
|
||||
public List<DimensionIdentifier> getDimensionsToGroupBy();
|
||||
public List<FunctionDTO> getDimensionsToGroupBy();
|
||||
|
||||
public Map<DimensionIdentifier, Iterable<? extends Serializable>> getSelection();
|
||||
|
||||
|
||||
+4
-4
@@ -21,7 +21,7 @@ public class QueryDefinitionDeprecatedImpl implements QueryDefinitionDeprecated
|
||||
private GrouperType grouperType;
|
||||
private AggregatorType aggregatorType;
|
||||
|
||||
private List<DimensionIdentifier> dimensionsToGroupBy;
|
||||
private List<FunctionDTO> dimensionsToGroupBy;
|
||||
private Map<DimensionIdentifier, Iterable<? extends Serializable>> selectionMappedByDimension;
|
||||
|
||||
/**
|
||||
@@ -36,7 +36,7 @@ public class QueryDefinitionDeprecatedImpl implements QueryDefinitionDeprecated
|
||||
this.extractionFunction = extractionFunction;
|
||||
this.aggregatorType = aggregatorType;
|
||||
|
||||
dimensionsToGroupBy = new ArrayList<DimensionIdentifier>();
|
||||
dimensionsToGroupBy = new ArrayList<FunctionDTO>();
|
||||
selectionMappedByDimension = new HashMap<DimensionIdentifier, Iterable<? extends Serializable>>();
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ public class QueryDefinitionDeprecatedImpl implements QueryDefinitionDeprecated
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DimensionIdentifier> getDimensionsToGroupBy() {
|
||||
public List<FunctionDTO> getDimensionsToGroupBy() {
|
||||
return dimensionsToGroupBy;
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ public class QueryDefinitionDeprecatedImpl implements QueryDefinitionDeprecated
|
||||
return selectionMappedByDimension;
|
||||
}
|
||||
|
||||
public void appendDimensionToGroupBy(DimensionIdentifier dimension) {
|
||||
public void appendDimensionToGroupBy(FunctionDTO dimension) {
|
||||
dimensionsToGroupBy.add(dimension);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user