public static class AvroRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroRecord> implements org.apache.avro.data.RecordBuilder<AvroRecord>
Modifier and Type | Method and Description |
---|---|
AvroRecord |
build() |
AvroRecord.Builder |
clearIntField()
Clears the value of the 'intField' field
|
Integer |
getIntField()
Gets the value of the 'intField' field
|
boolean |
hasIntField()
Checks whether the 'intField' field has been set
|
AvroRecord.Builder |
setIntField(int value)
Sets the value of the 'intField' field
|
public Integer getIntField()
public AvroRecord.Builder setIntField(int value)
public boolean hasIntField()
public AvroRecord.Builder clearIntField()
public AvroRecord build()
build
in interface org.apache.avro.data.RecordBuilder<AvroRecord>
Copyright © 2017 Apache Software Foundation. All Rights Reserved.