Package org.apache.parquet.avro
Class Engine.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<Engine>
-
- org.apache.parquet.avro.Engine.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enginebuild()Engine.BuilderclearCapacity()Clears the value of the 'capacity' field.Engine.BuilderclearHasTurboCharger()Clears the value of the 'hasTurboCharger' field.Engine.BuilderclearType()Clears the value of the 'type' field.floatgetCapacity()Gets the value of the 'capacity' field.booleangetHasTurboCharger()Gets the value of the 'hasTurboCharger' field.EngineTypegetType()Gets the value of the 'type' field.booleanhasCapacity()Checks whether the 'capacity' field has been set.booleanhasHasTurboCharger()Checks whether the 'hasTurboCharger' field has been set.booleanhasType()Checks whether the 'type' field has been set.Engine.BuildersetCapacity(float value)Sets the value of the 'capacity' field.Engine.BuildersetHasTurboCharger(boolean value)Sets the value of the 'hasTurboCharger' field.Engine.BuildersetType(EngineType value)Sets the value of the 'type' field.
-
-
-
Method Detail
-
getType
public EngineType getType()
Gets the value of the 'type' field.- Returns:
- The value.
-
setType
public Engine.Builder setType(EngineType value)
Sets the value of the 'type' field.- Parameters:
value- The value of 'type'.- Returns:
- This builder.
-
hasType
public boolean hasType()
Checks whether the 'type' field has been set.- Returns:
- True if the 'type' field has been set, false otherwise.
-
clearType
public Engine.Builder clearType()
Clears the value of the 'type' field.- Returns:
- This builder.
-
getCapacity
public float getCapacity()
Gets the value of the 'capacity' field.- Returns:
- The value.
-
setCapacity
public Engine.Builder setCapacity(float value)
Sets the value of the 'capacity' field.- Parameters:
value- The value of 'capacity'.- Returns:
- This builder.
-
hasCapacity
public boolean hasCapacity()
Checks whether the 'capacity' field has been set.- Returns:
- True if the 'capacity' field has been set, false otherwise.
-
clearCapacity
public Engine.Builder clearCapacity()
Clears the value of the 'capacity' field.- Returns:
- This builder.
-
getHasTurboCharger
public boolean getHasTurboCharger()
Gets the value of the 'hasTurboCharger' field.- Returns:
- The value.
-
setHasTurboCharger
public Engine.Builder setHasTurboCharger(boolean value)
Sets the value of the 'hasTurboCharger' field.- Parameters:
value- The value of 'hasTurboCharger'.- Returns:
- This builder.
-
hasHasTurboCharger
public boolean hasHasTurboCharger()
Checks whether the 'hasTurboCharger' field has been set.- Returns:
- True if the 'hasTurboCharger' field has been set, false otherwise.
-
clearHasTurboCharger
public Engine.Builder clearHasTurboCharger()
Clears the value of the 'hasTurboCharger' field.- Returns:
- This builder.
-
-