public static class AvroFlumeEvent.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroFlumeEvent> implements org.apache.avro.data.RecordBuilder<AvroFlumeEvent>
| Modifier and Type | Method and Description |
|---|---|
AvroFlumeEvent |
build() |
AvroFlumeEvent.Builder |
clearBody()
Clears the value of the 'body' field
|
AvroFlumeEvent.Builder |
clearHeaders()
Clears the value of the 'headers' field
|
ByteBuffer |
getBody()
Gets the value of the 'body' field
|
Map<CharSequence,CharSequence> |
getHeaders()
Gets the value of the 'headers' field
|
boolean |
hasBody()
Checks whether the 'body' field has been set
|
boolean |
hasHeaders()
Checks whether the 'headers' field has been set
|
AvroFlumeEvent.Builder |
setBody(ByteBuffer value)
Sets the value of the 'body' field
|
AvroFlumeEvent.Builder |
setHeaders(Map<CharSequence,CharSequence> value)
Sets the value of the 'headers' field
|
public Map<CharSequence,CharSequence> getHeaders()
public AvroFlumeEvent.Builder setHeaders(Map<CharSequence,CharSequence> value)
public boolean hasHeaders()
public AvroFlumeEvent.Builder clearHeaders()
public ByteBuffer getBody()
public AvroFlumeEvent.Builder setBody(ByteBuffer value)
public boolean hasBody()
public AvroFlumeEvent.Builder clearBody()
public AvroFlumeEvent build()
build in interface org.apache.avro.data.RecordBuilder<AvroFlumeEvent>Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.