public static class BytesWrapper.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<BytesWrapper> implements org.apache.avro.data.RecordBuilder<BytesWrapper>
| Modifier and Type | Method and Description |
|---|---|
BytesWrapper |
build() |
BytesWrapper.Builder |
clearValue()
Clears the value of the 'value' field.
|
ByteBuffer |
getValue()
Gets the value of the 'value' field.
|
boolean |
hasValue()
Checks whether the 'value' field has been set.
|
BytesWrapper.Builder |
setValue(ByteBuffer value)
Sets the value of the 'value' field.
|
public ByteBuffer getValue()
public BytesWrapper.Builder setValue(ByteBuffer value)
value - The value of 'value'.public boolean hasValue()
public BytesWrapper.Builder clearValue()
public BytesWrapper build()
build in interface org.apache.avro.data.RecordBuilder<BytesWrapper>Copyright © 2024 The Apache Software Foundation. All rights reserved.