mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
Made the new query definition serializable
This commit is contained in:
1 parent
862c03de0e
commit
4977dd4a23
2 files changed
+14
-7
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ import java.util.Map;
|
||||
import com.sap.sse.datamining.shared.components.AggregatorType;
|
||||
import com.sap.sse.datamining.shared.dto.FunctionDTO;
|
||||
|
||||
public interface QueryDefinition {
|
||||
public interface QueryDefinition extends Serializable {
|
||||
|
||||
public String getLocaleInfoName();
|
||||
|
||||
|
||||
+13
-6
@@ -11,12 +11,19 @@ import com.sap.sse.datamining.shared.components.AggregatorType;
|
||||
import com.sap.sse.datamining.shared.dto.FunctionDTO;
|
||||
|
||||
public class QueryDefinitionImpl implements QueryDefinition {
|
||||
|
||||
private final String localeInfoName;
|
||||
private final Map<FunctionDTO, Iterable<? extends Serializable>> filterSelection;
|
||||
private final List<FunctionDTO> dimensionsToGroupBy;
|
||||
private final FunctionDTO extractionFunction;
|
||||
private final AggregatorType aggregatorType;
|
||||
private static final long serialVersionUID = -6438771277564908352L;
|
||||
|
||||
private String localeInfoName;
|
||||
private Map<FunctionDTO, Iterable<? extends Serializable>> filterSelection;
|
||||
private List<FunctionDTO> dimensionsToGroupBy;
|
||||
private FunctionDTO extractionFunction;
|
||||
private AggregatorType aggregatorType;
|
||||
|
||||
/**
|
||||
* <b>Constructor for the GWT-Serialization. Don't use this!</b>
|
||||
*/
|
||||
@Deprecated
|
||||
QueryDefinitionImpl() { }
|
||||
|
||||
public QueryDefinitionImpl(String localeInfoName, FunctionDTO extractionFunction, AggregatorType aggregatorType) {
|
||||
this.localeInfoName = localeInfoName;
|
||||
|
||||
Reference in new issue
Block a user