public class Double2Record extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, Double2Event
| Modifier and Type | Class and Description |
|---|---|
static class |
Double2Record.Builder
RecordBuilder for Double2Record instances.
|
| Modifier and Type | Field and Description |
|---|---|
double |
d1
Deprecated.
|
double |
d2
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
Double2Record() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
Double |
getD1()
Gets the value of the 'd1' field.
|
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$,
Object value$) |
void |
setD1(Double value)
Sets the value of the 'd1' field.
|
void |
setD2(Double value)
Sets the value of the 'd2' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public double d1
@Deprecated public double d2
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 Double getD1()
getD1 in interface Double2Eventpublic void setD1(Double value)
value - the value to set.public Double getD2()
getD2 in interface Double2Eventpublic void setD2(Double value)
value - the value to set.public static Double2Record.Builder newBuilder()
public static Double2Record.Builder newBuilder(Double2Record.Builder other)
public static Double2Record.Builder newBuilder(Double2Record other)
Copyright © 2011-2014. All Rights Reserved.