public class ThetaSketchAggregation extends SketchAggregation
| Constructor and Description |
|---|
ThetaSketchAggregation(String name,
String fieldName,
int size)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
The Type name for the aggregation in the druid configuration.
|
boolean |
isSketch()
Indicate if the MetricField is based on a sketch.
|
ThetaSketchAggregation |
withFieldName(String fieldName)
Creates a new Aggregation with the provided field name.
|
ThetaSketchAggregation |
withName(String name)
Creates a new Aggregation with the provided name.
|
ThetaSketchAggregation |
withSize(int size)
Creates a SketchAggregation with the provided bucketSize.
|
equals, getSize, hashCodegetDependentDimensions, getFieldName, getName, isFloatingPoint, nest, toStringpublic String getType()
AggregationgetType in class Aggregationpublic ThetaSketchAggregation withName(String name)
AggregationwithName in class Aggregationname - Name for the new aggregationpublic ThetaSketchAggregation withFieldName(String fieldName)
AggregationwithFieldName in class AggregationfieldName - Field name for the new aggregationpublic ThetaSketchAggregation withSize(int size)
SketchAggregationwithSize in class SketchAggregationsize - Size for the new SketchAggregationpublic boolean isSketch()
MetricFieldisSketch in interface MetricFieldisSketch in class AggregationCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.