public class DeviceAnalogRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, DeviceAnalogEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceAnalogRecord.Builder
RecordBuilder for DeviceAnalogRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
double |
analogValue
Deprecated.
|
int |
channelId
Deprecated.
|
HeaderRecord |
header
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
DeviceAnalogRecord() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
Double |
getAnalogValue()
Gets the value of the 'analogValue' field.
|
Integer |
getChannelId()
Gets the value of the 'channelId' field.
|
HeaderRecord |
getHeader()
Gets the value of the 'header' field.
|
org.apache.avro.Schema |
getSchema() |
static DeviceAnalogRecord.Builder |
newBuilder()
Creates a new DeviceAnalogRecord RecordBuilder
|
static DeviceAnalogRecord.Builder |
newBuilder(DeviceAnalogRecord.Builder other)
Creates a new DeviceAnalogRecord RecordBuilder by copying an existing Builder
|
static DeviceAnalogRecord.Builder |
newBuilder(DeviceAnalogRecord other)
Creates a new DeviceAnalogRecord RecordBuilder by copying an existing DeviceAnalogRecord instance
|
void |
put(int field$,
Object value$) |
void |
setAnalogValue(Double value)
Sets the value of the 'analogValue' field.
|
void |
setChannelId(Integer value)
Sets the value of the 'channelId' field.
|
void |
setHeader(HeaderRecord value)
Sets the value of the 'header' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public HeaderRecord header
@Deprecated public int channelId
@Deprecated public double analogValue
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 HeaderRecord getHeader()
getHeader in interface DeviceAnalogEventpublic void setHeader(HeaderRecord value)
value - the value to set.public Integer getChannelId()
getChannelId in interface DeviceAnalogEventpublic void setChannelId(Integer value)
value - the value to set.public Double getAnalogValue()
getAnalogValue in interface DeviceAnalogEventpublic void setAnalogValue(Double value)
value - the value to set.public static DeviceAnalogRecord.Builder newBuilder()
public static DeviceAnalogRecord.Builder newBuilder(DeviceAnalogRecord.Builder other)
public static DeviceAnalogRecord.Builder newBuilder(DeviceAnalogRecord other)
Copyright © 2011-2014. All Rights Reserved.