Modifier and Type | Field and Description |
---|---|
MetricDictionary |
ResourceDictionaries.metric |
Modifier and Type | Method and Description |
---|---|
MetricDictionary |
ResourceDictionaries.getMetricDictionary() |
MetricDictionary |
ConfigurationLoader.getMetricDictionary() |
Modifier and Type | Method and Description |
---|---|
default void |
MetricLoader.loadMetricDictionary(MetricDictionary metricDictionary)
Deprecated.
in favor of loadMetricDictionary(MetricDictionary, DimensionDictionary)
|
default void |
MetricLoader.loadMetricDictionary(MetricDictionary metricDictionary,
DimensionDictionary dimensionDictionary)
Load metrics and populate the metric dictionary with dimension dictionary for dimension dependent metrics.
|
Modifier and Type | Field and Description |
---|---|
MetricDictionary |
MetricMaker.metrics
The metric dictionary from which dependent metrics will be resolved.
|
Constructor and Description |
---|
AggregationAverageMaker(MetricDictionary metrics,
ZonelessTimeGrain innerGrain)
Constructor.
|
ArithmeticMaker(MetricDictionary metricDictionary,
ArithmeticPostAggregation.ArithmeticPostAggregationFunction function)
Build an ArithmeticMaker with SketchRoundUpMapper as the ResultSetMapper for building the LogicalMetric.
|
ArithmeticMaker(MetricDictionary metricDictionary,
ArithmeticPostAggregation.ArithmeticPostAggregationFunction function,
ColumnMapper resultSetMapper)
Deprecated.
to override default mapping, use the Function constructor
|
ArithmeticMaker(MetricDictionary metricDictionary,
ArithmeticPostAggregation.ArithmeticPostAggregationFunction function,
Function<String,ResultSetMapper> resultSetMapperSupplier)
Constructor.
|
CardinalityMaker(MetricDictionary metrics,
DimensionDictionary dimensionDictionary,
boolean byRow)
Constructor.
|
ConstantMaker(MetricDictionary metricDictionary)
Constructor.
|
CountMaker(MetricDictionary metricDictionary)
Constructor.
|
DoubleMaxMaker(MetricDictionary metrics)
Constructor.
|
DoubleMinMaker(MetricDictionary metrics)
Constructor.
|
DoubleSumMaker(MetricDictionary metrics)
Constructor.
|
FilteredAggregationMaker(MetricDictionary metricDictionary,
Filter filter)
Construct a metric maker for Filtered Aggregations.
|
LongMaxMaker(MetricDictionary metrics)
Constructor.
|
LongMinMaker(MetricDictionary metrics)
Constructor.
|
LongSumMaker(MetricDictionary metrics)
Constructor.
|
MaxMaker(MetricDictionary metrics)
Deprecated.
Constructor.
|
MetricMaker(MetricDictionary metrics)
Construct a fully specified MetricMaker.
|
MinMaker(MetricDictionary metrics)
Deprecated.
Constructor.
|
RawAggregationMetricMaker(MetricDictionary metrics,
BiFunction<String,String,Aggregation> aggregationFactory)
Constructor.
|
RowNumMaker(MetricDictionary metrics)
Constructor.
|
SketchCountMaker(MetricDictionary metrics,
int sketchSize)
Deprecated.
Constructor.
|
SketchSetOperationMaker(MetricDictionary metrics,
SketchSetOperationPostAggFunction function)
Deprecated.
Constructor.
|
ThetaSketchMaker(MetricDictionary metrics,
int sketchSize)
Constructor.
|
ThetaSketchSetOperationMaker(MetricDictionary metrics,
SketchSetOperationPostAggFunction function)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
LogicalTable |
BaseTableLoader.buildLogicalTable(String name,
Granularity granularity,
String category,
String longName,
org.joda.time.ReadablePeriod retention,
String description,
TableGroup group,
MetricDictionary metrics)
Deprecated.
The LogicalTable constructor is being mirrored here, can be referenced directly
|
LogicalTable |
BaseTableLoader.buildLogicalTable(String name,
Granularity granularity,
TableGroup group,
MetricDictionary metrics)
Deprecated.
use new LogicalTable(...) by preferences
|
void |
BaseTableLoader.loadLogicalTableWithGranularities(String logicalTableName,
TableGroup nameGroup,
Set<? extends Granularity> validGrains,
LogicalTableDictionary tableDictionary,
MetricDictionary metricDictionary)
Load a logical table into the logicalDictionary.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseTableLoader.loadLogicalTablesWithGranularities(Map<String,TableGroup> nameGroupMap,
Set<? extends Granularity> validGrains,
LogicalTableDictionary tableDictionary,
Map<String,MetricDictionary> scopedMetrics)
Load several logical tables into the logicalDictionary, each with their own scoped metric dictionary.
|
Modifier and Type | Method and Description |
---|---|
protected MetricDictionary |
MetricDictionary.factory(MetricDictionary scope) |
Modifier and Type | Method and Description |
---|---|
protected MetricDictionary |
MetricDictionary.factory(MetricDictionary scope) |
Constructor and Description |
---|
LogicalTable(String name,
Granularity granularity,
TableGroup tableGroup,
MetricDictionary metricDictionary)
Constructor
|
LogicalTable(String name,
String category,
String longName,
Granularity granularity,
org.joda.time.ReadablePeriod retention,
String description,
TableGroup tableGroup,
MetricDictionary metricDictionary)
Constructor.
|
LogicalTableSchema(TableGroup tableGroup,
Granularity granularity,
MetricDictionary metricDictionary)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
Utils.addToMetricDictionary(MetricDictionary metricDictionary,
List<MetricInstance> metrics)
Create metrics from instance descriptors and store in the metric dictionary.
|
Modifier and Type | Method and Description |
---|---|
protected LinkedHashSet<LogicalMetric> |
ApiRequestImpl.generateLogicalMetrics(String apiMetricQuery,
MetricDictionary metricDictionary)
Extracts the list of metrics from the url metric query string and generates a set of LogicalMetrics.
|
protected LinkedHashSet<LogicalMetric> |
TablesApiRequestImpl.generateLogicalMetrics(String apiMetricQuery,
MetricDictionary metricDictionary)
Extracts the list of metrics from the url metric query string and generates a set of LogicalMetrics.
|
protected LinkedHashSet<LogicalMetric> |
DataApiRequestImpl.generateLogicalMetrics(String apiMetricQuery,
MetricDictionary metricDictionary,
DimensionDictionary dimensionDictionary,
LogicalTable table)
Extracts the list of metrics from the url metric query string and generates a set of LogicalMetrics.
|
protected Set<LogicalMetric> |
MetricsApiRequestImpl.generateMetrics(String metricName,
MetricDictionary metricDictionary)
Generates the set of all available metrics.
|
protected LinkedHashSet<OrderByColumn> |
DataApiRequestImpl.generateSortColumns(Map<String,SortDirection> sortDirectionMap,
Set<LogicalMetric> logicalMetrics,
MetricDictionary metricDictionary)
Generates a Set of OrderByColumn.
|
Constructor and Description |
---|
DataApiRequestImpl(String tableName,
String granularity,
List<javax.ws.rs.core.PathSegment> dimensions,
String logicalMetrics,
String intervals,
String apiFilters,
String havings,
String sorts,
String count,
String topN,
String format,
String timeZoneId,
String asyncAfter,
String perPage,
String page,
javax.ws.rs.core.UriInfo uriInfo,
DimensionDictionary dimensionDictionary,
MetricDictionary metricDictionary,
LogicalTableDictionary logicalTableDictionary,
org.joda.time.DateTimeZone systemTimeZone,
GranularityParser granularityParser,
DruidFilterBuilder druidFilterBuilder,
HavingGenerator havingGenerator)
Parses the API request URL and generates the Api Request object.
|
MetricsApiRequestImpl(String metricName,
String format,
String perPage,
String page,
MetricDictionary metricDictionary,
javax.ws.rs.core.UriInfo uriInfo)
Parses the API request URL and generates the Api Request object.
|
Constructor and Description |
---|
MetricsServlet(MetricDictionary metricDictionary,
LogicalTableDictionary logicalTableDictionary,
RequestMapper requestMapper,
ObjectMappersSuite objectMappers,
ResponseFormatResolver formatResolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
default MetricDictionary |
BardConfigResources.getMetricDictionary()
The dictionary of configured metrics.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GenericMetricLoader.buildMetricMakers(MetricDictionary metricDictionary)
Initialize the metric makers with the given metric dictionary.
|
protected void |
WikiMetricLoader.buildMetricMakers(MetricDictionary metricDictionary)
(Re)Initialize the metric makers with the given metric dictionary.
|
void |
GenericMetricLoader.loadMetricDictionary(MetricDictionary metricDictionary) |
void |
WikiMetricLoader.loadMetricDictionary(MetricDictionary metricDictionary) |
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.