Class ExtendedLogMetaRequest.ComparisonExpression
java.lang.Object
org.apache.hadoop.yarn.logaggregation.ExtendedLogMetaRequest.ComparisonExpression
- Enclosing class:
- ExtendedLogMetaRequest
Wraps a comparison logic based on a stringified expression.
The format of the expression is:
>value = is greater than value
<value = is lower than value
value = is equal to value
-
Field Details
-
GREATER_OPERATOR
- See Also:
-
LESSER_OPERATOR
- See Also:
-
-
Constructor Details
-
ComparisonExpression
-
-
Method Details
-
match
-
match
-
match
Test the given value with the defined comparison functions based on stringified expression.- Parameters:
value- value to test withdefaultValue- value to return when no expression was defined- Returns:
- comparison test result or the given default value
-
toString
-