|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.specific.SpecificRecordBase com.cloudera.flume.handlers.avro.AvroFlumeOGEvent
public class AvroFlumeOGEvent
Nested Class Summary | |
---|---|
static class |
AvroFlumeOGEvent.Builder
RecordBuilder for AvroFlumeOGEvent instances. |
Field Summary | |
---|---|
ByteBuffer |
body
Deprecated. |
Map<CharSequence,ByteBuffer> |
fields
Deprecated. |
CharSequence |
host
Deprecated. |
long |
nanos
Deprecated. |
Priority |
priority
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
long |
timestamp
Deprecated. |
Constructor Summary | |
---|---|
AvroFlumeOGEvent()
|
Method Summary | |
---|---|
Object |
get(int field$)
|
ByteBuffer |
getBody()
Gets the value of the 'body' field. |
Map<CharSequence,ByteBuffer> |
getFields()
Gets the value of the 'fields' field. |
CharSequence |
getHost()
Gets the value of the 'host' field. |
Long |
getNanos()
Gets the value of the 'nanos' field. |
Priority |
getPriority()
Gets the value of the 'priority' field. |
org.apache.avro.Schema |
getSchema()
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field. |
static AvroFlumeOGEvent.Builder |
newBuilder()
Creates a new AvroFlumeOGEvent RecordBuilder |
static AvroFlumeOGEvent.Builder |
newBuilder(AvroFlumeOGEvent.Builder other)
Creates a new AvroFlumeOGEvent RecordBuilder by copying an existing Builder |
static AvroFlumeOGEvent.Builder |
newBuilder(AvroFlumeOGEvent other)
Creates a new AvroFlumeOGEvent RecordBuilder by copying an existing AvroFlumeOGEvent instance |
void |
put(int field$,
Object value$)
|
void |
setBody(ByteBuffer value)
Sets the value of the 'body' field. |
void |
setFields(Map<CharSequence,ByteBuffer> value)
Sets the value of the 'fields' field. |
void |
setHost(CharSequence value)
Sets the value of the 'host' field. |
void |
setNanos(Long value)
Sets the value of the 'nanos' field. |
void |
setPriority(Priority value)
Sets the value of the 'priority' field. |
void |
setTimestamp(Long value)
Sets the value of the 'timestamp' 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 long timestamp
@Deprecated public Priority priority
@Deprecated public ByteBuffer body
@Deprecated public long nanos
@Deprecated public CharSequence host
@Deprecated public Map<CharSequence,ByteBuffer> fields
Constructor Detail |
---|
public AvroFlumeOGEvent()
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 Long getTimestamp()
public void setTimestamp(Long value)
value
- the value to set.public Priority getPriority()
public void setPriority(Priority value)
value
- the value to set.public ByteBuffer getBody()
public void setBody(ByteBuffer value)
value
- the value to set.public Long getNanos()
public void setNanos(Long value)
value
- the value to set.public CharSequence getHost()
public void setHost(CharSequence value)
value
- the value to set.public Map<CharSequence,ByteBuffer> getFields()
public void setFields(Map<CharSequence,ByteBuffer> value)
value
- the value to set.public static AvroFlumeOGEvent.Builder newBuilder()
public static AvroFlumeOGEvent.Builder newBuilder(AvroFlumeOGEvent.Builder other)
public static AvroFlumeOGEvent.Builder newBuilder(AvroFlumeOGEvent other)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |