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, toString
public FieldAccessorPostAggregation(@NotNull MetricField aggregation)
aggregation
- Aggregation to accesspublic boolean isSketch()
MetricField
isSketch
in interface MetricField
isSketch
in class PostAggregation
@Deprecated public MetricField getAggregation()
public MetricField getMetricField()
public String getFieldName()
public String getName()
MetricField
getName
in interface MetricField
getName
in class PostAggregation
public Set<Dimension> getDependentDimensions()
MetricField
public boolean isFloatingPoint()
MetricField
isFloatingPoint
in interface MetricField
isFloatingPoint
in class PostAggregation
public FieldAccessorPostAggregation withName(String name)
withName
in class PostAggregation
name
- Not applicableIllegalStateException
- because it does not have a namepublic boolean equals(Object o)
equals
in class PostAggregation
public int hashCode()
hashCode
in class PostAggregation
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.