public class FieldAccessorPostAggregation extends PostAggregation
PostAggregation.DefaultPostAggregationType| Constructor and Description |
|---|
FieldAccessorPostAggregation(MetricField aggregation)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
MetricField |
getAggregation()
Deprecated.
Use getMetricField instead
|
Set<Dimension> |
getDependentDimensions()
Get the dimensions, if any, this metric depends on.
|
String |
getFieldName() |
MetricField |
getMetricField()
Retrieve the MetricField column which this field accesses.
|
String |
getName()
Get the name of the metric field in the response.
|
int |
hashCode() |
boolean |
isFloatingPoint()
Indicate if the MetricField is a floating-point value.
|
boolean |
isSketch()
Indicate if the MetricField is based on a sketch.
|
FieldAccessorPostAggregation |
withName(String name)
Not implemented, since FieldAccessorPostAggregation doesn't take a name.
|
getType, toStringpublic FieldAccessorPostAggregation(@NotNull
MetricField aggregation)
aggregation - Aggregation to accesspublic boolean isSketch()
MetricFieldisSketch in interface MetricFieldisSketch in class PostAggregation@Deprecated public MetricField getAggregation()
public MetricField getMetricField()
public String getFieldName()
public String getName()
MetricFieldgetName in interface MetricFieldgetName in class PostAggregationpublic Set<Dimension> getDependentDimensions()
MetricFieldpublic boolean isFloatingPoint()
MetricFieldisFloatingPoint in interface MetricFieldisFloatingPoint in class PostAggregationpublic FieldAccessorPostAggregation withName(String name)
withName in class PostAggregationname - Not applicableIllegalStateException - because it does not have a namepublic boolean equals(Object o)
equals in class PostAggregationpublic int hashCode()
hashCode in class PostAggregationCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.