public class NullWriter extends Object implements ChukwaWriter
ChukwaWriter.COMMIT_PENDING, ChukwaWriter.CommitStatus| Modifier and Type | Field and Description | 
|---|---|
| static String | RATE_OPT_NAME | 
COMMIT_FAIL, COMMIT_OK| Constructor and Description | 
|---|
| NullWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| ChukwaWriter.CommitStatus | add(List<Chunk> chunks)Called repeatedly with data that should be serialized. | 
| void | close()Called once, indicating that the writer should close files and prepare
 to exit. | 
| void | init(org.apache.hadoop.conf.Configuration c)Called once to initialize this writer. | 
public static final String RATE_OPT_NAME
public ChukwaWriter.CommitStatus add(List<Chunk> chunks) throws WriterException
ChukwaWriteradd in interface ChukwaWriterWriterExceptionpublic void close()
           throws WriterException
ChukwaWriterclose in interface ChukwaWriterWriterExceptionpublic void init(org.apache.hadoop.conf.Configuration c)
          throws WriterException
ChukwaWriterinit in interface ChukwaWriterWriterExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.