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