public static class Primitives.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<Primitives> implements org.apache.avro.data.RecordBuilder<Primitives>
| Modifier and Type | Method and Description |
|---|---|
Primitives |
build() |
Primitives.Builder |
clearB()
Clears the value of the 'b' field
|
Primitives.Builder |
clearBy()
Clears the value of the 'by' field
|
Primitives.Builder |
clearD()
Clears the value of the 'd' field
|
Primitives.Builder |
clearF()
Clears the value of the 'f' field
|
Primitives.Builder |
clearI()
Clears the value of the 'i' field
|
Primitives.Builder |
clearL()
Clears the value of the 'l' field
|
Primitives.Builder |
clearN()
Clears the value of the 'n' field
|
Primitives.Builder |
clearS()
Clears the value of the 's' field
|
java.lang.Boolean |
getB()
Gets the value of the 'b' field
|
java.nio.ByteBuffer |
getBy()
Gets the value of the 'by' field
|
java.lang.Double |
getD()
Gets the value of the 'd' field
|
java.lang.Float |
getF()
Gets the value of the 'f' field
|
java.lang.Integer |
getI()
Gets the value of the 'i' field
|
java.lang.Long |
getL()
Gets the value of the 'l' field
|
java.lang.Void |
getN()
Gets the value of the 'n' field
|
java.lang.CharSequence |
getS()
Gets the value of the 's' field
|
boolean |
hasB()
Checks whether the 'b' field has been set
|
boolean |
hasBy()
Checks whether the 'by' field has been set
|
boolean |
hasD()
Checks whether the 'd' field has been set
|
boolean |
hasF()
Checks whether the 'f' field has been set
|
boolean |
hasI()
Checks whether the 'i' field has been set
|
boolean |
hasL()
Checks whether the 'l' field has been set
|
boolean |
hasN()
Checks whether the 'n' field has been set
|
boolean |
hasS()
Checks whether the 's' field has been set
|
Primitives.Builder |
setB(boolean value)
Sets the value of the 'b' field
|
Primitives.Builder |
setBy(java.nio.ByteBuffer value)
Sets the value of the 'by' field
|
Primitives.Builder |
setD(double value)
Sets the value of the 'd' field
|
Primitives.Builder |
setF(float value)
Sets the value of the 'f' field
|
Primitives.Builder |
setI(int value)
Sets the value of the 'i' field
|
Primitives.Builder |
setL(long value)
Sets the value of the 'l' field
|
Primitives.Builder |
setN(java.lang.Void value)
Sets the value of the 'n' field
|
Primitives.Builder |
setS(java.lang.CharSequence value)
Sets the value of the 's' field
|
public java.lang.Integer getI()
public Primitives.Builder setI(int value)
public boolean hasI()
public Primitives.Builder clearI()
public java.lang.Long getL()
public Primitives.Builder setL(long value)
public boolean hasL()
public Primitives.Builder clearL()
public java.lang.CharSequence getS()
public Primitives.Builder setS(java.lang.CharSequence value)
public boolean hasS()
public Primitives.Builder clearS()
public java.lang.Boolean getB()
public Primitives.Builder setB(boolean value)
public boolean hasB()
public Primitives.Builder clearB()
public java.lang.Float getF()
public Primitives.Builder setF(float value)
public boolean hasF()
public Primitives.Builder clearF()
public java.lang.Double getD()
public Primitives.Builder setD(double value)
public boolean hasD()
public Primitives.Builder clearD()
public java.lang.Void getN()
public Primitives.Builder setN(java.lang.Void value)
public boolean hasN()
public Primitives.Builder clearN()
public java.nio.ByteBuffer getBy()
public Primitives.Builder setBy(java.nio.ByteBuffer value)
public boolean hasBy()
public Primitives.Builder clearBy()
public Primitives build()
build in interface org.apache.avro.data.RecordBuilder<Primitives>