public static class ControlPointRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ControlPointRecord> implements org.apache.avro.data.RecordBuilder<ControlPointRecord>
| Modifier and Type | Method and Description |
|---|---|
ControlPointRecord |
build() |
ControlPointRecord.Builder |
clearPosition()
Clears the value of the 'position' field
|
ControlPointRecord.Builder |
clearTime()
Clears the value of the 'time' field
|
Double |
getPosition()
Gets the value of the 'position' field
|
Long |
getTime()
Gets the value of the 'time' field
|
boolean |
hasPosition()
Checks whether the 'position' field has been set
|
boolean |
hasTime()
Checks whether the 'time' field has been set
|
ControlPointRecord.Builder |
setPosition(double value)
Sets the value of the 'position' field
|
ControlPointRecord.Builder |
setTime(long value)
Sets the value of the 'time' field
|
public Long getTime()
public ControlPointRecord.Builder setTime(long value)
public boolean hasTime()
public ControlPointRecord.Builder clearTime()
public Double getPosition()
public ControlPointRecord.Builder setPosition(double value)
public boolean hasPosition()
public ControlPointRecord.Builder clearPosition()
public ControlPointRecord build()
build in interface org.apache.avro.data.RecordBuilder<ControlPointRecord>Copyright © 2011-2014. All Rights Reserved.