Package | Description |
---|---|
org.apache.avro.generic |
A generic representation for Avro data.
|
Modifier and Type | Method and Description |
---|---|
protected GenericRecordBuilder |
GenericRecordBuilder.clear(int pos)
Clears the value of the given field.
|
GenericRecordBuilder |
GenericRecordBuilder.clear(Schema.Field field)
Clears the value of the given field.
|
GenericRecordBuilder |
GenericRecordBuilder.clear(String fieldName)
Clears the value of the given field.
|
protected GenericRecordBuilder |
GenericRecordBuilder.set(int pos,
Object value)
Sets the value of a field.
|
GenericRecordBuilder |
GenericRecordBuilder.set(Schema.Field field,
Object value)
Sets the value of a field.
|
GenericRecordBuilder |
GenericRecordBuilder.set(String fieldName,
Object value)
Sets the value of a field.
|
Constructor and Description |
---|
GenericRecordBuilder(GenericRecordBuilder other)
Creates a GenericRecordBuilder by copying an existing GenericRecordBuilder.
|
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.