public class LongSumAggregation extends Aggregation
Constructor and Description |
---|
LongSumAggregation(String name,
String fieldName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
The Type name for the aggregation in the druid configuration.
|
boolean |
isFloatingPoint()
Indicate if the MetricField is a floating-point value.
|
Aggregation |
withFieldName(String fieldName)
Creates a new Aggregation with the provided field name.
|
LongSumAggregation |
withName(String name)
Creates a new Aggregation with the provided name.
|
equals, getDependentDimensions, getFieldName, getName, hashCode, isSketch, nest, toString
public String getType()
Aggregation
getType
in class Aggregation
public LongSumAggregation withName(String name)
Aggregation
withName
in class Aggregation
name
- Name for the new aggregationpublic Aggregation withFieldName(String fieldName)
Aggregation
withFieldName
in class Aggregation
fieldName
- Field name for the new aggregationpublic boolean isFloatingPoint()
MetricField
isFloatingPoint
in interface MetricField
isFloatingPoint
in class Aggregation
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.