public class StampedDoubleRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, StampedDoubleEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
StampedDoubleRecord.Builder
RecordBuilder for StampedDoubleRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
double |
doubleValue
Deprecated.
|
HeaderRecord |
header
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
StampedDoubleRecord() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
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$,
Object value$) |
void |
setDoubleValue(Double value)
Sets the value of the 'doubleValue' 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 double doubleValue
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 StampedDoubleEventpublic void setHeader(HeaderRecord value)
value - the value to set.public Double getDoubleValue()
getDoubleValue in interface StampedDoubleEventpublic void setDoubleValue(Double value)
value - the value to set.public static StampedDoubleRecord.Builder newBuilder()
public static StampedDoubleRecord.Builder newBuilder(StampedDoubleRecord.Builder other)
public static StampedDoubleRecord.Builder newBuilder(StampedDoubleRecord other)
Copyright © 2011-2014. All Rights Reserved.