Class TimelineFilterList
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilter
org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilterList
Implementation of
TimelineFilter that represents an ordered list of
timeline filters which will then be evaluated with a specified boolean
operator TimelineFilterList.Operator.AND or TimelineFilterList.Operator.OR. Since you can use
timeline filter lists as children of timeline filter lists, you can create a
hierarchy of filters to be evaluated.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecifies how filters in the filter list will be evaluated.Nested classes/interfaces inherited from class org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilter
TimelineFilter.TimelineFilterType -
Constructor Summary
ConstructorsConstructorDescriptionTimelineFilterList(TimelineFilter... filters) TimelineFilterList(TimelineFilterList.Operator op, TimelineFilter... filters) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilter(TimelineFilter filter) booleanGet the filter list.Get the operator.inthashCode()voidtoString()
-
Constructor Details
-
TimelineFilterList
-
TimelineFilterList
public TimelineFilterList() -
TimelineFilterList
-
TimelineFilterList
-
-
Method Details
-
getFilterType
- Specified by:
getFilterTypein classTimelineFilter
-
getFilterList
Get the filter list.- Returns:
- filterList
-
getOperator
Get the operator.- Returns:
- operator
-
setOperator
-
addFilter
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toStringin classTimelineFilter
-