public static class AvroExample.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroExample> implements org.apache.avro.data.RecordBuilder<AvroExample>
| Modifier and Type | Method and Description |
|---|---|
AvroExample |
build() |
AvroExample.Builder |
clearFrequency()
Clears the value of the 'frequency' field
|
AvroExample.Builder |
clearWord()
Clears the value of the 'word' field
|
Long |
getFrequency()
Gets the value of the 'frequency' field
|
CharSequence |
getWord()
Gets the value of the 'word' field
|
boolean |
hasFrequency()
Checks whether the 'frequency' field has been set
|
boolean |
hasWord()
Checks whether the 'word' field has been set
|
AvroExample.Builder |
setFrequency(long value)
Sets the value of the 'frequency' field
|
AvroExample.Builder |
setWord(CharSequence value)
Sets the value of the 'word' field
|
public CharSequence getWord()
public AvroExample.Builder setWord(CharSequence value)
public boolean hasWord()
public AvroExample.Builder clearWord()
public Long getFrequency()
public AvroExample.Builder setFrequency(long value)
public boolean hasFrequency()
public AvroExample.Builder clearFrequency()
public AvroExample build()
build in interface org.apache.avro.data.RecordBuilder<AvroExample>Copyright © 2015–2016 Conversant. All rights reserved.