Modifier and Type | Method and Description |
---|---|
protected DimensionValueLoadTask |
AbstractBinderFactory.buildDruidDimensionsLoader(DruidWebService webService,
PhysicalTableDictionary physicalTableDictionary,
DimensionDictionary dimensionDictionary)
Build a DimensionValueLoadTask.
|
protected RegisteredLookupMetadataLoadTask |
AbstractBinderFactory.buildLookupMetaDataLoader(DruidWebService webService,
DimensionDictionary dimensionDictionary)
Builds a lookup metadata loader.
|
protected PreResponseDeserializer |
AbstractBinderFactory.initializePreResponseDeserializer(DimensionDictionary dimensionDictionary,
com.fasterxml.jackson.databind.ObjectMapper nonResponseContextMapper,
com.fasterxml.jackson.databind.ObjectMapper responseContextMapper,
GranularityParser granularityParser)
Initialize the PreResponse deserializer to deserialize the custom serialized PreResponse.
|
protected void |
AbstractBinderFactory.setupHealthChecks(com.codahale.metrics.health.HealthCheckRegistry healthCheckRegistry,
DimensionDictionary dimensionDictionary)
Register required core health checks.
|
Constructor and Description |
---|
DruidDimensionValueLoader(PhysicalTableDictionary physicalTableDictionary,
DimensionDictionary dimensionDictionary,
DruidWebService druidWebService)
DruidDimensionRowProvider fetches data from Druid and adds it to the dimension cache.
|
DruidDimensionValueLoader(PhysicalTableDictionary physicalTableDictionary,
DimensionDictionary dimensionDictionary,
List<String> dimensionsToLoad,
DruidWebService druidWebService)
DruidDimensionRowProvider fetches data from Druid and adds it to the dimension cache.
|
SqlDimensionValueLoader(PhysicalTableDictionary physicalTableDictionary,
DimensionDictionary dimensionDictionary,
List<String> dimensionsToLoad,
SqlBackedClient sqlBackedClient)
SqlDimensionValueLoader fetches data from Sql and adds it to the dimension cache.
|
Modifier and Type | Method and Description |
---|---|
DimensionDictionary |
AllDimensionsLoadedHealthCheck.getDimensionDictionary() |
Constructor and Description |
---|
AllDimensionsLoadedHealthCheck(DimensionDictionary dimensionDictionary)
Construct a new AllDimensionsLoadedHealthCheck.
|
Modifier and Type | Field and Description |
---|---|
protected DimensionDictionary |
HttpResponseMaker.dimensionDictionary |
Modifier and Type | Method and Description |
---|---|
DimensionDictionary |
PreResponseDeserializer.getDimensionDictionary() |
Constructor and Description |
---|
HttpResponseMaker(ObjectMappersSuite objectMappers,
DimensionDictionary dimensionDictionary,
ResponseWriter responseWriter)
Class constructor.
|
PreResponseDeserializer(DimensionDictionary dimensionDictionary,
com.fasterxml.jackson.databind.ObjectMapper nonResponseContextMapper,
com.fasterxml.jackson.databind.ObjectMapper responseContextMapper,
GranularityParser granularityParser)
Class constructor.
|
Modifier and Type | Field and Description |
---|---|
DimensionDictionary |
ResourceDictionaries.dimension |
Modifier and Type | Method and Description |
---|---|
DimensionDictionary |
ResourceDictionaries.getDimensionDictionary() |
DimensionDictionary |
ConfigurationLoader.getDimensionDictionary() |
Modifier and Type | Method and Description |
---|---|
void |
TypeAwareDimensionLoader.loadDimensionDictionary(DimensionDictionary dimensions) |
void |
DimensionLoader.loadDimensionDictionary(DimensionDictionary dimensions)
Load dimensions and populate the dimension dictionary.
|
void |
KeyValueStoreDimensionLoader.loadDimensionDictionary(DimensionDictionary dimensions)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default void |
MetricLoader.loadMetricDictionary(MetricDictionary metricDictionary,
DimensionDictionary dimensionDictionary)
Load metrics and populate the metric dictionary with dimension dictionary for dimension dependent metrics.
|
Constructor and Description |
---|
CardinalityMaker(MetricDictionary metrics,
DimensionDictionary dimensionDictionary,
boolean byRow)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Column> |
PhysicalTableDefinition.buildColumns(DimensionDictionary dimensionDictionary)
Helper method for sub-classes to convert dimension configs into dimension columns and create metric columns.
|
Constructor and Description |
---|
RegisteredLookupMetadataLoadTask(DruidWebService druidClient,
DimensionDictionary dimensionDictionary)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<FilteredAggregation> |
FilteredSketchMetricsHelper.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
Aggregation aggregation,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Deprecated.
|
Set<FilteredAggregation> |
MetricsFilterSetBuilder.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
Aggregation aggregation,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
For a given aggregator, this method applies the filter and returns a set of filtered aggregations.
|
Set<FilteredAggregation> |
FilteredThetaSketchMetricsHelper.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
Aggregation aggregation,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest) |
LogicalMetric |
FilteredSketchMetricsHelper.getFilteredLogicalMetric(LogicalMetric logicalMetric,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Deprecated.
|
LogicalMetric |
MetricsFilterSetBuilder.getFilteredLogicalMetric(LogicalMetric logicalMetric,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Provides filter wrapped logical metric for the given logical metric.
|
LogicalMetric |
FilteredThetaSketchMetricsHelper.getFilteredLogicalMetric(LogicalMetric logicalMetric,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest) |
TemplateDruidQuery |
FilteredSketchMetricsHelper.updateTemplateDruidQuery(TemplateDruidQuery query,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Deprecated.
|
TemplateDruidQuery |
MetricsFilterSetBuilder.updateTemplateDruidQuery(TemplateDruidQuery query,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Method to update a given query by changing aggregators to filteredAggregators and updating postAggs to reference
the filteredAggregators.
|
TemplateDruidQuery |
FilteredThetaSketchMetricsHelper.updateTemplateDruidQuery(TemplateDruidQuery query,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest) |
Constructor and Description |
---|
ApiFilter(String filterQuery,
DimensionDictionary dimensionDictionary)
Parses the URL filter Query and generates the ApiFilter object.
|
Modifier and Type | Method and Description |
---|---|
protected LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
DataApiRequestImpl.generateDimensionFields(List<javax.ws.rs.core.PathSegment> apiDimensionPathSegments,
DimensionDictionary dimensionDictionary)
Extracts the list of dimensions from the url dimension path segments and "show" matrix params and generates a map
of dimension to dimension fields which needs to be annotated on the response.
|
protected LinkedHashSet<Dimension> |
ApiRequestImpl.generateDimensions(List<javax.ws.rs.core.PathSegment> apiDimensions,
DimensionDictionary dimensionDictionary)
Extracts the list of dimension names from the url dimension path segments and generates a set of dimension
objects based on it.
|
protected LinkedHashSet<Dimension> |
DimensionsApiRequestImpl.generateDimensions(String apiDimension,
DimensionDictionary dimensionDictionary)
Returns a set of dimension names that contains either the requested dimension or all the available ones.
|
protected LinkedHashSet<ApiFilter> |
DimensionsApiRequestImpl.generateFilters(String filterQuery,
DimensionDictionary dimensionDictionary)
Generates filter objects based on the filter query in the api request.
|
Map<Dimension,Set<ApiFilter>> |
DataApiRequest.generateFilters(String filterQuery,
LogicalTable table,
DimensionDictionary dimensionDictionary)
Generates filter objects on the based on the filter query in the api request.
|
ApiFilters |
ApiRequestImpl.generateFilters(String filterQuery,
LogicalTable table,
DimensionDictionary dimensionDictionary)
Generates filter objects on the based on the filter query in the api request.
|
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.
|
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.
|
DimensionsApiRequestImpl(String dimension,
String filters,
String format,
String perPage,
String page,
DimensionDictionary dimensionDictionary,
javax.ws.rs.core.UriInfo uriInfo)
Parses the API request URL and generates the Api Request object.
|
Constructor and Description |
---|
DimensionCacheLoaderServlet(DimensionDictionary dimensionDictionary,
DataCache<?> dataCache,
ObjectMappersSuite objectMappers)
Constructor.
|
DimensionsServlet(DimensionDictionary dimensionDictionary,
LogicalTableDictionary logicalTableDictionary,
RequestMapper requestMapper,
ObjectMappersSuite objectMappers,
ResponseFormatResolver formatResolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
default DimensionDictionary |
BardConfigResources.getDimensionDictionary()
The dictionary of configured dimensions.
|
Modifier and Type | Method and Description |
---|---|
protected DimensionValueLoadTask |
GenericBinderFactory.buildDruidDimensionsLoader(DruidWebService webService,
PhysicalTableDictionary physicalTableDictionary,
DimensionDictionary dimensionDictionary) |
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.