java.lang.Object
org.apache.drill.exec.resourcemgr.config.selectors.AbstractResourcePoolSelector
org.apache.drill.exec.resourcemgr.config.selectors.TagSelector
All Implemented Interfaces:
ResourcePoolSelector

public class TagSelector extends AbstractResourcePoolSelector
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"
 }