public class Vector3Record extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, Vector3Event
| Modifier and Type | Class and Description |
|---|---|
static class |
Vector3Record.Builder
RecordBuilder for Vector3Record instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
double |
x
Deprecated.
|
double |
y
Deprecated.
|
double |
z
Deprecated.
|
| Constructor and Description |
|---|
Vector3Record() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
org.apache.avro.Schema |
getSchema() |
Double |
getX()
Gets the value of the 'x' field.
|
Double |
getY()
Gets the value of the 'y' field.
|
Double |
getZ()
Gets the value of the 'z' field.
|
static Vector3Record.Builder |
newBuilder()
Creates a new Vector3Record RecordBuilder
|
static Vector3Record.Builder |
newBuilder(Vector3Record.Builder other)
Creates a new Vector3Record RecordBuilder by copying an existing Builder
|
static Vector3Record.Builder |
newBuilder(Vector3Record other)
Creates a new Vector3Record RecordBuilder by copying an existing Vector3Record instance
|
void |
put(int field$,
Object value$) |
void |
setX(Double value)
Sets the value of the 'x' field.
|
void |
setY(Double value)
Sets the value of the 'y' field.
|
void |
setZ(Double value)
Sets the value of the 'z' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public double x
@Deprecated public double y
@Deprecated public double z
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 getX()
getX in interface Vector3Eventpublic void setX(Double value)
value - the value to set.public Double getY()
getY in interface Vector3Eventpublic void setY(Double value)
value - the value to set.public Double getZ()
getZ in interface Vector3Eventpublic void setZ(Double value)
value - the value to set.public static Vector3Record.Builder newBuilder()
public static Vector3Record.Builder newBuilder(Vector3Record.Builder other)
public static Vector3Record.Builder newBuilder(Vector3Record other)
Copyright © 2011-2014. All Rights Reserved.