public class HBaseWriter extends PipelineableWriter
ChukwaWriter.COMMIT_PENDING, ChukwaWriter.CommitStatusnextCOMMIT_FAIL, COMMIT_OK| Constructor and Description | 
|---|
| HBaseWriter() | 
| HBaseWriter(boolean reportStats) | 
| HBaseWriter(ChukwaConfiguration conf,
           org.apache.hadoop.conf.Configuration hconf) | 
| 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. | 
| String | findHBaseColumnFamilyName(String dataType) | 
| Annotation.Table | findHBaseTable(String dataType) | 
| void | init(org.apache.hadoop.conf.Configuration conf)Called once to initialize this writer. | 
setNextStagepublic HBaseWriter()
            throws IOException
IOExceptionpublic HBaseWriter(boolean reportStats)
            throws IOException
IOExceptionpublic HBaseWriter(ChukwaConfiguration conf, org.apache.hadoop.conf.Configuration hconf) throws IOException
IOExceptionpublic void close()
ChukwaWriterpublic void init(org.apache.hadoop.conf.Configuration conf)
          throws WriterException
ChukwaWriterWriterExceptionpublic ChukwaWriter.CommitStatus add(List<Chunk> chunks) throws WriterException
ChukwaWriteradd in interface ChukwaWriteradd in class PipelineableWriterWriterExceptionpublic Annotation.Table findHBaseTable(String dataType) throws UnknownRecordTypeException
UnknownRecordTypeExceptionpublic String findHBaseColumnFamilyName(String dataType) throws UnknownRecordTypeException
UnknownRecordTypeExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.