Package org.apache.parquet.avro
Class Stereo.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<Stereo>
-
- org.apache.parquet.avro.Stereo.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stereobuild()Stereo.BuilderclearMake()Clears the value of the 'make' field.Stereo.BuilderclearSpeakers()Clears the value of the 'speakers' field.StringgetMake()Gets the value of the 'make' field.intgetSpeakers()Gets the value of the 'speakers' field.booleanhasMake()Checks whether the 'make' field has been set.booleanhasSpeakers()Checks whether the 'speakers' field has been set.Stereo.BuildersetMake(String value)Sets the value of the 'make' field.Stereo.BuildersetSpeakers(int value)Sets the value of the 'speakers' field.
-
-
-
Method Detail
-
getMake
public String getMake()
Gets the value of the 'make' field.- Returns:
- The value.
-
setMake
public Stereo.Builder setMake(String value)
Sets the value of the 'make' field.- Parameters:
value- The value of 'make'.- Returns:
- This builder.
-
hasMake
public boolean hasMake()
Checks whether the 'make' field has been set.- Returns:
- True if the 'make' field has been set, false otherwise.
-
clearMake
public Stereo.Builder clearMake()
Clears the value of the 'make' field.- Returns:
- This builder.
-
getSpeakers
public int getSpeakers()
Gets the value of the 'speakers' field.- Returns:
- The value.
-
setSpeakers
public Stereo.Builder setSpeakers(int value)
Sets the value of the 'speakers' field.- Parameters:
value- The value of 'speakers'.- Returns:
- This builder.
-
hasSpeakers
public boolean hasSpeakers()
Checks whether the 'speakers' field has been set.- Returns:
- True if the 'speakers' field has been set, false otherwise.
-
clearSpeakers
public Stereo.Builder clearSpeakers()
Clears the value of the 'speakers' field.- Returns:
- This builder.
-
-