Modifier and Type | Method and Description |
---|---|
void |
Query.addProperty(String propertyId,
TemporalInfo temporalInfo)
Add a property to the query.
|
void |
QueryImpl.addProperty(String propertyId,
TemporalInfo temporalInfo) |
Modifier and Type | Method and Description |
---|---|
Map<String,TemporalInfo> |
Request.getFields()
Obtain the partial response fields and associated temporal information which were provided
in the query string of the request uri.
|
Map<String,TemporalInfo> |
BaseRequest.getFields() |
Modifier and Type | Class and Description |
---|---|
class |
TemporalInfoImpl
Temporal query data.
|
Modifier and Type | Method and Description |
---|---|
TemporalInfo |
RequestImpl.getTemporalInfo(String id) |
Modifier and Type | Method and Description |
---|---|
protected static Object |
AbstractPropertyProvider.getValue(org.apache.hadoop.metrics2.sink.timeline.TimelineMetric metric,
TemporalInfo temporalInfo)
Get value from the given metric.
|
Constructor and Description |
---|
RequestImpl(Set<String> propertyIds,
Set<Map<String,Object>> properties,
Map<String,String> requestInfoProperties,
Map<String,TemporalInfo> mapTemporalInfo)
Create a request.
|
RequestImpl(Set<String> propertyIds,
Set<Map<String,Object>> properties,
Map<String,String> requestInfoProperties,
Map<String,TemporalInfo> mapTemporalInfo,
SortRequest sortRequest,
PageRequest pageRequest)
Create a request.
|
Modifier and Type | Method and Description |
---|---|
void |
MetricsPaddingMethod.applyPaddingStrategy(org.apache.hadoop.metrics2.sink.timeline.TimelineMetric metric,
TemporalInfo temporalInfo)
Adds zero/null values towards the end of metrics sequence as well as the
beginning to support backward compatibility with Ganglia.
|
protected boolean |
MetricsDownsamplingMethod.isWithinTemporalQueryRange(Long timestamp,
TemporalInfo temporalInfo) |
abstract Number[][] |
MetricsDownsamplingMethod.reportMetricData(org.apache.hadoop.metrics2.sink.timeline.TimelineMetric metricData,
MetricsDataTransferMethod dataTransferMethod,
TemporalInfo temporalInfo) |
Number[][] |
MetricReportingAdapter.reportMetricData(org.apache.hadoop.metrics2.sink.timeline.TimelineMetric metricData,
TemporalInfo temporalInfo) |
Modifier and Type | Method and Description |
---|---|
TemporalInfo |
TimelineAppMetricCacheKey.getTemporalInfo()
Temporal info is used to calculate the next query window,
it does not contribute to the key behavior.
|
Modifier and Type | Method and Description |
---|---|
void |
TimelineAppMetricCacheKey.setTemporalInfo(TemporalInfo temporalInfo)
Set temporalInfo to new query window each time.
|
Constructor and Description |
---|
TimelineAppMetricCacheKey(Set<String> metricNames,
String appId,
String hostNames,
TemporalInfo temporalInfo) |
TimelineAppMetricCacheKey(Set<String> metricNames,
String appId,
TemporalInfo temporalInfo) |
Modifier and Type | Method and Description |
---|---|
TemporalInfo |
Request.getTemporalInfo(String id)
Get the
temporal information for the given property
id for this request, if any. |
Modifier and Type | Method and Description |
---|---|
static Request |
PropertyHelper.getReadRequest(Set<String> propertyIds,
Map<String,String> requestInfoProperties,
Map<String,TemporalInfo> mapTemporalInfo,
PageRequest pageRequest,
SortRequest sortRequest)
Factory method to create a read request from the given set of property ids.
|
static Request |
PropertyHelper.getReadRequest(Set<String> propertyIds,
Map<String,TemporalInfo> mapTemporalInfo)
Factory method to create a read request from the given set of property ids.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.