mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
Introduced a QueryDefinition (previous one is now QueryDefinitionDTO)
This commit is contained in:
1 parent
563ac4077a
commit
c92edc74be
27 files changed
+241
-59
No files matched your search
+4
-4
@@ -9,16 +9,16 @@ import com.sap.sse.datamining.shared.components.AggregatorType;
|
||||
import com.sap.sse.datamining.shared.dto.FunctionDTO;
|
||||
import com.sap.sse.datamining.shared.impl.dto.DataRetrieverChainDefinitionDTO;
|
||||
|
||||
public interface QueryDefinition extends Serializable {
|
||||
public interface QueryDefinitionDTO extends Serializable {
|
||||
|
||||
public String getLocaleInfoName();
|
||||
|
||||
public FunctionDTO getStatisticToCalculate();
|
||||
public AggregatorType getAggregatorType();
|
||||
|
||||
public DataRetrieverChainDefinitionDTO getDataRetrieverChainDefinition();
|
||||
public Map<Integer, Map<FunctionDTO, Collection<? extends Serializable>>> getFilterSelection();
|
||||
|
||||
public List<FunctionDTO> getDimensionsToGroupBy();
|
||||
|
||||
public FunctionDTO getStatisticToCalculate();
|
||||
public AggregatorType getAggregatorType();
|
||||
|
||||
}
|
||||
+4
-4
@@ -7,12 +7,12 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.sap.sse.datamining.shared.QueryDefinition;
|
||||
import com.sap.sse.datamining.shared.QueryDefinitionDTO;
|
||||
import com.sap.sse.datamining.shared.components.AggregatorType;
|
||||
import com.sap.sse.datamining.shared.dto.FunctionDTO;
|
||||
import com.sap.sse.datamining.shared.impl.dto.DataRetrieverChainDefinitionDTO;
|
||||
|
||||
public class QueryDefinitionImpl implements QueryDefinition {
|
||||
public class QueryDefinitionDTOImpl implements QueryDefinitionDTO {
|
||||
private static final long serialVersionUID = -6438771277564908352L;
|
||||
|
||||
private String localeInfoName;
|
||||
@@ -26,9 +26,9 @@ public class QueryDefinitionImpl implements QueryDefinition {
|
||||
* <b>Constructor for the GWT-Serialization. Don't use this!</b>
|
||||
*/
|
||||
@Deprecated
|
||||
QueryDefinitionImpl() { }
|
||||
QueryDefinitionDTOImpl() { }
|
||||
|
||||
public QueryDefinitionImpl(String localeInfoName, FunctionDTO statisticToCalculate, AggregatorType aggregatorType, DataRetrieverChainDefinitionDTO dataRetrieverChainDefinition) {
|
||||
public QueryDefinitionDTOImpl(String localeInfoName, FunctionDTO statisticToCalculate, AggregatorType aggregatorType, DataRetrieverChainDefinitionDTO dataRetrieverChainDefinition) {
|
||||
this.localeInfoName = localeInfoName;
|
||||
this.statisticToCalculate = statisticToCalculate;
|
||||
this.aggregatorType = aggregatorType;
|
||||
Reference in new issue
Block a user