public final class TimelineEntityReaderFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static EntityTypeReader |
createEntityTypeReader(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context)
Creates a timeline entity type reader that will read all available entity
types within the specified context.
|
static TimelineEntityReader |
createMultipleEntitiesReader(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineEntityFilters filters,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve dataToRetrieve)
Creates a timeline entity reader instance for reading set of entities with
the specified input and predicates.
|
static TimelineEntityReader |
createSingleEntityReader(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve dataToRetrieve)
Creates a timeline entity reader instance for reading a single entity with
the specified input.
|
public static TimelineEntityReader createSingleEntityReader(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve dataToRetrieve)
context - Reader context which defines the scope in which query has to
be made.dataToRetrieve - Data to retrieve for each entity.public static TimelineEntityReader createMultipleEntitiesReader(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineEntityFilters filters, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve dataToRetrieve)
context - Reader context which defines the scope in which query has to
be made.filters - Filters which limit the entities returned.dataToRetrieve - Data to retrieve for each entity.public static EntityTypeReader createEntityTypeReader(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context)
context - Reader context which defines the scope in which query has to
be made. Limited to application level only.Copyright © 2008–2022 Apache Software Foundation. All rights reserved.