mirror of https://github.com/apache/druid.git
Merge pull request #1975 from gianm/query-to-strings
Better toString for groupBy, segmentMetadata queries.
This commit is contained in:
commit
0fb7e4e040
|
@ -564,13 +564,15 @@ public class GroupByQuery extends BaseQuery<Row>
|
|||
public String toString()
|
||||
{
|
||||
return "GroupByQuery{" +
|
||||
"limitSpec=" + limitSpec +
|
||||
"dataSource='" + getDataSource() + '\'' +
|
||||
", querySegmentSpec=" + getQuerySegmentSpec() +
|
||||
", limitSpec=" + limitSpec +
|
||||
", dimFilter=" + dimFilter +
|
||||
", granularity=" + granularity +
|
||||
", dimensions=" + dimensions +
|
||||
", aggregatorSpecs=" + aggregatorSpecs +
|
||||
", postAggregatorSpecs=" + postAggregatorSpecs +
|
||||
", limitFn=" + limitFn +
|
||||
", havingSpec=" + havingSpec +
|
||||
'}';
|
||||
}
|
||||
|
||||
|
|
|
@ -223,6 +223,19 @@ public class SegmentMetadataQuery extends BaseQuery<SegmentAnalysis>
|
|||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "SegmentMetadataQuery{" +
|
||||
"dataSource='" + getDataSource() + '\'' +
|
||||
", querySegmentSpec=" + getQuerySegmentSpec() +
|
||||
", toInclude=" + toInclude +
|
||||
", merge=" + merge +
|
||||
", usingDefaultInterval=" + usingDefaultInterval +
|
||||
", analysisTypes=" + analysisTypes +
|
||||
'}';
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue