| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Event
Basic representation of a data object in Flume. Provides access to data as it flows through the system.
| Method Summary | |
|---|---|
|  byte[] | getBody()Returns the raw byte array of the data contained in this event. | 
|  Map<String,String> | getHeaders()Returns a map of name-value pairs describing the data stored in the body. | 
|  void | setBody(byte[] body)Sets the raw byte array of the data contained in this event. | 
|  void | setHeaders(Map<String,String> headers)Set the event headers | 
| Method Detail | 
|---|
Map<String,String> getHeaders()
void setHeaders(Map<String,String> headers)
headers - Map of headers to replace the current headers.byte[] getBody()
void setBody(byte[] body)
body - The data.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||