public static class GroupByQuery.Builder extends Object
Constructor and Description |
---|
GroupByQuery.Builder() |
GroupByQuery.Builder(GroupByQuery.Builder builder) |
GroupByQuery.Builder(GroupByQuery query) |
public GroupByQuery.Builder()
public GroupByQuery.Builder(GroupByQuery query)
public GroupByQuery.Builder(GroupByQuery.Builder builder)
public GroupByQuery.Builder setDataSource(DataSource dataSource)
public GroupByQuery.Builder setDataSource(String dataSource)
public GroupByQuery.Builder setDataSource(Query query)
public GroupByQuery.Builder setInterval(QuerySegmentSpec interval)
public GroupByQuery.Builder setInterval(List<org.joda.time.Interval> intervals)
public GroupByQuery.Builder setInterval(org.joda.time.Interval interval)
public GroupByQuery.Builder setInterval(String interval)
public GroupByQuery.Builder limit(int limit)
public GroupByQuery.Builder addOrderByColumn(String dimension)
public GroupByQuery.Builder addOrderByColumn(String dimension, String direction)
public GroupByQuery.Builder addOrderByColumn(String dimension, OrderByColumnSpec.Direction direction)
public GroupByQuery.Builder addOrderByColumn(OrderByColumnSpec columnSpec)
public GroupByQuery.Builder setLimitSpec(LimitSpec limitSpec)
public GroupByQuery.Builder setQuerySegmentSpec(QuerySegmentSpec querySegmentSpec)
public GroupByQuery.Builder setDimFilter(DimFilter dimFilter)
public GroupByQuery.Builder setGranularity(QueryGranularity granularity)
public GroupByQuery.Builder addDimension(String column)
public GroupByQuery.Builder addDimension(String column, String outputName)
public GroupByQuery.Builder addDimension(DimensionSpec dimension)
public GroupByQuery.Builder setDimensions(List<DimensionSpec> dimensions)
public GroupByQuery.Builder addAggregator(AggregatorFactory aggregator)
public GroupByQuery.Builder setAggregatorSpecs(List<AggregatorFactory> aggregatorSpecs)
public GroupByQuery.Builder addPostAggregator(PostAggregator postAgg)
public GroupByQuery.Builder setPostAggregatorSpecs(List<PostAggregator> postAggregatorSpecs)
public GroupByQuery.Builder setContext(Map<String,Object> context)
public GroupByQuery.Builder setHavingSpec(HavingSpec havingSpec)
public GroupByQuery.Builder setLimit(Integer limit)
public GroupByQuery.Builder copy()
public GroupByQuery build()
Copyright © 2011–2015. All rights reserved.