public abstract class PipelineableWriter extends Object implements ChukwaWriter
ChukwaWriter.COMMIT_PENDING, ChukwaWriter.CommitStatus
COMMIT_FAIL, COMMIT_OK
Constructor and Description |
---|
PipelineableWriter() |
Modifier and Type | Method and Description |
---|---|
ChukwaWriter.CommitStatus |
add(List<Chunk> chunks)
Called repeatedly with data that should be serialized.
|
void |
setNextStage(ChukwaWriter next) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, init
public void setNextStage(ChukwaWriter next)
public ChukwaWriter.CommitStatus add(List<Chunk> chunks) throws WriterException
ChukwaWriter
add
in interface ChukwaWriter
chunks
- is a list of data to sendWriterException
- if error writing dataCopyright © 2016 Apache Software Foundation. All Rights Reserved.