Class SegmentMetadataQuerySegmentWalker
java.lang.Object
org.apache.druid.segment.metadata.SegmentMetadataQuerySegmentWalker
- All Implemented Interfaces:
QuerySegmentWalker
This
QuerySegmentWalker implementation is specific to SegmentMetadata queries
executed by CoordinatorSegmentMetadataCache and is in parity with CachingClusteredClient.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final QueryRunnerFactoryConglomerateprotected final ServerConfig -
Constructor Summary
ConstructorsConstructorDescriptionSegmentMetadataQuerySegmentWalker(CoordinatorServerView serverView, DruidHttpClientConfig httpClientConfig, QueryRunnerFactoryConglomerate conglomerate, ServerConfig serverConfig, ServiceEmitter emitter) -
Method Summary
Modifier and TypeMethodDescription<T> QueryRunner<T>getQueryRunnerForIntervals(Query<T> query, Iterable<org.joda.time.Interval> intervals) <T> QueryRunner<T>getQueryRunnerForSegments(Query<T> query, Iterable<SegmentDescriptor> specs)
-
Field Details
-
conglomerate
-
serverConfig
-
-
Constructor Details
-
SegmentMetadataQuerySegmentWalker
@Inject public SegmentMetadataQuerySegmentWalker(CoordinatorServerView serverView, DruidHttpClientConfig httpClientConfig, QueryRunnerFactoryConglomerate conglomerate, ServerConfig serverConfig, ServiceEmitter emitter)
-
-
Method Details
-
getQueryRunnerForIntervals
public <T> QueryRunner<T> getQueryRunnerForIntervals(Query<T> query, Iterable<org.joda.time.Interval> intervals) - Specified by:
getQueryRunnerForIntervalsin interfaceQuerySegmentWalker
-
getQueryRunnerForSegments
public <T> QueryRunner<T> getQueryRunnerForSegments(Query<T> query, Iterable<SegmentDescriptor> specs) - Specified by:
getQueryRunnerForSegmentsin interfaceQuerySegmentWalker
-