public interface ContentWriterFactory
ContentWriter.| Modifier and Type | Method and Description |
|---|---|
ContentWriter |
create(Map<String,String> headers)
Creates a
ContentWriter with the given set of event headers added to each StreamEvent
written through the ContentWriter returned. |
Id.Stream |
getStream()
Returns the Id of the stream that all
ContentWriter created by this factory will write to. |
Id.Stream getStream()
ContentWriter created by this factory will write to.ContentWriter create(Map<String,String> headers) throws IOException
ContentWriter with the given set of event headers added to each StreamEvent
written through the ContentWriter returned.IOExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.