|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.specific.SpecificRecordBase org.apache.flume.source.avro.AvroFlumeEvent
public class AvroFlumeEvent
Nested Class Summary | |
---|---|
static class |
AvroFlumeEvent.Builder
RecordBuilder for AvroFlumeEvent instances. |
Field Summary | |
---|---|
ByteBuffer |
body
Deprecated. |
Map<CharSequence,CharSequence> |
headers
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
Constructor Summary | |
---|---|
AvroFlumeEvent()
|
Method Summary | |
---|---|
Object |
get(int field$)
|
ByteBuffer |
getBody()
Gets the value of the 'body' field. |
Map<CharSequence,CharSequence> |
getHeaders()
Gets the value of the 'headers' field. |
org.apache.avro.Schema |
getSchema()
|
static AvroFlumeEvent.Builder |
newBuilder()
Creates a new AvroFlumeEvent RecordBuilder |
static AvroFlumeEvent.Builder |
newBuilder(AvroFlumeEvent.Builder other)
Creates a new AvroFlumeEvent RecordBuilder by copying an existing Builder |
static AvroFlumeEvent.Builder |
newBuilder(AvroFlumeEvent other)
Creates a new AvroFlumeEvent RecordBuilder by copying an existing AvroFlumeEvent instance |
void |
put(int field$,
Object value$)
|
void |
setBody(ByteBuffer value)
Sets the value of the 'body' field. |
void |
setHeaders(Map<CharSequence,CharSequence> value)
Sets the value of the 'headers' field. |
Methods inherited from class org.apache.avro.specific.SpecificRecordBase |
---|
compareTo, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public Map<CharSequence,CharSequence> headers
@Deprecated public ByteBuffer body
Constructor Detail |
---|
public AvroFlumeEvent()
Method Detail |
---|
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public Map<CharSequence,CharSequence> getHeaders()
public void setHeaders(Map<CharSequence,CharSequence> value)
value
- the value to set.public ByteBuffer getBody()
public void setBody(ByteBuffer value)
value
- the value to set.public static AvroFlumeEvent.Builder newBuilder()
public static AvroFlumeEvent.Builder newBuilder(AvroFlumeEvent.Builder other)
public static AvroFlumeEvent.Builder newBuilder(AvroFlumeEvent other)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |