public static class AvroPrimitive.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroPrimitive> implements org.apache.avro.data.RecordBuilder<AvroPrimitive>
| Modifier and Type | Method and Description |
|---|---|
AvroPrimitive |
build() |
AvroPrimitive.Builder |
clearChangesetId()
Clears the value of the 'changeset_id' field
|
AvroPrimitive.Builder |
clearId()
Clears the value of the 'id' field
|
AvroPrimitive.Builder |
clearTags()
Clears the value of the 'tags' field
|
AvroPrimitive.Builder |
clearTimestamp()
Clears the value of the 'timestamp' field
|
AvroPrimitive.Builder |
clearUserId()
Clears the value of the 'user_id' field
|
AvroPrimitive.Builder |
clearUserName()
Clears the value of the 'user_name' field
|
AvroPrimitive.Builder |
clearVersion()
Clears the value of the 'version' field
|
AvroPrimitive.Builder |
clearVisible()
Clears the value of the 'visible' field
|
Long |
getChangesetId()
Gets the value of the 'changeset_id' field
|
Long |
getId()
Gets the value of the 'id' field
|
Map<String,String> |
getTags()
Gets the value of the 'tags' field
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field
|
Long |
getUserId()
Gets the value of the 'user_id' field
|
String |
getUserName()
Gets the value of the 'user_name' field
|
Long |
getVersion()
Gets the value of the 'version' field
|
Boolean |
getVisible()
Gets the value of the 'visible' field
|
boolean |
hasChangesetId()
Checks whether the 'changeset_id' field has been set
|
boolean |
hasId()
Checks whether the 'id' field has been set
|
boolean |
hasTags()
Checks whether the 'tags' field has been set
|
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set
|
boolean |
hasUserId()
Checks whether the 'user_id' field has been set
|
boolean |
hasUserName()
Checks whether the 'user_name' field has been set
|
boolean |
hasVersion()
Checks whether the 'version' field has been set
|
boolean |
hasVisible()
Checks whether the 'visible' field has been set
|
AvroPrimitive.Builder |
setChangesetId(long value)
Sets the value of the 'changeset_id' field
|
AvroPrimitive.Builder |
setId(long value)
Sets the value of the 'id' field
|
AvroPrimitive.Builder |
setTags(Map<String,String> value)
Sets the value of the 'tags' field
|
AvroPrimitive.Builder |
setTimestamp(long value)
Sets the value of the 'timestamp' field
|
AvroPrimitive.Builder |
setUserId(Long value)
Sets the value of the 'user_id' field
|
AvroPrimitive.Builder |
setUserName(String value)
Sets the value of the 'user_name' field
|
AvroPrimitive.Builder |
setVersion(long value)
Sets the value of the 'version' field
|
AvroPrimitive.Builder |
setVisible(boolean value)
Sets the value of the 'visible' field
|
public Long getId()
public AvroPrimitive.Builder setId(long value)
public boolean hasId()
public AvroPrimitive.Builder clearId()
public Long getVersion()
public AvroPrimitive.Builder setVersion(long value)
public boolean hasVersion()
public AvroPrimitive.Builder clearVersion()
public Long getTimestamp()
public AvroPrimitive.Builder setTimestamp(long value)
public boolean hasTimestamp()
public AvroPrimitive.Builder clearTimestamp()
public Long getUserId()
public AvroPrimitive.Builder setUserId(Long value)
public boolean hasUserId()
public AvroPrimitive.Builder clearUserId()
public String getUserName()
public AvroPrimitive.Builder setUserName(String value)
public boolean hasUserName()
public AvroPrimitive.Builder clearUserName()
public Long getChangesetId()
public AvroPrimitive.Builder setChangesetId(long value)
public boolean hasChangesetId()
public AvroPrimitive.Builder clearChangesetId()
public Boolean getVisible()
public AvroPrimitive.Builder setVisible(boolean value)
public boolean hasVisible()
public AvroPrimitive.Builder clearVisible()
public AvroPrimitive.Builder setTags(Map<String,String> value)
public boolean hasTags()
public AvroPrimitive.Builder clearTags()
public AvroPrimitive build()
build in interface org.apache.avro.data.RecordBuilder<AvroPrimitive>Copyright © 2013–2019. All rights reserved.