public static class TimestampedEvent.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<TimestampedEvent> implements org.apache.avro.data.RecordBuilder<TimestampedEvent>
| Modifier and Type | Method and Description |
|---|---|
TimestampedEvent |
build() |
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
|
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()
build in interface org.apache.avro.data.RecordBuilder<TimestampedEvent>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.