public class SolrWriter extends PipelineableWriter
ChukwaWriter.COMMIT_PENDING, ChukwaWriter.CommitStatusnextCOMMIT_FAIL, COMMIT_OK| Constructor and Description |
|---|
SolrWriter() |
| 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.
|
setNextStagepublic SolrWriter()
throws WriterException
WriterExceptionpublic void init(org.apache.hadoop.conf.Configuration c)
throws WriterException
ChukwaWriterWriterExceptionpublic void close()
throws WriterException
ChukwaWriterWriterExceptionpublic ChukwaWriter.CommitStatus add(List<Chunk> chunks) throws WriterException
ChukwaWriteradd in interface ChukwaWriteradd in class PipelineableWriterWriterExceptionCopyright © 2015 Apache Software Foundation. All Rights Reserved.