@Public
@Unstable
public final class TimelineStorageUtils
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
isIntegralValue(java.lang.Object obj) |
Checks if passed object is of integral type(Short/Integer/Long).
|
static boolean |
matchConfigFilters(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList configFilters) |
Matches config filters.
|
static boolean |
matchEventFilters(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList eventFilters) |
Matches event filters.
|
static boolean |
matchInfoFilters(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList infoFilters) |
Matches info filters.
|
static boolean |
matchIsRelatedTo(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList isRelatedTo) |
Matches isrelatedto.
|
static boolean |
matchMetricFilters(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList metricFilters) |
Matches metric filters.
|
static boolean |
matchRelatesTo(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList relatesTo) |
Matches relatesto.
|
public static boolean matchRelatesTo(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList relatesTo)
throws java.io.IOException
entity - entity which holds relatesto relations.relatesTo - the relations for filtering.java.io.IOException - if an unsupported filter for matching relations is
being matched.public static boolean matchIsRelatedTo(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList isRelatedTo)
throws java.io.IOException
entity - entity which holds isRelatedTo relations.isRelatedTo - the relations for filtering.java.io.IOException - if an unsupported filter for matching relations is
being matched.public static boolean matchConfigFilters(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList configFilters)
throws java.io.IOException
entity - entity which holds a map of config key-value pairs.configFilters - list of info filters.java.io.IOException - if an unsupported filter for matching config filters is
being matched.public static boolean matchInfoFilters(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList infoFilters)
throws java.io.IOException
entity - entity which holds a map of info key-value pairs.infoFilters - list of info filters.java.io.IOException - if an unsupported filter for matching info filters is
being matched.public static boolean matchEventFilters(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList eventFilters)
throws java.io.IOException
entity - entity which holds a set of event objects.eventFilters - the set of event Ids for filtering.java.io.IOException - if an unsupported filter for matching event filters is
being matched.public static boolean matchMetricFilters(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity,
TimelineFilterList metricFilters)
throws java.io.IOException
entity - entity which holds a set of metric objects.metricFilters - list of metric filters.java.io.IOException - if an unsupported filter for matching metric filters is
being matched.public static boolean isIntegralValue(java.lang.Object obj)
obj - Object to be checked.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.