|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.avro.specific.SpecificRecordBase
org.robokind.avrogen.sensor.DeviceAnalogRecord
public class DeviceAnalogRecord
| Nested Class Summary | |
|---|---|
static class |
DeviceAnalogRecord.Builder
RecordBuilder for DeviceAnalogRecord instances. |
| Field Summary | |
|---|---|
double |
analogValue
Deprecated. |
int |
channelId
Deprecated. |
HeaderRecord |
header
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
| Constructor Summary | |
|---|---|
DeviceAnalogRecord()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.avro.specific.SpecificRecordBase |
|---|
compareTo, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public HeaderRecord header
@Deprecated public int channelId
@Deprecated public double analogValue
| Constructor Detail |
|---|
public DeviceAnalogRecord()
| Method Detail |
|---|
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.SpecificRecordBase
public 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||