|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<AvroRecord>
org.apache.hadoop.io.serializer.avro.AvroRecord.Builder
public static class AvroRecord.Builder
RecordBuilder for AvroRecord instances.
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.avro.data.RecordBuilderBase |
|---|
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||