diff --git a/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceBackendQuery.java b/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceBackendQuery.java index 268a7f1..47d1e8d 100644 --- a/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceBackendQuery.java +++ b/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceBackendQuery.java @@ -72,7 +72,7 @@ public interface AccountingPersistenceBackendQuery { * If the list contains more than one filter with the same key an Exception is thrown * when trying to query. */ - public void setFilters(Set filters); + public void setFilters(List filters); /** * Query the persistence obtaining a Map where the date is the key and the diff --git a/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceQuery.java b/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceQuery.java index 4ed96cd..7e92130 100644 --- a/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceQuery.java +++ b/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceQuery.java @@ -60,7 +60,7 @@ public class AccountingPersistenceQuery implements AccountingPersistenceBackendQ protected TemporalConstraint temporalConstraint; protected Set contexts; - protected Set filters; + protected List filters; protected ObjectMapper objectMapper; @@ -90,7 +90,7 @@ public class AccountingPersistenceQuery implements AccountingPersistenceBackendQ } @Override - public void setFilters(Set filters) { + public void setFilters(List filters) { this.filters = filters; accountingPersistenceBackendQuery.setFilters(filters); }