Class OrSelector
java.lang.Object
org.apache.drill.exec.resourcemgr.config.selectors.AbstractResourcePoolSelector
org.apache.drill.exec.resourcemgr.config.selectors.ComplexSelectors
org.apache.drill.exec.resourcemgr.config.selectors.OrSelector
- All Implemented Interfaces:
ResourcePoolSelector
Complex selector whose value is list of other Simple or Complex Selectors. There has to be at least 2 other
selectors configured in the value list for this selector. It does OR operation on result of all the child selectors
configured with it to evaluate if a query can be admitted to it's ResourcePool or not.
Example configuration is of form:
</>
selector: {
or: [{tag: "BITool"},{tag: "operational"}]
}
-
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.ComplexSelectors
childSelectors
Fields inherited from class org.apache.drill.exec.resourcemgr.config.selectors.AbstractResourcePoolSelector
SELECTOR_TYPE
-
Method Summary
Methods inherited from class org.apache.drill.exec.resourcemgr.config.selectors.ComplexSelectors
toString
Methods inherited from class org.apache.drill.exec.resourcemgr.config.selectors.AbstractResourcePoolSelector
getSelectorType
-
Method Details
-
isQuerySelected
- Specified by:
isQuerySelected
in interfaceResourcePoolSelector
- Specified by:
isQuerySelected
in classComplexSelectors
-