public class ControlPointRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
ControlPointRecord.Builder
RecordBuilder for ControlPointRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
double |
position
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
long |
time
Deprecated.
|
| Constructor and Description |
|---|
ControlPointRecord() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
Double |
getPosition()
Gets the value of the 'position' field.
|
org.apache.avro.Schema |
getSchema() |
Long |
getTime()
Gets the value of the 'time' field.
|
static ControlPointRecord.Builder |
newBuilder()
Creates a new ControlPointRecord RecordBuilder
|
static ControlPointRecord.Builder |
newBuilder(ControlPointRecord.Builder other)
Creates a new ControlPointRecord RecordBuilder by copying an existing Builder
|
static ControlPointRecord.Builder |
newBuilder(ControlPointRecord other)
Creates a new ControlPointRecord RecordBuilder by copying an existing ControlPointRecord instance
|
void |
put(int field$,
Object value$) |
void |
setPosition(Double value)
Sets the value of the 'position' field.
|
void |
setTime(Long value)
Sets the value of the 'time' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public long time
@Deprecated public double position
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic Long getTime()
public void setTime(Long value)
value - the value to set.public Double getPosition()
public void setPosition(Double value)
value - the value to set.public static ControlPointRecord.Builder newBuilder()
public static ControlPointRecord.Builder newBuilder(ControlPointRecord.Builder other)
public static ControlPointRecord.Builder newBuilder(ControlPointRecord other)
Copyright © 2011-2016. All Rights Reserved.