public class TimelineCollectionReader
extends java.lang.Object
CollectionType under a specific DocumentStoreVendor backend.| Constructor | Description |
|---|---|
TimelineCollectionReader(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
java.util.Set<java.lang.String> |
fetchEntityTypes(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context) |
Fetches the list of Entity Types i.e (YARN_CONTAINER,
YARN_APPLICATION_ATTEMPT etc.) for an application Id.
|
TimelineEntityDocument |
readDocument(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context) |
Read a document from
DocumentStoreVendor backend for
a CollectionType. |
java.util.List<TimelineEntityDocument> |
readDocuments(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
long documentsSize) |
Read a list of documents from
DocumentStoreVendor backend for
a CollectionType. |
public TimelineCollectionReader(org.apache.hadoop.conf.Configuration conf)
throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic TimelineEntityDocument readDocument(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context) throws java.io.IOException
DocumentStoreVendor backend for
a CollectionType.context - of the timeline readerjava.io.IOException - on error while readingpublic java.util.List<TimelineEntityDocument> readDocuments(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context, long documentsSize) throws java.io.IOException
DocumentStoreVendor backend for
a CollectionType.context - of the timeline readerdocumentsSize - to limitjava.io.IOException - on error while readingpublic java.util.Set<java.lang.String> fetchEntityTypes(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context)
context - of the timeline readerpublic void close()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.