Modifier and Type | Field and Description |
---|---|
static PostAggregation |
AggregationAverageMaker.COUNT_FIELD_OUTER |
static PostAggregation |
AggregationAverageMaker.COUNT_INNER |
Modifier and Type | Method and Description |
---|---|
protected static PostAggregation |
MetricMaker.getNumericField(MetricField field)
Prepare a post aggregation for a field expecting a numeric value.
|
protected PostAggregation |
MetricMaker.getNumericField(String fieldName)
Deprecated.
use the static version
MetricMaker.getNumericField(MetricField) by preference |
protected static PostAggregation |
MetricMaker.getSketchField(MetricField field)
Prepare a post aggregation for a field expecting a sketch value.
|
protected PostAggregation |
MetricMaker.getSketchField(String fieldName)
Deprecated.
use the static version
MetricMaker.getSketchField(MetricField) by preference |
Modifier and Type | Method and Description |
---|---|
Set<PostAggregation> |
TemplateDruidQuery.getPostAggregations() |
Modifier and Type | Method and Description |
---|---|
TemplateDruidQuery |
TemplateDruidQuery.withPostAggregations(Collection<PostAggregation> newPostAggregations)
Makes a copy of the template query and any sub query(s), changing post-aggregations.
|
Constructor and Description |
---|
TemplateDruidQuery(Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations)
Template Query constructor for a non nested template query.
|
TemplateDruidQuery(Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
TemplateDruidQuery nestedQuery)
Template Query constructor for a nested template query.
|
TemplateDruidQuery(Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
TemplateDruidQuery nestedQuery,
ZonelessTimeGrain timeGrain)
Template Query constructor for a nested template query with a bound time grain.
|
TemplateDruidQuery(Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
ZonelessTimeGrain timeGrain)
Template Query constructor for a non nested template query with a bound time grain.
|
Constructor and Description |
---|
OrderByColumn(PostAggregation postAggregation,
SortDirection direction)
Constructor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
WithFields<T extends PostAggregation>
An Interface to getFields from a PostAggregation and return a PosAggregation constructed from the given fields.
|
Modifier and Type | Class and Description |
---|---|
class |
ArithmeticPostAggregation
Model representing arithmetic post aggregations.
|
class |
ConstantPostAggregation
Model representing post aggregations with a constant value.
|
class |
FieldAccessorPostAggregation
Model representing lookups of aggregation values.
|
class |
FuzzySetPostAggregation
Model representing post aggregation numeric estimates from sketches.
|
class |
SketchEstimatePostAggregation
Deprecated.
To consider the latest version of sketch Library.
This class is replaced by ThetaSketchEstimatePostAggregation class
|
class |
SketchSetOperationPostAggregation
Deprecated.
To consider the latest version of sketch Library.
This class is replaced by ThetaSketchSetOperationPostAggregation class
|
class |
ThetaSketchEstimatePostAggregation
Model representing post aggregation numeric estimates from sketches.
|
class |
ThetaSketchSetOperationPostAggregation
Model representing a post aggregation of sketch set operations.
|
Modifier and Type | Field and Description |
---|---|
protected PostAggregation |
FuzzySetPostAggregation.field |
Modifier and Type | Method and Description |
---|---|
PostAggregation |
FuzzySetPostAggregation.getField() |
abstract PostAggregation |
PostAggregation.withName(String name)
Get a new instance of this PostAggregation with the given name.
|
Modifier and Type | Method and Description |
---|---|
List<PostAggregation> |
ArithmeticPostAggregation.getFields() |
List<PostAggregation> |
WithFields.getFields()
An interface method to get all the post aggregation fields.
|
List<PostAggregation> |
ThetaSketchSetOperationPostAggregation.getFields() |
List<PostAggregation> |
FuzzySetPostAggregation.getFields() |
List<PostAggregation> |
SketchSetOperationPostAggregation.getFields()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SketchEstimatePostAggregation |
SketchEstimatePostAggregation.withField(PostAggregation field)
Deprecated.
|
ThetaSketchEstimatePostAggregation |
ThetaSketchEstimatePostAggregation.withField(PostAggregation field) |
abstract FuzzySetPostAggregation |
FuzzySetPostAggregation.withField(PostAggregation field)
Creates a new FuzzySetPostAggregation with the provided field.
|
Modifier and Type | Method and Description |
---|---|
ArithmeticPostAggregation |
ArithmeticPostAggregation.withFields(List<PostAggregation> fields) |
T |
WithFields.withFields(List<PostAggregation> fields)
withFields provides new instance of respective class created from fields.
|
SketchEstimatePostAggregation |
SketchEstimatePostAggregation.withFields(List<PostAggregation> fields)
Deprecated.
SketchEstimate converts the sketch into a number.
|
ThetaSketchSetOperationPostAggregation |
ThetaSketchSetOperationPostAggregation.withFields(List<PostAggregation> fields)
Get a new instance of this PostAggregation with the given fields.
|
ThetaSketchEstimatePostAggregation |
ThetaSketchEstimatePostAggregation.withFields(List<PostAggregation> fields)
SketchEstimate converts the sketch into a number.
|
abstract FuzzySetPostAggregation |
FuzzySetPostAggregation.withFields(List<PostAggregation> fields)
SketchEstimate converts the sketch into a number.
|
SketchSetOperationPostAggregation |
SketchSetOperationPostAggregation.withFields(List<PostAggregation> fields)
Deprecated.
Get a new instance of this PostAggregation with the given fields.
|
Constructor and Description |
---|
FuzzySetPostAggregation(PostAggregationType type,
String name,
PostAggregation field)
Constructor accepting fields as list of field accessor post aggs.
|
SketchEstimatePostAggregation(String name,
PostAggregation field)
Deprecated.
Constructor accepting fields as list of field accessor post aggs.
|
ThetaSketchEstimatePostAggregation(String name,
PostAggregation field)
Constructor accepting fields as list of field accessor post aggs.
|
Constructor and Description |
---|
ArithmeticPostAggregation(String name,
ArithmeticPostAggregation.ArithmeticPostAggregationFunction fn,
List<PostAggregation> fields)
Constructor.
|
SketchSetOperationPostAggregation(String name,
SketchSetOperationPostAggFunction func,
List<PostAggregation> fields)
Deprecated.
Constructor accepting a list of post aggregations as fields while leaving the sketch size of the resulting
postaggregation undefined.
|
SketchSetOperationPostAggregation(String name,
SketchSetOperationPostAggFunction func,
List<PostAggregation> fields,
Integer size)
Deprecated.
Constructor accepting a list of post aggregations as fields as well as an explicit sketch size.
|
ThetaSketchSetOperationPostAggregation(String name,
SketchSetOperationPostAggFunction func,
List<PostAggregation> fields)
Constructor accepting a list of post aggregations as fields while leaving the sketch size of the resulting
postaggregation undefined.
|
ThetaSketchSetOperationPostAggregation(String name,
SketchSetOperationPostAggFunction func,
List<PostAggregation> fields,
Integer size)
Constructor accepting a list of post aggregations as fields as well as an explicit sketch size.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<PostAggregation> |
AbstractDruidAggregationQuery.postAggregations |
Modifier and Type | Method and Description |
---|---|
Collection<PostAggregation> |
LookbackQuery.getLookbackPostAggregations() |
Collection<PostAggregation> |
DruidAggregationQuery.getPostAggregations()
Returns the post-aggregations of the query.
|
Collection<PostAggregation> |
LookbackQuery.getPostAggregations() |
Collection<PostAggregation> |
AbstractDruidAggregationQuery.getPostAggregations() |
Modifier and Type | Method and Description |
---|---|
LookbackQuery |
LookbackQuery.withInnerQueryPostAggregations(Collection<PostAggregation> postAggregations)
Update the postAggregations of the nested inner query.
|
LookbackQuery |
LookbackQuery.withLookbackQueryPostAggregations(Collection<PostAggregation> postAggregations)
Update the postAggregations of the LookbackQuery(outer query).
|
Q |
DruidAggregationQuery.withPostAggregations(Collection<PostAggregation> postAggregations)
Returns a copy of this query with the specified post aggregations.
|
TopNQuery |
TopNQuery.withPostAggregations(Collection<PostAggregation> postAggregations) |
LookbackQuery |
LookbackQuery.withPostAggregations(Collection<PostAggregation> postAggregations) |
TimeSeriesQuery |
TimeSeriesQuery.withPostAggregations(Collection<PostAggregation> postAggregations) |
GroupByQuery |
GroupByQuery.withPostAggregations(Collection<PostAggregation> postAggregations) |
Constructor and Description |
---|
AbstractDruidAggregationQuery(QueryType queryType,
DataSource dataSource,
Granularity granularity,
Collection<Dimension> dimensions,
Filter filter,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
QueryContext context,
boolean doFork)
Constructor.
|
GroupByQuery(DataSource dataSource,
Granularity granularity,
Collection<Dimension> dimensions,
Filter filter,
Having having,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
LimitSpec limitSpec)
Constructor.
|
GroupByQuery(DataSource dataSource,
Granularity granularity,
Collection<Dimension> dimensions,
Filter filter,
Having having,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
LimitSpec limitSpec,
QueryContext context,
boolean doFork)
Constructor.
|
LookbackQuery(DataSource dataSource,
Collection<PostAggregation> postAggregations,
QueryContext context,
Collection<org.joda.time.Period> lookbackOffsets,
Collection<String> lookbackPrefixes,
Having having,
LimitSpec limitSpec)
Constructor.
|
TimeSeriesQuery(DataSource dataSource,
Granularity granularity,
Filter filter,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals)
Constructor.
|
TimeSeriesQuery(DataSource dataSource,
Granularity granularity,
Filter filter,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
QueryContext context,
boolean doFork)
Constructor.
|
TopNQuery(DataSource dataSource,
Granularity granularity,
Dimension dimension,
Filter filter,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
long threshold,
TopNMetric metric)
Constructor.
|
TopNQuery(DataSource dataSource,
Granularity granularity,
Dimension dimension,
Filter filter,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
long threshold,
TopNMetric metric,
QueryContext context,
boolean doFork)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SqlAggregationQuery |
SqlAggregationQuery.withPostAggregations(Collection<PostAggregation> postAggregations) |
Modifier and Type | Method and Description |
---|---|
Number |
PostAggregationEvaluator.calculate(PostAggregation postAggregation,
Function<String,String> aggregatedValues)
Calculates the value of a post aggregation.
|
Double |
PostAggregationEvaluator.evaluate(PostAggregation postAggregation,
Function<String,String> aggregatedValues)
Top level evaluation of a postAggregation which evaluates all inner
PostAggregation
and returns the value. |
Modifier and Type | Method and Description |
---|---|
PostAggregation |
FilteredSketchMetricsHelper.replacePostAggregation(SketchSetOperationPostAggFunction func,
PostAggregation postAggregation,
Map<String,List<FilteredAggregation>> filteredAggDictionary)
Deprecated.
|
PostAggregation |
MetricsFilterSetBuilder.replacePostAggregation(SketchSetOperationPostAggFunction func,
PostAggregation postAggregation,
Map<String,List<FilteredAggregation>> filteredAggDictionary)
A method to replace postAggs with new postAggs that access the intersection or union of filteredAggregators.
|
PostAggregation |
FilteredThetaSketchMetricsHelper.replacePostAggregation(SketchSetOperationPostAggFunction func,
PostAggregation postAggregation,
Map<String,List<FilteredAggregation>> filteredAggDictionary) |
PostAggregation |
FilteredSketchMetricsHelper.replacePostAggWithPostAggFromMap(PostAggregation postAggregation,
Map<String,Aggregation> oldNameToNewAggregationMapping)
Deprecated.
|
PostAggregation |
MetricsFilterSetBuilder.replacePostAggWithPostAggFromMap(PostAggregation postAggregation,
Map<String,Aggregation> oldNameToNewAggregationMapping)
Takes a post aggregation and updates its FieldAccessor if its fieldName is present in the map changed.
|
PostAggregation |
FilteredThetaSketchMetricsHelper.replacePostAggWithPostAggFromMap(PostAggregation postAggregation,
Map<String,Aggregation> oldNameToNewAggregationMapping) |
Modifier and Type | Method and Description |
---|---|
Collection<PostAggregation> |
FilteredSketchMetricsHelper.updateNestedQueryPostAggs(Collection<PostAggregation> nestedQueryPostAggs,
Map<String,String> oldFieldNameToNewFieldNameMap,
String filterSuffix)
Deprecated.
Update the nested query post agg names if they are not of the type CONSTANT.
|
Collection<PostAggregation> |
MetricsFilterSetBuilder.updateNestedQueryPostAggs(Collection<PostAggregation> nestedQueryPostAggs,
Map<String,String> oldFieldNameToNewFieldNameMap,
String filterSuffix)
Update the nested query post agg names if they are not of the type CONSTANT.
|
Collection<PostAggregation> |
FilteredThetaSketchMetricsHelper.updateNestedQueryPostAggs(Collection<PostAggregation> nestedQueryPostAggs,
Map<String,String> oldFieldNameToNewFieldNameMap,
String filterSuffix) |
Modifier and Type | Method and Description |
---|---|
PostAggregation |
FilteredSketchMetricsHelper.replacePostAggregation(SketchSetOperationPostAggFunction func,
PostAggregation postAggregation,
Map<String,List<FilteredAggregation>> filteredAggDictionary)
Deprecated.
|
PostAggregation |
MetricsFilterSetBuilder.replacePostAggregation(SketchSetOperationPostAggFunction func,
PostAggregation postAggregation,
Map<String,List<FilteredAggregation>> filteredAggDictionary)
A method to replace postAggs with new postAggs that access the intersection or union of filteredAggregators.
|
PostAggregation |
FilteredThetaSketchMetricsHelper.replacePostAggregation(SketchSetOperationPostAggFunction func,
PostAggregation postAggregation,
Map<String,List<FilteredAggregation>> filteredAggDictionary) |
PostAggregation |
FilteredSketchMetricsHelper.replacePostAggWithPostAggFromMap(PostAggregation postAggregation,
Map<String,Aggregation> oldNameToNewAggregationMapping)
Deprecated.
|
PostAggregation |
MetricsFilterSetBuilder.replacePostAggWithPostAggFromMap(PostAggregation postAggregation,
Map<String,Aggregation> oldNameToNewAggregationMapping)
Takes a post aggregation and updates its FieldAccessor if its fieldName is present in the map changed.
|
PostAggregation |
FilteredThetaSketchMetricsHelper.replacePostAggWithPostAggFromMap(PostAggregation postAggregation,
Map<String,Aggregation> oldNameToNewAggregationMapping) |
Modifier and Type | Method and Description |
---|---|
Collection<PostAggregation> |
FilteredSketchMetricsHelper.updateNestedQueryPostAggs(Collection<PostAggregation> nestedQueryPostAggs,
Map<String,String> oldFieldNameToNewFieldNameMap,
String filterSuffix)
Deprecated.
Update the nested query post agg names if they are not of the type CONSTANT.
|
Collection<PostAggregation> |
MetricsFilterSetBuilder.updateNestedQueryPostAggs(Collection<PostAggregation> nestedQueryPostAggs,
Map<String,String> oldFieldNameToNewFieldNameMap,
String filterSuffix)
Update the nested query post agg names if they are not of the type CONSTANT.
|
Collection<PostAggregation> |
FilteredThetaSketchMetricsHelper.updateNestedQueryPostAggs(Collection<PostAggregation> nestedQueryPostAggs,
Map<String,String> oldFieldNameToNewFieldNameMap,
String filterSuffix) |
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.