Modifier and Type | Method and Description |
---|---|
protected PreResponseStore |
AbstractBinderFactory.buildPreResponseStore(ResourceDictionaries resourceDictionaries)
Builds an instance of the interface to the storage system to use to store PreResponses of asynchronous
requests.
|
protected Map<String,RequestMapper> |
AbstractBinderFactory.getRequestMappers(ResourceDictionaries resourceDictionaries)
Get a map of named RequestMappers.
|
Modifier and Type | Field and Description |
---|---|
protected ResourceDictionaries |
ConfigurationLoader.dictionaries |
Modifier and Type | Method and Description |
---|---|
ResourceDictionaries |
ConfigurationLoader.getDictionaries() |
Modifier and Type | Method and Description |
---|---|
ConfigPhysicalTable |
ConcreteSqlPhysicalTableDefinition.build(ResourceDictionaries dictionaries,
DataSourceMetadataService metadataService) |
abstract ConfigPhysicalTable |
PhysicalTableDefinition.build(ResourceDictionaries dictionaries,
DataSourceMetadataService metadataService)
Given the resource dictionaries and a data source metadata service, build the corresponding physical table.
|
ConfigPhysicalTable |
DimensionListPartitionTableDefinition.build(ResourceDictionaries dictionaries,
DataSourceMetadataService metadataService) |
ConfigPhysicalTable |
ConcretePhysicalTableDefinition.build(ResourceDictionaries dictionaries,
DataSourceMetadataService metadataService) |
ConfigPhysicalTable |
MetricUnionCompositeTableDefinition.build(ResourceDictionaries dictionaries,
DataSourceMetadataService metadataService) |
ConfigPhysicalTable |
PermissivePhysicalTableDefinition.build(ResourceDictionaries dictionaries,
DataSourceMetadataService metadataService) |
TableGroup |
BaseTableLoader.buildDimensionSpanningTableGroup(Set<ApiMetricName> apiMetrics,
Set<FieldName> druidMetrics,
Set<PhysicalTableDefinition> tableDefinitions,
ResourceDictionaries dictionaries)
Deprecated.
does not load table with external dependency, use the other buildDimensionSpanningTableGroup instead
|
TableGroup |
BaseTableLoader.buildDimensionSpanningTableGroup(Set<TableName> currentTableGroupTableNames,
Set<PhysicalTableDefinition> tableDefinitions,
ResourceDictionaries dictionaries,
Set<ApiMetricName> apiMetrics)
Builds a table group that derive its dimensions by taking the union of all the underlying physical dimensions.
|
protected ConfigPhysicalTable |
BaseTableLoader.buildPhysicalTableWithDependency(String currentTableName,
Map<String,PhysicalTableDefinition> availableTableDefinitions,
ResourceDictionaries dictionaries)
Build and return the current physical table given its table name and definition, if dependency exists, build its
dependencies and load the dependencies into physical table dictionary.
|
TableGroup |
BaseTableLoader.buildTableGroup(String logicalTableName,
Set<ApiMetricName> apiMetrics,
Set<FieldName> druidMetrics,
Set<PhysicalTableDefinition> tableDefinitions,
ResourceDictionaries dictionaries)
Deprecated.
logicalTableName is not used in TableGroup, use buildDimensionSpanningTableGroup instead
|
Map<ConfigPhysicalTable,Set<String>> |
MetricUnionCompositeTableDefinition.getTableToMetricsMap(ResourceDictionaries dictionaries)
Returns a map from availability to set of metrics.
|
void |
BaseTableLoader.loadLogicalTablesWithGranularities(Map<String,TableGroup> nameGroupMap,
Set<? extends Granularity> validGrains,
ResourceDictionaries dictionaries)
Load several logical tables into the logicalDictionary, all with the globally-scoped metric dictionary.
|
void |
BaseTableLoader.loadLogicalTableWithGranularities(String logicalTableName,
TableGroup nameGroup,
Set<? extends Granularity> validGrains,
ResourceDictionaries dictionaries)
Load a logical table into the logicalDictionary.
|
protected PhysicalTable |
BaseTableLoader.loadPhysicalTable(PhysicalTableDefinition definition,
Set<FieldName> metricNames,
ResourceDictionaries dictionaries)
Deprecated.
use buildPhysicalTableWithDependency instead, which also supports building table with dependencies
|
void |
TableLoader.loadTableDictionary(ResourceDictionaries dictionaries)
Load all of the logical tables, their table groups, and the physical tables for those groups.
|
abstract void |
BaseTableLoader.loadTableDictionary(ResourceDictionaries dictionaries)
Load user configured tables into resource dictionary.
|
Modifier and Type | Method and Description |
---|---|
ResourceDictionaries |
RequestMapper.getResourceDictionaries() |
Constructor and Description |
---|
DimensionApiRequestMapper(ResourceDictionaries resourceDictionaries)
Constructor.
|
NoOpRequestMapper(ResourceDictionaries resourceDictionaries)
Constructor.
|
RequestMapper(ResourceDictionaries resourceDictionaries)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ResourceDictionaries |
TablesServlet.getResourceDictionaries() |
ResourceDictionaries |
DataServlet.getResourceDictionaries() |
Constructor and Description |
---|
DataServlet(ResourceDictionaries resourceDictionaries,
DruidQueryBuilder druidQueryBuilder,
TemplateDruidQueryMerger templateDruidQueryMerger,
DruidResponseParser druidResponseParser,
RequestWorkflowProvider workflowProvider,
RequestMapper requestMapper,
ObjectMappersSuite objectMappers,
DruidFilterBuilder filterBuilder,
HavingGenerator havingGenerator,
GranularityParser granularityParser,
JobPayloadBuilder jobPayloadBuilder,
JobRowBuilder jobRowBuilder,
AsynchronousWorkflowsBuilder asynchronousWorkflowsBuilder,
BroadcastChannel<String> preResponseStoredNotifications,
HttpResponseMaker httpResponseMaker,
ResponseFormatResolver formatResolver,
DataApiRequestFactory dataApiRequestFactory,
ResponseProcessorFactory responseProcessorFactory)
Constructor.
|
TablesServlet(ResourceDictionaries resourceDictionaries,
RequestMapper requestMapper,
ObjectMappersSuite objectMappers,
GranularityParser granularityParser,
ResponseFormatResolver formatResolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static RequestMapper |
DataApiRequestMapperUtils.identityMapper(ResourceDictionaries resourceDictionaries)
Create a request mapper that always returns an unmodified request.
|
static RequestMapper |
DataApiRequestMapperUtils.validationExceptionMapper(ResourceDictionaries resourceDictionaries,
BiFunction<ApiRequest,javax.ws.rs.container.ContainerRequestContext,RequestValidationException> exceptionSource)
Create a requestMapper that always throws a validation exception based on the request.
|
Constructor and Description |
---|
ChainingRequestMapper(ResourceDictionaries resourceDictionaries)
Constructor.
|
ChainingRequestMapper(ResourceDictionaries resourceDictionaries,
RequestMapper<T> next)
Constructor.
|
RoleBasedRoutingRequestMapper(ResourceDictionaries resourceDictionaries,
LinkedHashMap<String,RequestMapper<T>> prioritizedRoleBasedMappers,
RequestMapper<T> defaultMapper)
Constructor.
|
RoleDimensionApiFilterRequestMapper(ResourceDictionaries resourceDictionaries,
Dimension dimension,
Map<String,Set<ApiFilter>> roleApiFilters,
RequestMapper<DataApiRequest> next)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ResourceDictionaries |
BardConfigResources.getResourceDictionaries()
The collection of resource dictionaries.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericTableLoader.loadTableDictionary(ResourceDictionaries dictionaries) |
void |
WikiTableLoader.loadTableDictionary(ResourceDictionaries dictionaries) |
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.