mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
Cleaned the naming convention for the statistic to calculate in the UI
This commit is contained in:
1 parent
5957ea2610
commit
94b3812d1a
14 files changed
+29
-29
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ public interface QueryDefinition extends Serializable {
|
||||
|
||||
public List<FunctionDTO> getDimensionsToGroupBy();
|
||||
|
||||
public FunctionDTO getExtractionFunction();
|
||||
public FunctionDTO getStatisticToCalculate();
|
||||
|
||||
public AggregatorType getAggregatorType();
|
||||
|
||||
|
||||
+5
-5
@@ -16,7 +16,7 @@ public class QueryDefinitionImpl implements QueryDefinition {
|
||||
private String localeInfoName;
|
||||
private Map<FunctionDTO, Iterable<? extends Serializable>> filterSelection;
|
||||
private List<FunctionDTO> dimensionsToGroupBy;
|
||||
private FunctionDTO extractionFunction;
|
||||
private FunctionDTO statisticToCalculate;
|
||||
private AggregatorType aggregatorType;
|
||||
|
||||
/**
|
||||
@@ -25,11 +25,11 @@ public class QueryDefinitionImpl implements QueryDefinition {
|
||||
@Deprecated
|
||||
QueryDefinitionImpl() { }
|
||||
|
||||
public QueryDefinitionImpl(String localeInfoName, FunctionDTO extractionFunction, AggregatorType aggregatorType) {
|
||||
public QueryDefinitionImpl(String localeInfoName, FunctionDTO statisticToCalculate, AggregatorType aggregatorType) {
|
||||
this.localeInfoName = localeInfoName;
|
||||
this.filterSelection = new HashMap<FunctionDTO, Iterable<? extends Serializable>>();
|
||||
this.dimensionsToGroupBy = new ArrayList<FunctionDTO>();
|
||||
this.extractionFunction = extractionFunction;
|
||||
this.statisticToCalculate = statisticToCalculate;
|
||||
this.aggregatorType = aggregatorType;
|
||||
}
|
||||
|
||||
@@ -57,8 +57,8 @@ public class QueryDefinitionImpl implements QueryDefinition {
|
||||
}
|
||||
|
||||
@Override
|
||||
public FunctionDTO getExtractionFunction() {
|
||||
return extractionFunction;
|
||||
public FunctionDTO getStatisticToCalculate() {
|
||||
return statisticToCalculate;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user