Package org.apache.druid.metadata
Interface MetadataRuleManager
- All Known Implementing Classes:
SQLMetadataRuleManager
public interface MetadataRuleManager
-
Method Summary
Modifier and TypeMethodDescriptiongetRulesWithDefault(String dataSource) booleanoverrideRule(String dataSource, List<Rule> rulesConfig, AuditInfo auditInfo) voidpoll()intremoveRulesForEmptyDatasourcesOlderThan(long timestamp) Remove rules for non-existence datasource (datasource with no segment) created older than the given timestamp.voidstart()voidstop()
-
Method Details
-
start
void start() -
stop
void stop() -
poll
void poll() -
getAllRules
-
getRules
-
getRulesWithDefault
-
overrideRule
-
removeRulesForEmptyDatasourcesOlderThan
int removeRulesForEmptyDatasourcesOlderThan(long timestamp) Remove rules for non-existence datasource (datasource with no segment) created older than the given timestamp.- Parameters:
timestamp- timestamp in milliseconds- Returns:
- number of rules removed
-