Class ValuesSourceRegistry
java.lang.Object
org.elasticsearch.search.aggregations.support.ValuesSourceRegistry
ValuesSourceRegistry holds the mapping from ValuesSourceTypes to functions for building aggregation components.  DO NOT
 directly instantiate this class, instead get an already-configured copy from SearchExecutionContext.getValuesSourceRegistry(),
 or (in the case of some test scenarios only) directly from SearchModule.getValuesSourceRegistry()- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionValuesSourceRegistry(Map<ValuesSourceRegistry.RegistryKey<?>,List<Map.Entry<ValuesSourceType,?>>> aggregatorRegistry, AggregationUsageService usageService)
- 
Method SummaryModifier and TypeMethodDescription<T> TgetAggregator(ValuesSourceRegistry.RegistryKey<T> registryKey, ValuesSourceConfig valuesSourceConfig)booleanisRegistered(ValuesSourceRegistry.RegistryKey<?> registryKey)
- 
Field Details- 
UNREGISTERED_KEY
 
- 
- 
Constructor Details- 
ValuesSourceRegistrypublic ValuesSourceRegistry(Map<ValuesSourceRegistry.RegistryKey<?>,List<Map.Entry<ValuesSourceType,?>>> aggregatorRegistry, AggregationUsageService usageService)
 
- 
- 
Method Details- 
isRegistered
- 
getAggregatorpublic <T> T getAggregator(ValuesSourceRegistry.RegistryKey<T> registryKey, ValuesSourceConfig valuesSourceConfig)
- 
getUsageService
 
-