public class AvroChangeset
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroChangeset.Builder
RecordBuilder for AvroChangeset instances.
|
| Modifier and Type | Field and Description |
|---|---|
Long |
closed_at
Deprecated.
|
Long |
created_at
Deprecated.
|
long |
id
Deprecated.
|
Integer |
max_lat
Deprecated.
|
Integer |
max_lon
Deprecated.
|
Integer |
min_lat
Deprecated.
|
Integer |
min_lon
Deprecated.
|
Integer |
num_changes
Deprecated.
|
boolean |
open
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Map<String,String> |
tags
Deprecated.
|
Long |
user_id
Deprecated.
|
String |
user_name
Deprecated.
|
| Constructor and Description |
|---|
AvroChangeset()
Default constructor.
|
AvroChangeset(Long id,
Long user_id,
String user_name,
Long created_at,
Long closed_at,
Boolean open,
Integer num_changes,
Integer min_lon,
Integer min_lat,
Integer max_lon,
Integer max_lat,
Map<String,String> tags)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Long |
getClosedAt()
Gets the value of the 'closed_at' field.
|
Long |
getCreatedAt()
Gets the value of the 'created_at' field.
|
Long |
getId()
Gets the value of the 'id' field.
|
Integer |
getMaxLat()
Gets the value of the 'max_lat' field.
|
Integer |
getMaxLon()
Gets the value of the 'max_lon' field.
|
Integer |
getMinLat()
Gets the value of the 'min_lat' field.
|
Integer |
getMinLon()
Gets the value of the 'min_lon' field.
|
Integer |
getNumChanges()
Gets the value of the 'num_changes' field.
|
Boolean |
getOpen()
Gets the value of the 'open' field.
|
org.apache.avro.Schema |
getSchema() |
Map<String,String> |
getTags()
Gets the value of the 'tags' field.
|
Long |
getUserId()
Gets the value of the 'user_id' field.
|
String |
getUserName()
Gets the value of the 'user_name' field.
|
static AvroChangeset.Builder |
newBuilder()
Creates a new AvroChangeset RecordBuilder
|
static AvroChangeset.Builder |
newBuilder(AvroChangeset.Builder other)
Creates a new AvroChangeset RecordBuilder by copying an existing Builder
|
static AvroChangeset.Builder |
newBuilder(AvroChangeset other)
Creates a new AvroChangeset RecordBuilder by copying an existing AvroChangeset instance
|
void |
put(int field$,
Object value$) |
void |
setClosedAt(Long value)
Sets the value of the 'closed_at' field.
|
void |
setCreatedAt(Long value)
Sets the value of the 'created_at' field.
|
void |
setId(Long value)
Sets the value of the 'id' field.
|
void |
setMaxLat(Integer value)
Sets the value of the 'max_lat' field.
|
void |
setMaxLon(Integer value)
Sets the value of the 'max_lon' field.
|
void |
setMinLat(Integer value)
Sets the value of the 'min_lat' field.
|
void |
setMinLon(Integer value)
Sets the value of the 'min_lon' field.
|
void |
setNumChanges(Integer value)
Sets the value of the 'num_changes' field.
|
void |
setOpen(Boolean value)
Sets the value of the 'open' field.
|
void |
setTags(Map<String,String> value)
Sets the value of the 'tags' field.
|
void |
setUserId(Long value)
Sets the value of the 'user_id' field.
|
void |
setUserName(String value)
Sets the value of the 'user_name' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public long id
@Deprecated public Long user_id
@Deprecated public String user_name
@Deprecated public Long created_at
@Deprecated public Long closed_at
@Deprecated public boolean open
@Deprecated public Integer num_changes
@Deprecated public Integer min_lon
@Deprecated public Integer min_lat
@Deprecated public Integer max_lon
@Deprecated public Integer max_lat
@Deprecated public Map<String,String> tags
public AvroChangeset()
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 getId()
public void setId(Long value)
value - the value to set.public Long getUserId()
public void setUserId(Long value)
value - the value to set.public String getUserName()
public void setUserName(String value)
value - the value to set.public Long getCreatedAt()
public void setCreatedAt(Long value)
value - the value to set.public Long getClosedAt()
public void setClosedAt(Long value)
value - the value to set.public Boolean getOpen()
public void setOpen(Boolean value)
value - the value to set.public Integer getNumChanges()
public void setNumChanges(Integer value)
value - the value to set.public Integer getMinLon()
public void setMinLon(Integer value)
value - the value to set.public Integer getMinLat()
public void setMinLat(Integer value)
value - the value to set.public Integer getMaxLon()
public void setMaxLon(Integer value)
value - the value to set.public Integer getMaxLat()
public void setMaxLat(Integer value)
value - the value to set.public void setTags(Map<String,String> value)
value - the value to set.public static AvroChangeset.Builder newBuilder()
public static AvroChangeset.Builder newBuilder(AvroChangeset.Builder other)
public static AvroChangeset.Builder newBuilder(AvroChangeset other)
Copyright © 2013–2019. All rights reserved.