## Uses of Class
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity

- Packages that use TimelineEntity
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.records.timelineservice | Package org.apache.hadoop.yarn.api.records.timelineservice contains classes which define the data model for ATSv2.

- - ### Uses of TimelineEntity in org.apache.hadoop.yarn.api.records.timelineservice

    Subclasses of TimelineEntity in org.apache.hadoop.yarn.api.records.timelineservice
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ApplicationAttemptEntity` This entity represents an application attempt.
    `class` | `ApplicationEntity` This entity represents an application.
    `class` | `ClusterEntity` This entity represents a YARN cluster.
    `class` | `ContainerEntity` This entity represents a container belonging to an application attempt.
    `class` | `FlowActivityEntity` Entity that represents a record for flow activity.
    `class` | `FlowRunEntity` This entity represents a flow run.
    `class` | `HierarchicalTimelineEntity` This class extends timeline entity and defines parent-child relationships with other entities.
    `class` | `QueueEntity` This entity represents a queue.
    `class` | `SubApplicationEntity` This entity represents a user defined entities to be stored under sub application table.
    `class` | `UserEntity` This entity represents a user.

    Methods in org.apache.hadoop.yarn.api.records.timelineservice that return TimelineEntity
    Modifier and Type | Method and Description
    --- | ---
    `protected TimelineEntity` | TimelineEntity.`getReal()`

    Methods in org.apache.hadoop.yarn.api.records.timelineservice that return types with arguments of type TimelineEntity
    Modifier and Type | Method and Description
    --- | ---
    `List<TimelineEntity>` | TimelineEntities.`getEntities()`

    Methods in org.apache.hadoop.yarn.api.records.timelineservice with parameters of type TimelineEntity
    Modifier and Type | Method and Description
    --- | ---
    `void` | TimelineEntities.`addEntity(TimelineEntity entity)`
    `int` | TimelineEntity.`compareTo(TimelineEntity other)`
    `int` | FlowActivityEntity.`compareTo(TimelineEntity entity)`
    `static TimelineEvent` | ApplicationEntity.`getApplicationEvent(TimelineEntity te, String eventId)`
    `static boolean` | ApplicationEntity.`isApplicationEntity(TimelineEntity te)` Checks if the input TimelineEntity object is an ApplicationEntity.
    `static boolean` | SubApplicationEntity.`isSubApplicationEntity(TimelineEntity te)` Checks if the input TimelineEntity object is an SubApplicationEntity.

    Method parameters in org.apache.hadoop.yarn.api.records.timelineservice with type arguments of type TimelineEntity
    Modifier and Type | Method and Description
    --- | ---
    `void` | TimelineEntities.`addEntities(List<TimelineEntity> timelineEntities)`
    `void` | TimelineEntities.`setEntities(List<TimelineEntity> timelineEntities)`

    Constructors in org.apache.hadoop.yarn.api.records.timelineservice with parameters of type TimelineEntity
    Constructor and Description
    `ApplicationAttemptEntity(TimelineEntity entity)`
    `ApplicationEntity(TimelineEntity entity)`
    `ClusterEntity(TimelineEntity entity)`
    `ContainerEntity(TimelineEntity entity)`
    `FlowActivityEntity(TimelineEntity entity)`
    `FlowRunEntity(TimelineEntity entity)`
    `QueueEntity(TimelineEntity entity)`
    `SubApplicationEntity(TimelineEntity entity)`
    `TimelineEntity(TimelineEntity entity)` The constuctor is used to construct a proxy `TimelineEntity` or its subclass object from the real entity object that carries information.
    `UserEntity(TimelineEntity entity)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.