Method Set
Set(string, AvroValue)
Sets a field by name. The value is not copied or checked against the field's schema.
public GenericRecordBuilder Set(string name, AvroValue value)
Parameters
Returns
- GenericRecordBuilder
This builder.
Exceptions
- KeyNotFoundException
The record has no such field.
Set(int, AvroValue)
Sets a field by position. The value is not copied or checked against the field's schema.
public GenericRecordBuilder Set(int position, AvroValue value)
Parameters
Returns
- GenericRecordBuilder
This builder.
Exceptions
- ArgumentOutOfRangeException
The record has no field at that position.