java.lang.AutoCloseableCosmosDBDocumentStoreReaderpublic interface DocumentStoreReader<Document extends TimelineDocument>
extends java.lang.AutoCloseable
DocumentStoreVendor have to implement this for creating
reader to its backend.| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<java.lang.String> |
fetchEntityTypes(java.lang.String collectionName,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context) |
|
Document |
readDocument(java.lang.String collectionName,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
java.lang.Class<Document> documentClass) |
|
java.util.List<Document> |
readDocumentList(java.lang.String collectionName,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context,
java.lang.Class<Document> documentClass,
long documentsSize) |
Document readDocument(java.lang.String collectionName, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context, java.lang.Class<Document> documentClass) throws NoDocumentFoundException
NoDocumentFoundExceptionjava.util.List<Document> readDocumentList(java.lang.String collectionName, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context, java.lang.Class<Document> documentClass, long documentsSize) throws NoDocumentFoundException
NoDocumentFoundExceptionjava.util.Set<java.lang.String> fetchEntityTypes(java.lang.String collectionName,
org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext context)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.