@InterfaceAudience.Public @InterfaceStability.Unstable public final class TimelineStorageUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isIntegralValue(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 IOException
entity - entity which holds relatesto relations.relatesTo - the relations for filtering.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 IOException
entity - entity which holds isRelatedTo relations.isRelatedTo - the relations for filtering.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 IOException
entity - entity which holds a map of config key-value pairs.configFilters - list of info filters.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 IOException
entity - entity which holds a map of info key-value pairs.infoFilters - list of info filters.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 IOException
entity - entity which holds a set of event objects.eventFilters - the set of event Ids for filtering.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 IOException
entity - entity which holds a set of metric objects.metricFilters - list of metric filters.IOException - if an unsupported filter for matching metric filters is
     being matched.public static boolean isIntegralValue(Object obj)
obj - Object to be checked.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.