java.lang.AutoCloseable, DocumentStoreReader<TimelineDoc>public class CosmosDBDocumentStoreReader<TimelineDoc extends TimelineDocument> extends java.lang.Object implements DocumentStoreReader<TimelineDoc>
DocumentStoreVendor.COSMOS_DB.| Constructor | Description |
|---|---|
CosmosDBDocumentStoreReader(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
java.util.Set<java.lang.String> |
fetchEntityTypes(java.lang.String collectionName,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context) |
|
TimelineDoc |
readDocument(java.lang.String collectionName,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
java.lang.Class<TimelineDoc> timelineDocClass) |
|
java.util.List<TimelineDoc> |
readDocumentList(java.lang.String collectionName,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
java.lang.Class<TimelineDoc> timelineDocClass,
long size) |
public CosmosDBDocumentStoreReader(org.apache.hadoop.conf.Configuration conf)
public java.util.List<TimelineDoc> readDocumentList(java.lang.String collectionName, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context, java.lang.Class<TimelineDoc> timelineDocClass, long size) throws NoDocumentFoundException
readDocumentList in interface DocumentStoreReader<TimelineDoc extends TimelineDocument>NoDocumentFoundExceptionpublic java.util.Set<java.lang.String> fetchEntityTypes(java.lang.String collectionName,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context)
fetchEntityTypes in interface DocumentStoreReader<TimelineDoc extends TimelineDocument>public TimelineDoc readDocument(java.lang.String collectionName, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context, java.lang.Class<TimelineDoc> timelineDocClass) throws NoDocumentFoundException
readDocument in interface DocumentStoreReader<TimelineDoc extends TimelineDocument>NoDocumentFoundExceptionpublic void close()
close in interface java.lang.AutoCloseableCopyright © 2008–2025 Apache Software Foundation. All rights reserved.