public class FlowFileEvent extends Object implements org.apache.flume.Event
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
body |
private boolean |
bodyLoaded |
private Object |
bodyLock |
private FlowFile |
flowFile |
private Map<String,String> |
headers |
private boolean |
headersLoaded |
private ProcessSession |
session |
| Constructor and Description |
|---|
FlowFileEvent(FlowFile flowFile,
ProcessSession session) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody() |
Map<String,String> |
getHeaders() |
void |
setBody(byte[] body) |
void |
setHeaders(Map<String,String> headers) |
private final FlowFile flowFile
private final ProcessSession session
private boolean headersLoaded
private final Object bodyLock
private byte[] body
private boolean bodyLoaded
public FlowFileEvent(FlowFile flowFile, ProcessSession session)
public Map<String,String> getHeaders()
getHeaders in interface org.apache.flume.Eventpublic void setHeaders(Map<String,String> headers)
setHeaders in interface org.apache.flume.Eventpublic byte[] getBody()
getBody in interface org.apache.flume.Eventpublic void setBody(byte[] body)
setBody in interface org.apache.flume.EventCopyright © 2017 Apache NiFi Project. All rights reserved.