Skip to content

Commit

Permalink
remove toMap, building the query manually as there are too many custo…
Browse files Browse the repository at this point in the history
…m cases. #528
  • Loading branch information
julie-sullivan committed Feb 25, 2020
1 parent 3b77e97 commit 080ead7
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.opencb.commons.datastore.core.ObjectMap;
import org.opencb.commons.datastore.core.Query;
import org.opencb.commons.datastore.core.QueryOptions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.*;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public abstract class AbstractQuery extends org.opencb.cellbase.core.api.queries.QueryOptions {

Expand Down Expand Up @@ -171,9 +173,4 @@ public QueryOptions toQueryOptions() {
queryOptions.put(QueryOptions.FACET, facet);
return queryOptions;
}

// temporary method because java commons still uses query
public Query toQuery() {
return new Query();
}
}

0 comments on commit 080ead7

Please sign in to comment.