org.apache.flume.event
Class EventBuilder
java.lang.Object
org.apache.flume.event.EventBuilder
public class EventBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventBuilder
public EventBuilder()
withBody
public static Event withBody(byte[] body)
withBody
public static Event withBody(byte[] body,
Map<String,String> headers)
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.