public class GenericBinderFactory extends AbstractBinderFactory
DEPRECATED_PERMISSIVE_AVAILABILITY_FLAG, DRUID_DIM_LOADER_HC_LAST_RUN_PERIOD_MILLIS, DRUID_UNCOVERED_INTERVAL_LIMIT, HC_LAST_RUN_PERIOD_MILLIS_DEFAULT, HEALTH_CHECK_NAME_DATASOURCE_METADATA, HEALTH_CHECK_NAME_DIMENSION, HEALTH_CHECK_NAME_DRUID_DIM_LOADER, HEALTH_CHECK_NAME_LOOKUP_METADATA, HEALTH_CHECK_VERSION, LOADER_SCHEDULER_THREAD_POOL_SIZE, LOADER_SCHEDULER_THREAD_POOL_SIZE_DEFAULT, SEG_LOADER_HC_LAST_RUN_PERIOD_MILLIS, SYSTEM_CONFIG_TIMEZONE_KEY| Constructor and Description |
|---|
GenericBinderFactory()
Constructs a GenericBinderFactory using the MetadataDruidWebService
to configure dimensions, tables, and metrics from Druid.
|
| Modifier and Type | Method and Description |
|---|---|
protected DimensionValueLoadTask |
buildDruidDimensionsLoader(DruidWebService webService,
PhysicalTableDictionary physicalTableDictionary,
DimensionDictionary dimensionDictionary)
Build a DimensionValueLoadTask.
|
protected Set<DimensionConfig> |
getDimensionConfigurations()
A set of all dimension configurations for this application.
|
protected MetricLoader |
getMetricLoader()
Create a Metric Loader.
|
protected TableLoader |
getTableLoader()
Create a Table Loader.
|
afterBinding, afterRegistration, buildApiJobStore, buildBinder, buildBroadcastChannel, buildCache, buildConfigurationLoader, buildDataApiRequestFactory, buildDataSourceMetadataLoader, buildDruidFilterBuilder, buildDruidQueryBuilder, buildDruidResponseParser, buildDruidWebService, buildDruidWebService, buildDruidWebServiceHeaderSupplier, buildHavingGenerator, buildJobPayloadBuilder, buildJobRowBuilder, buildLookupMetaDataLoader, buildMetadataDruidWebService, buildNonUiDruidWebService, buildPreResponseStore, buildQuerySigningService, buildRateLimiter, buildResponseFormatResolver, buildResponseProcessorFactory, buildResponseWriter, buildSigningFunctions, collectFeatureFlags, collectFeatureFlags, collectFeatureFlags, finalize, getAsynchronousProcessBuilder, getClock, getConfigurationLoader, getDataSourceMetadataService, getDimensionLoader, getGranularityDictionary, getGranularityParser, getHttpResponseMaker, getMapper, getMappers, getPhysicalTableResolver, getRequestMappers, getVolatileIntervalsService, getWorkflow, initializeMetricsFilterSetBuilder, initializePreResponseDeserializer, initializeSketchConverter, scheduleLoader, setupDataSourceMetaData, setupDruidDimensionsLoader, setupGauges, setupHealthChecks, setupLookUpMetadataLoader, shutdownLoaderSchedulerpublic GenericBinderFactory()
protected Set<DimensionConfig> getDimensionConfigurations()
AbstractBinderFactoryThese dimension configurations will be used to build the dimensions dictionary
getDimensionConfigurations in class AbstractBinderFactoryprotected TableLoader getTableLoader()
AbstractBinderFactoryTable loader populates the physicalTableDictionary and logicalTableDictionary
getTableLoader in class AbstractBinderFactoryprotected DimensionValueLoadTask buildDruidDimensionsLoader(DruidWebService webService, PhysicalTableDictionary physicalTableDictionary, DimensionDictionary dimensionDictionary)
AbstractBinderFactorybuildDruidDimensionsLoader in class AbstractBinderFactorywebService - The web service used by the loader to query dimension valuesphysicalTableDictionary - The table to update dimensions ondimensionDictionary - The dimensions to updateprotected MetricLoader getMetricLoader()
AbstractBinderFactoryMetric loader populates the metricDictionary
getMetricLoader in class AbstractBinderFactoryCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.