org.mechio.impl.sensor
Class Double2Record

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.mechio.impl.sensor.Double2Record
All Implemented Interfaces:
java.lang.Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, Double2Event

public class Double2Record
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, Double2Event


Nested Class Summary
static class Double2Record.Builder
          RecordBuilder for Double2Record instances.
 
Field Summary
 double d1
          Deprecated. 
 double d2
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 
Constructor Summary
Double2Record()
           
 
Method Summary
 java.lang.Object get(int field$)
           
 java.lang.Double getD1()
          Gets the value of the 'd1' field.
 java.lang.Double getD2()
          Gets the value of the 'd2' field.
 org.apache.avro.Schema getSchema()
           
static Double2Record.Builder newBuilder()
          Creates a new Double2Record RecordBuilder
static Double2Record.Builder newBuilder(Double2Record.Builder other)
          Creates a new Double2Record RecordBuilder by copying an existing Builder
static Double2Record.Builder newBuilder(Double2Record other)
          Creates a new Double2Record RecordBuilder by copying an existing Double2Record instance
 void put(int field$, java.lang.Object value$)
           
 void setD1(java.lang.Double value)
          Sets the value of the 'd1' field.
 void setD2(java.lang.Double value)
          Sets the value of the 'd2' 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

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

d1

@Deprecated
public double d1
Deprecated. 

d2

@Deprecated
public double d2
Deprecated. 
Constructor Detail

Double2Record

public Double2Record()
Method Detail

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public java.lang.Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                java.lang.Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getD1

public java.lang.Double getD1()
Gets the value of the 'd1' field.

Specified by:
getD1 in interface Double2Event

setD1

public void setD1(java.lang.Double value)
Sets the value of the 'd1' field.

Parameters:
value - the value to set.

getD2

public java.lang.Double getD2()
Gets the value of the 'd2' field.

Specified by:
getD2 in interface Double2Event

setD2

public void setD2(java.lang.Double value)
Sets the value of the 'd2' field.

Parameters:
value - the value to set.

newBuilder

public static Double2Record.Builder newBuilder()
Creates a new Double2Record RecordBuilder


newBuilder

public static Double2Record.Builder newBuilder(Double2Record.Builder other)
Creates a new Double2Record RecordBuilder by copying an existing Builder


newBuilder

public static Double2Record.Builder newBuilder(Double2Record other)
Creates a new Double2Record RecordBuilder by copying an existing Double2Record instance



Copyright © 2011-2014. All Rights Reserved.