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