org.apache.hadoop.chukwa.datacollection.writer
Class ConsoleWriter

java.lang.Object
  extended by org.apache.hadoop.chukwa.datacollection.writer.ConsoleWriter
All Implemented Interfaces:
ChukwaWriter

public class ConsoleWriter
extends Object
implements ChukwaWriter


Constructor Summary
ConsoleWriter()
           
ConsoleWriter(boolean printData)
           
 
Method Summary
 void add(Chunk data)
           
 void add(List<Chunk> chunks)
           
 void close()
           
 void init(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleWriter

public ConsoleWriter()

ConsoleWriter

public ConsoleWriter(boolean printData)
Method Detail

close

public void close()
Specified by:
close in interface ChukwaWriter

init

public void init(org.apache.hadoop.conf.Configuration conf)
          throws WriterException
Specified by:
init in interface ChukwaWriter
Throws:
WriterException

add

public void add(Chunk data)
         throws WriterException
Throws:
WriterException

add

public void add(List<Chunk> chunks)
         throws WriterException
Specified by:
add in interface ChukwaWriter
Throws:
WriterException


Copyright © ${year} The Apache Software Foundation