Class TagSelector
java.lang.Object
org.apache.drill.exec.resourcemgr.config.selectors.AbstractResourcePoolSelector
org.apache.drill.exec.resourcemgr.config.selectors.TagSelector
- All Implemented Interfaces:
ResourcePoolSelector
Simple selector whose value is a string representing a tag. It tries to match it's configured tag with one of
the tags configured for the query using connection/session parameter. If a query posses at least one tag same as
this selector tag then it will be admitted in the respective ResourcePool.
Example configuration is of form:
selector: {
tag: "BITool"
}
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.resourcemgr.config.selectors.ResourcePoolSelector
ResourcePoolSelector.SelectorType
-
Field Summary
Fields inherited from class org.apache.drill.exec.resourcemgr.config.selectors.AbstractResourcePoolSelector
SELECTOR_TYPE
-
Method Summary
-
Method Details
-
getSelectorType
- Specified by:
getSelectorType
in interfaceResourcePoolSelector
- Overrides:
getSelectorType
in classAbstractResourcePoolSelector
-
isQuerySelected
- Specified by:
isQuerySelected
in interfaceResourcePoolSelector
- Specified by:
isQuerySelected
in classAbstractResourcePoolSelector
-
getTagValue
-
toString
- Overrides:
toString
in classAbstractResourcePoolSelector
-