public class TimelineCollectionWriter<Document extends TimelineDocument>
extends java.lang.Object
CollectionType under a specific
DocumentStoreVendor backend.| Constructor | Description |
|---|---|
TimelineCollectionWriter(CollectionType collectionType,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
void |
writeDocument(Document timelineDocument) |
public TimelineCollectionWriter(CollectionType collectionType, org.apache.hadoop.conf.Configuration conf) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic void writeDocument(Document timelineDocument)
public void flush()
public void close()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.