|
||||||||||
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<TimestampedEvent> org.apache.avro.ipc.trace.TimestampedEvent.Builder
public static class TimestampedEvent.Builder
RecordBuilder for TimestampedEvent instances.
Field Summary |
---|
Fields inherited from class org.apache.avro.data.RecordBuilderBase |
---|
data, fields, fieldSetFlags, schema |
Method Summary | |
---|---|
TimestampedEvent |
build()
Constructs a new instance using the values set in the RecordBuilder. |
TimestampedEvent.Builder |
clearEvent()
Clears the value of the 'event' field |
TimestampedEvent.Builder |
clearTimeStamp()
Clears the value of the 'timeStamp' field |
Object |
getEvent()
Gets the value of the 'event' field |
Long |
getTimeStamp()
Gets the value of the 'timeStamp' field |
boolean |
hasEvent()
Checks whether the 'event' field has been set |
boolean |
hasTimeStamp()
Checks whether the 'timeStamp' field has been set |
TimestampedEvent.Builder |
setEvent(Object value)
Sets the value of the 'event' field |
TimestampedEvent.Builder |
setTimeStamp(long value)
Sets the value of the 'timeStamp' field |
Methods inherited from class org.apache.avro.data.RecordBuilderBase |
---|
equals, getDefaultValue, hashCode, isValidValue, validate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Long getTimeStamp()
public TimestampedEvent.Builder setTimeStamp(long value)
public boolean hasTimeStamp()
public TimestampedEvent.Builder clearTimeStamp()
public Object getEvent()
public TimestampedEvent.Builder setEvent(Object value)
public boolean hasEvent()
public TimestampedEvent.Builder clearEvent()
public TimestampedEvent build()
RecordBuilder
build
in interface RecordBuilder<TimestampedEvent>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |