public class AvroTdrivePoint
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AvroTdrivePoint.Builder
RecordBuilder for AvroTdrivePoint instances.
|
Modifier and Type | Field and Description |
---|---|
double |
latitude
Deprecated.
|
double |
longitude
Deprecated.
|
long |
pointinstance
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
int |
taxiid
Deprecated.
|
long |
timestamp
Deprecated.
|
Constructor and Description |
---|
AvroTdrivePoint()
Default constructor.
|
AvroTdrivePoint(Integer taxiid,
Long pointinstance,
Long timestamp,
Double latitude,
Double longitude)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Double |
getLatitude()
Gets the value of the 'latitude' field.
|
Double |
getLongitude()
Gets the value of the 'longitude' field.
|
Long |
getPointinstance()
Gets the value of the 'pointinstance' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getTaxiid()
Gets the value of the 'taxiid' field.
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field.
|
static AvroTdrivePoint.Builder |
newBuilder()
Creates a new AvroTdrivePoint RecordBuilder
|
static AvroTdrivePoint.Builder |
newBuilder(AvroTdrivePoint.Builder other)
Creates a new AvroTdrivePoint RecordBuilder by copying an existing Builder
|
static AvroTdrivePoint.Builder |
newBuilder(AvroTdrivePoint other)
Creates a new AvroTdrivePoint RecordBuilder by copying an existing AvroTdrivePoint instance
|
void |
put(int field$,
Object value$) |
void |
setLatitude(Double value)
Sets the value of the 'latitude' field.
|
void |
setLongitude(Double value)
Sets the value of the 'longitude' field.
|
void |
setPointinstance(Long value)
Sets the value of the 'pointinstance' field.
|
void |
setTaxiid(Integer value)
Sets the value of the 'taxiid' field.
|
void |
setTimestamp(Long value)
Sets the value of the 'timestamp' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public int taxiid
@Deprecated public long pointinstance
@Deprecated public long timestamp
@Deprecated public double latitude
@Deprecated public double longitude
public AvroTdrivePoint()
newBuilder()
.public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public Integer getTaxiid()
public void setTaxiid(Integer value)
public Long getPointinstance()
public void setPointinstance(Long value)
public Long getTimestamp()
public void setTimestamp(Long value)
public Double getLatitude()
public void setLatitude(Double value)
public Double getLongitude()
public void setLongitude(Double value)
public static AvroTdrivePoint.Builder newBuilder()
public static AvroTdrivePoint.Builder newBuilder(AvroTdrivePoint.Builder other)
public static AvroTdrivePoint.Builder newBuilder(AvroTdrivePoint other)
Copyright © 2013–2022. All rights reserved.