Package | Description |
---|---|
com.yahoo.bard.webservice.data | |
com.yahoo.bard.webservice.data.metric | |
com.yahoo.bard.webservice.web |
Modifier and Type | Method and Description |
---|---|
Map<MetricColumn,Object> |
Result.getMetricValues()
The metrics in the result row expressed as an unmodifiable map keyed by columns.
|
Modifier and Type | Method and Description |
---|---|
Object |
Result.getMetricValue(MetricColumn column)
Fetches the metric value associated with the specified metric column.
|
boolean |
Result.getMetricValueAsBoolean(MetricColumn metricColumn)
Fetch the value of the specified metric as a boolean.
|
com.fasterxml.jackson.databind.JsonNode |
Result.getMetricValueAsJsonNode(MetricColumn metricColumn)
Fetch the value of the specified metric as a JsonNode.
|
BigDecimal |
Result.getMetricValueAsNumber(MetricColumn metricColumn)
Fetch the value of the specified numeric metric.
|
String |
Result.getMetricValueAsString(MetricColumn metricColumn)
Fetch the String representation of the value of the specified metric.
|
Result |
Result.withMetricValue(MetricColumn metricColumn,
Object value)
Copy the result, adding or replacing the value of a metric
|
Constructor and Description |
---|
Result(Map<DimensionColumn,DimensionRow> dimensionRows,
Map<MetricColumn,Object> metricValues,
org.joda.time.DateTime timeStamp)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
LogicalMetricColumn
LogicalMetricColumn.
|
class |
MetricColumnWithValueType
The class which contains an information of metric value type.
|
Modifier and Type | Field and Description |
---|---|
protected LinkedHashSet<MetricColumn> |
ResponseData.apiMetricColumns |
Modifier and Type | Method and Description |
---|---|
protected LinkedHashSet<MetricColumn> |
ResponseData.generateApiMetricColumns(Set<String> apiMetricColumnNames)
Builds a set of only those metric columns which correspond to the metrics requested in the API.
|
LinkedHashSet<MetricColumn> |
ResponseData.getApiMetricColumns() |
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.