public class QueryRunnerHelper extends Object
Constructor and Description |
---|
QueryRunnerHelper() |
Modifier and Type | Method and Description |
---|---|
static Aggregator[] |
makeAggregators(Cursor cursor,
List<AggregatorFactory> aggregatorSpecs) |
static <T> com.metamx.common.guava.Sequence<Result<T>> |
makeCursorBasedQuery(StorageAdapter adapter,
List<org.joda.time.Interval> queryIntervals,
Filter filter,
QueryGranularity granularity,
com.google.common.base.Function<Cursor,Result<T>> mapFn) |
public static Aggregator[] makeAggregators(Cursor cursor, List<AggregatorFactory> aggregatorSpecs)
public static <T> com.metamx.common.guava.Sequence<Result<T>> makeCursorBasedQuery(StorageAdapter adapter, List<org.joda.time.Interval> queryIntervals, Filter filter, QueryGranularity granularity, com.google.common.base.Function<Cursor,Result<T>> mapFn)
Copyright © 2011–2015. All rights reserved.