public class AvroGpxTrack
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroGpxTrack.Builder
RecordBuilder for AvroGpxTrack instances.
|
| Modifier and Type | Field and Description |
|---|---|
String |
description
Deprecated.
|
ByteBuffer |
gpxfile
Deprecated.
|
Long |
points
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
List<String> |
tags
Deprecated.
|
Long |
timestamp
Deprecated.
|
Long |
trackid
Deprecated.
|
String |
user
Deprecated.
|
Long |
userid
Deprecated.
|
String |
visibility
Deprecated.
|
| Constructor and Description |
|---|
AvroGpxTrack()
Default constructor.
|
AvroGpxTrack(Long trackid,
Long timestamp,
ByteBuffer gpxfile,
Long points,
String visibility,
String user,
Long userid,
String description,
List<String> tags)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
String |
getDescription()
Gets the value of the 'description' field.
|
ByteBuffer |
getGpxfile()
Gets the value of the 'gpxfile' field.
|
Long |
getPoints()
Gets the value of the 'points' field.
|
org.apache.avro.Schema |
getSchema() |
List<String> |
getTags()
Gets the value of the 'tags' field.
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field.
|
Long |
getTrackid()
Gets the value of the 'trackid' field.
|
String |
getUser()
Gets the value of the 'user' field.
|
Long |
getUserid()
Gets the value of the 'userid' field.
|
String |
getVisibility()
Gets the value of the 'visibility' field.
|
static AvroGpxTrack.Builder |
newBuilder()
Creates a new AvroGpxTrack RecordBuilder
|
static AvroGpxTrack.Builder |
newBuilder(AvroGpxTrack.Builder other)
Creates a new AvroGpxTrack RecordBuilder by copying an existing Builder
|
static AvroGpxTrack.Builder |
newBuilder(AvroGpxTrack other)
Creates a new AvroGpxTrack RecordBuilder by copying an existing AvroGpxTrack instance
|
void |
put(int field$,
Object value$) |
void |
setDescription(String value)
Sets the value of the 'description' field.
|
void |
setGpxfile(ByteBuffer value)
Sets the value of the 'gpxfile' field.
|
void |
setPoints(Long value)
Sets the value of the 'points' field.
|
void |
setTags(List<String> value)
Sets the value of the 'tags' field.
|
void |
setTimestamp(Long value)
Sets the value of the 'timestamp' field.
|
void |
setTrackid(Long value)
Sets the value of the 'trackid' field.
|
void |
setUser(String value)
Sets the value of the 'user' field.
|
void |
setUserid(Long value)
Sets the value of the 'userid' field.
|
void |
setVisibility(String value)
Sets the value of the 'visibility' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public Long trackid
@Deprecated public Long timestamp
@Deprecated public ByteBuffer gpxfile
@Deprecated public Long points
@Deprecated public String visibility
@Deprecated public String user
@Deprecated public Long userid
@Deprecated public String description
@Deprecated public List<String> tags
public AvroGpxTrack()
newBuilder().public static org.apache.avro.Schema getClassSchema()
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 Long getTrackid()
public void setTrackid(Long value)
public Long getTimestamp()
public void setTimestamp(Long value)
public ByteBuffer getGpxfile()
public void setGpxfile(ByteBuffer value)
public Long getPoints()
public void setPoints(Long value)
public String getVisibility()
public void setVisibility(String value)
public String getUser()
public void setUser(String value)
public Long getUserid()
public void setUserid(Long value)
public String getDescription()
public void setDescription(String value)
public void setTags(List<String> value)
value - the value to set.public static AvroGpxTrack.Builder newBuilder()
public static AvroGpxTrack.Builder newBuilder(AvroGpxTrack.Builder other)
public static AvroGpxTrack.Builder newBuilder(AvroGpxTrack other)
Copyright © 2013–2021. All rights reserved.