Class TimelineReaderContext
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.TimelineContext
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext
Encapsulates fields necessary to make a query in timeline reader.
-
Constructor Summary
ConstructorsConstructorDescriptionTimelineReaderContext(String clusterId, String userId, String flowName, Long flowRunId, String appId, String entityType, Long entityIdPrefix, String entityId) TimelineReaderContext(String clusterId, String userId, String flowName, Long flowRunId, String appId, String entityType, Long entityIdPrefix, String entityId, String doasUser) TimelineReaderContext(String clusterId, String userId, String flowName, Long flowRunId, String appId, String entityType, Long entityIdPrefix, String entityId, String doasUser, boolean genericEntity) TimelineReaderContext(String clusterId, String userId, String flowName, Long flowRunId, String appId, String entityType, String entityId) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanvoidsetDoAsUser(String doAsUser) voidsetEntityId(String id) voidsetEntityIdPrefix(Long entityIdPrefix) voidsetEntityType(String type) voidsetGenericEntity(boolean genericEntity) Methods inherited from class org.apache.hadoop.yarn.server.timelineservice.TimelineContext
getAppId, getClusterId, getFlowName, getFlowRunId, getUserId, setAppId, setClusterId, setFlowName, setFlowRunId, setUserId
-
Constructor Details
-
TimelineReaderContext
-
TimelineReaderContext
-
TimelineReaderContext
-
TimelineReaderContext
-
TimelineReaderContext
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classTimelineContext
-
equals
- Overrides:
equalsin classTimelineContext
-
getEntityType
-
setEntityType
-
getEntityId
-
setEntityId
-
getEntityIdPrefix
-
setEntityIdPrefix
-
getDoAsUser
-
setDoAsUser
-
isGenericEntity
public boolean isGenericEntity() -
setGenericEntity
public void setGenericEntity(boolean genericEntity)
-