public abstract class ViewDescriptor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ViewDescriptor.DistributionViewDescriptor
A
ViewDescriptor for distribution-base aggregations. |
static class |
ViewDescriptor.IntervalViewDescriptor
A
ViewDescriptor for interval-based aggregations. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
More detailed description, for documentation purposes.
|
MeasurementDescriptor |
getMeasurementDescriptor()
Measurement type of this view.
|
String |
getName()
Name of view.
|
List<TagKey> |
getTagKeys()
Tag keys to match with the associated
MeasurementDescriptor. |
abstract <T> T |
match(Function<ViewDescriptor.DistributionViewDescriptor,T> p0,
Function<ViewDescriptor.IntervalViewDescriptor,T> p1)
Applies the given match function to the underlying data type.
|
public final String getName()
public final String getDescription()
public final MeasurementDescriptor getMeasurementDescriptor()
public final List<TagKey> getTagKeys()
MeasurementDescriptor. If no keys are specified,
then all stats are recorded. Keys must be unique.
Note: The returned list is unmodifiable, attempts to update it will throw an UnsupportedOperationException.
public abstract <T> T match(Function<ViewDescriptor.DistributionViewDescriptor,T> p0, Function<ViewDescriptor.IntervalViewDescriptor,T> p1)