|
||||||||||
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<Event> org.apache.hadoop.mapreduce.jobhistory.Event.Builder
public static class Event.Builder
RecordBuilder for Event instances.
Method Summary | |
---|---|
Event |
build()
|
Event.Builder |
clearEvent()
Clears the value of the 'event' field |
Event.Builder |
clearType()
Clears the value of the 'type' field |
Object |
getEvent()
Gets the value of the 'event' field |
EventType |
getType()
Gets the value of the 'type' field |
boolean |
hasEvent()
Checks whether the 'event' field has been set |
boolean |
hasType()
Checks whether the 'type' field has been set |
Event.Builder |
setEvent(Object value)
Sets the value of the 'event' field |
Event.Builder |
setType(EventType value)
Sets the value of the 'type' 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 EventType getType()
public Event.Builder setType(EventType value)
public boolean hasType()
public Event.Builder clearType()
public Object getEvent()
public Event.Builder setEvent(Object value)
public boolean hasEvent()
public Event.Builder clearEvent()
public Event build()
build
in interface org.apache.avro.data.RecordBuilder<Event>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |