/** * Sets {@link Query#getIntervals()} of the given query as dimension. */ @PublicApi void interval(QueryType query);
/** * Sets the number of metrics of the given timeseries query as dimension. */ @PublicApi void numMetrics(TimeseriesQuery query);
/** */ @PublicApi public interface MetricManipulationFn { Object manipulate(AggregatorFactory factory, Object object); }
@PublicApi public interface Provisioner { boolean doTerminate(); boolean doProvision(); ScalingStats getStats(); }
/** * Sets {@link TopNQuery#getThreshold()} of the given query as dimension. */ @PublicApi void threshold(TopNQuery query);
/** * Sets {@link TopNQuery#getDimensionSpec()}.{@link io.druid.query.dimension.DimensionSpec#getDimension() * getDimension()} of the given query as dimension. */ @PublicApi void dimension(TopNQuery query);
/** * Sets the number of metrics of the given topN query as dimension. */ @PublicApi void numMetrics(TopNQuery query);
/** * Sets the granularity of {@link TopNQuery#getGranularity()} of the given query as dimension. */ @PublicApi void granularity(TopNQuery query);
/** * This method is called exactly once with each cursor, processed for the query. */ @PublicApi void cursor(Cursor cursor);
/** * Sets {@link Query#getDataSource()} of the given query as dimension. */ @PublicApi void dataSource(QueryType query);
/** * Sets {@link Query#hasFilters()} of the given query as dimension. */ @PublicApi void hasFilters(QueryType query);
/** * Sets the number of "complex" metrics of the given timeseries query as dimension. By default it is assumed that * "complex" metric is a metric of not long or double type, but it could be redefined in the implementation of this * method. */ @PublicApi void numComplexMetrics(TimeseriesQuery query);
/** * Called with the number of rows, processed via each cursor, processed for the query within the segment. The total * number of processed rows, reported via this method for a TopNQueryMetrics instance, is smaller or equal to * {@link #reportPreFilteredRows(long)}, because {@link #postFilters} are additionally applied. If there * are no postFilters, preFilteredRows and processedRows are equal. */ @PublicApi TopNQueryMetrics addProcessedRows(long numRows);
/** * Sets {@link Query#getType()} of the given query as dimension. */ @PublicApi void queryType(QueryType query);
/** * Sets {@link Query#getId()} of the given query as dimension. */ @PublicApi void queryId(QueryType query);
/** * Sets the granularity of {@link TimeseriesQuery#getGranularity()} of the given query as dimension. */ @PublicApi void granularity(TimeseriesQuery query); }
/** * Sets the size of {@link GroupByQuery#getDimensions()} of the given query as dimension. */ @PublicApi void numDimensions(GroupByQuery query);
/** * Sets the number of metrics of the given groupBy query as dimension. */ @PublicApi void numMetrics(GroupByQuery query);
/** * Sets the granularity of {@link GroupByQuery#getGranularity()} of the given query as dimension. */ @PublicApi void granularity(GroupByQuery query); }
@PublicApi public static LargeColumnSupportedComplexColumnSerializer create( SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, ObjectStrategy strategy ) { return new LargeColumnSupportedComplexColumnSerializer(segmentWriteOutMedium, filenameBase, strategy); }