org.apache.hadoop.chukwa.datacollection.writer
Class PipelineableWriter
java.lang.Object
org.apache.hadoop.chukwa.datacollection.writer.PipelineableWriter
- All Implemented Interfaces:
- ChukwaWriter
- Direct Known Subclasses:
- Dedup, ExtractorWriter, SeqFileWriter, SocketTeeWriter
public abstract class PipelineableWriter
- extends Object
- implements ChukwaWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PipelineableWriter
public PipelineableWriter()
setNextStage
public void setNextStage(ChukwaWriter next)
add
public ChukwaWriter.CommitStatus add(List<Chunk> chunks)
throws WriterException
- Description copied from interface:
ChukwaWriter
- Called repeatedly with data that should be serialized.
Subclasses may assume that init() will be called before any calls to
add(), and that add() won't be called after close().
- Specified by:
add
in interface ChukwaWriter
- Returns:
-
- Throws:
WriterException
Copyright © ${year} The Apache Software Foundation