Class TimelineCompareFilter
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilter
org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineCompareFilter
- Direct Known Subclasses:
TimelineKeyValueFilter
Filter class which represents filter to be applied based on key-value pair
and the relation between them represented by different relational operators.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilter
TimelineFilter.TimelineFilterType -
Constructor Summary
ConstructorsConstructorDescriptionTimelineCompareFilter(TimelineCompareOp op, String key, Object val) TimelineCompareFilter(TimelineCompareOp op, String key, Object val, boolean keyMustExistFlag) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()booleangetValue()inthashCode()voidsetCompareOp(TimelineCompareOp timelineCompareOp, boolean keyExistFlag) voidvoidtoString()
-
Constructor Details
-
TimelineCompareFilter
public TimelineCompareFilter() -
TimelineCompareFilter
public TimelineCompareFilter(TimelineCompareOp op, String key, Object val, boolean keyMustExistFlag) -
TimelineCompareFilter
-
-
Method Details
-
getFilterType
- Specified by:
getFilterTypein classTimelineFilter
-
getCompareOp
-
getKey
-
setKey
-
getValue
-
setCompareOp
-
setValue
-
getKeyMustExist
public boolean getKeyMustExist() -
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toStringin classTimelineFilter
-