From 5e85fcc0f5444506957bd51600a855ca9d706fe9 Mon Sep 17 00:00:00 2001 From: Roman Leventov Date: Tue, 2 May 2017 20:22:02 +0300 Subject: [PATCH] Restore BaseQuery.computeOverridenContext() for compatibility (#4241) --- processing/src/main/java/io/druid/query/BaseQuery.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/processing/src/main/java/io/druid/query/BaseQuery.java b/processing/src/main/java/io/druid/query/BaseQuery.java index 7900474505f..9539a85b377 100644 --- a/processing/src/main/java/io/druid/query/BaseQuery.java +++ b/processing/src/main/java/io/druid/query/BaseQuery.java @@ -145,6 +145,16 @@ public abstract class BaseQuery> implements Query return QueryContexts.parseBoolean(this, key, defaultValue); } + /** + * @deprecated use {@link #computeOverriddenContext(Map, Map) computeOverriddenContext(getContext(), overrides))} + * instead. This method may be removed in the next minor or major version of Druid. + */ + @Deprecated + protected Map computeOverridenContext(final Map overrides) + { + return computeOverriddenContext(getContext(), overrides); + } + protected static Map computeOverriddenContext( final Map context, final Map overrides