Package org.apache.druid.server.broker
Class BrokerDynamicConfig.Builder
java.lang.Object
org.apache.druid.server.broker.BrokerDynamicConfig.Builder
- Enclosing class:
- BrokerDynamicConfig
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Builder(List<QueryBlocklistRule> queryBlocklist, QueryContext queryContext, Map<String, PerSegmentTimeoutConfig> perSegmentTimeoutConfig) -
Method Summary
Modifier and TypeMethodDescriptionbuild()build(BrokerDynamicConfig defaults) Builds a BrokerDynamicConfig using either the configured values, or the default value if not configured.withPerSegmentTimeoutConfig(Map<String, PerSegmentTimeoutConfig> perSegmentTimeoutConfig) withQueryBlocklist(List<QueryBlocklistRule> queryBlocklist) withQueryContext(QueryContext queryContext)
-
Constructor Details
-
Builder
public Builder() -
Builder
public Builder(@Nullable List<QueryBlocklistRule> queryBlocklist, @Nullable QueryContext queryContext, @Nullable Map<String, PerSegmentTimeoutConfig> perSegmentTimeoutConfig)
-
-
Method Details
-
withQueryBlocklist
-
withQueryContext
-
withPerSegmentTimeoutConfig
public BrokerDynamicConfig.Builder withPerSegmentTimeoutConfig(Map<String, PerSegmentTimeoutConfig> perSegmentTimeoutConfig) -
build
-
build
Builds a BrokerDynamicConfig using either the configured values, or the default value if not configured.
-