public abstract class PipelineableWriter extends Object implements ChukwaWriter
ChukwaWriter.COMMIT_PENDING, ChukwaWriter.CommitStatusCOMMIT_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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, initpublic void setNextStage(ChukwaWriter next)
public ChukwaWriter.CommitStatus add(List<Chunk> chunks) throws WriterException
ChukwaWriteradd in interface ChukwaWriterWriterExceptionCopyright © ${year} The Apache Software Foundation