public abstract class PipelineableWriter extends Object implements ChukwaWriter
ChukwaWriter.COMMIT_PENDING, ChukwaWriter.CommitStatus
Modifier and Type | Field and Description |
---|---|
protected ChukwaWriter |
next |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, init
protected ChukwaWriter next
public void setNextStage(ChukwaWriter next)
public ChukwaWriter.CommitStatus add(List<Chunk> chunks) throws WriterException
ChukwaWriter
add
in interface ChukwaWriter
WriterException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.