org.mechio.impl.sensor
Class StampedDoubleRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.mechio.impl.sensor.StampedDoubleRecord
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, StampedDoubleEvent

public class StampedDoubleRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, StampedDoubleEvent


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

SCHEMA$

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

header

@Deprecated
public HeaderRecord header
Deprecated. 

doubleValue

@Deprecated
public double doubleValue
Deprecated. 
Constructor Detail

StampedDoubleRecord

public StampedDoubleRecord()
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

getHeader

public HeaderRecord getHeader()
Gets the value of the 'header' field.

Specified by:
getHeader in interface StampedDoubleEvent

setHeader

public void setHeader(HeaderRecord value)
Sets the value of the 'header' field.

Parameters:
value - the value to set.

getDoubleValue

public java.lang.Double getDoubleValue()
Gets the value of the 'doubleValue' field.

Specified by:
getDoubleValue in interface StampedDoubleEvent

setDoubleValue

public void setDoubleValue(java.lang.Double value)
Sets the value of the 'doubleValue' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2014. All Rights Reserved.