|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.data.RecordBuilderBase<T> org.apache.avro.specific.SpecificRecordBuilderBase<AvroFlumeOGEvent> com.cloudera.flume.handlers.avro.AvroFlumeOGEvent.Builder
public static class AvroFlumeOGEvent.Builder
RecordBuilder for AvroFlumeOGEvent instances.
Method Summary | |
---|---|
AvroFlumeOGEvent |
build()
|
AvroFlumeOGEvent.Builder |
clearBody()
Clears the value of the 'body' field |
AvroFlumeOGEvent.Builder |
clearFields()
Clears the value of the 'fields' field |
AvroFlumeOGEvent.Builder |
clearHost()
Clears the value of the 'host' field |
AvroFlumeOGEvent.Builder |
clearNanos()
Clears the value of the 'nanos' field |
AvroFlumeOGEvent.Builder |
clearPriority()
Clears the value of the 'priority' field |
AvroFlumeOGEvent.Builder |
clearTimestamp()
Clears the value of the 'timestamp' 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 |
Long |
getTimestamp()
Gets the value of the 'timestamp' field |
boolean |
hasBody()
Checks whether the 'body' field has been set |
boolean |
hasFields()
Checks whether the 'fields' field has been set |
boolean |
hasHost()
Checks whether the 'host' field has been set |
boolean |
hasNanos()
Checks whether the 'nanos' field has been set |
boolean |
hasPriority()
Checks whether the 'priority' field has been set |
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set |
AvroFlumeOGEvent.Builder |
setBody(ByteBuffer value)
Sets the value of the 'body' field |
AvroFlumeOGEvent.Builder |
setFields(Map<CharSequence,ByteBuffer> value)
Sets the value of the 'fields' field |
AvroFlumeOGEvent.Builder |
setHost(CharSequence value)
Sets the value of the 'host' field |
AvroFlumeOGEvent.Builder |
setNanos(long value)
Sets the value of the 'nanos' field |
AvroFlumeOGEvent.Builder |
setPriority(Priority value)
Sets the value of the 'priority' field |
AvroFlumeOGEvent.Builder |
setTimestamp(long value)
Sets the value of the 'timestamp' field |
Methods inherited from class org.apache.avro.data.RecordBuilderBase |
---|
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Long getTimestamp()
public AvroFlumeOGEvent.Builder setTimestamp(long value)
public boolean hasTimestamp()
public AvroFlumeOGEvent.Builder clearTimestamp()
public Priority getPriority()
public AvroFlumeOGEvent.Builder setPriority(Priority value)
public boolean hasPriority()
public AvroFlumeOGEvent.Builder clearPriority()
public ByteBuffer getBody()
public AvroFlumeOGEvent.Builder setBody(ByteBuffer value)
public boolean hasBody()
public AvroFlumeOGEvent.Builder clearBody()
public Long getNanos()
public AvroFlumeOGEvent.Builder setNanos(long value)
public boolean hasNanos()
public AvroFlumeOGEvent.Builder clearNanos()
public CharSequence getHost()
public AvroFlumeOGEvent.Builder setHost(CharSequence value)
public boolean hasHost()
public AvroFlumeOGEvent.Builder clearHost()
public Map<CharSequence,ByteBuffer> getFields()
public AvroFlumeOGEvent.Builder setFields(Map<CharSequence,ByteBuffer> value)
public boolean hasFields()
public AvroFlumeOGEvent.Builder clearFields()
public AvroFlumeOGEvent build()
build
in interface org.apache.avro.data.RecordBuilder<AvroFlumeOGEvent>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |