Class TimelineEntityGroupPlugin

java.lang.Object
org.apache.hadoop.yarn.server.timeline.TimelineEntityGroupPlugin

public abstract class TimelineEntityGroupPlugin extends Object
Plugin to map a requested query ( or an Entity/set of Entities ) to a CacheID. The Cache ID is an identifier to the data set that needs to be queried to serve the response for the query.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId>
    getTimelineEntityGroupId(String entityId, String entityType)
    Get the TimelineEntityGroupIds for the data sets that need to be scanned to serve the query.
    abstract Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId>
    getTimelineEntityGroupId(String entityType, SortedSet<String> entityIds, Set<String> eventTypes)
    Get the TimelineEntityGroupIds for the data sets that need to be scanned to serve the query.
    abstract Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId>
    getTimelineEntityGroupId(String entityType, org.apache.hadoop.yarn.server.timeline.NameValuePair primaryFilter, Collection<org.apache.hadoop.yarn.server.timeline.NameValuePair> secondaryFilters)
    Get the TimelineEntityGroupIds for the data sets that need to be scanned to serve the query.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TimelineEntityGroupPlugin

      public TimelineEntityGroupPlugin()
  • Method Details

    • getTimelineEntityGroupId

      public abstract Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId> getTimelineEntityGroupId(String entityType, org.apache.hadoop.yarn.server.timeline.NameValuePair primaryFilter, Collection<org.apache.hadoop.yarn.server.timeline.NameValuePair> secondaryFilters)
      Get the TimelineEntityGroupIds for the data sets that need to be scanned to serve the query.
      Parameters:
      entityType - Entity Type being queried
      primaryFilter - Primary filter being applied
      secondaryFilters - Secondary filters being applied in the query
      Returns:
      TimelineEntityGroupId
    • getTimelineEntityGroupId

      public abstract Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId> getTimelineEntityGroupId(String entityId, String entityType)
      Get the TimelineEntityGroupIds for the data sets that need to be scanned to serve the query.
      Parameters:
      entityType - Entity Type being queried
      entityId - Entity Id being requested
      Returns:
      TimelineEntityGroupId
    • getTimelineEntityGroupId

      public abstract Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId> getTimelineEntityGroupId(String entityType, SortedSet<String> entityIds, Set<String> eventTypes)
      Get the TimelineEntityGroupIds for the data sets that need to be scanned to serve the query.
      Parameters:
      entityType - Entity Type being queried
      entityIds - Entity Ids being requested
      eventTypes - Event Types being requested
      Returns:
      TimelineEntityGroupId