From f5dab1a4c168a4b735da7d58230967f2c93fb3f4 Mon Sep 17 00:00:00 2001 From: fjy Date: Tue, 7 May 2013 09:31:07 -0700 Subject: [PATCH] add to string for groupby --- .../com/metamx/druid/query/group/GroupByQuery.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/client/src/main/java/com/metamx/druid/query/group/GroupByQuery.java b/client/src/main/java/com/metamx/druid/query/group/GroupByQuery.java index 422f9145c94..200e207b867 100644 --- a/client/src/main/java/com/metamx/druid/query/group/GroupByQuery.java +++ b/client/src/main/java/com/metamx/druid/query/group/GroupByQuery.java @@ -379,4 +379,18 @@ public class GroupByQuery extends BaseQuery ); } } + + @Override + public String toString() + { + return "GroupByQuery{" + + "limitSpec=" + limitSpec + + ", dimFilter=" + dimFilter + + ", granularity=" + granularity + + ", dimensions=" + dimensions + + ", aggregatorSpecs=" + aggregatorSpecs + + ", postAggregatorSpecs=" + postAggregatorSpecs + + ", orderByLimitFn=" + orderByLimitFn + + '}'; + } }