public static class HoodieRollbackPlan.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieRollbackPlan> implements org.apache.avro.data.RecordBuilder<HoodieRollbackPlan>
| Modifier and Type | Method and Description |
|---|---|
HoodieRollbackPlan |
build() |
HoodieRollbackPlan.Builder |
clearInstantToRollback()
Clears the value of the 'instantToRollback' field.
|
HoodieRollbackPlan.Builder |
clearRollbackRequests()
Clears the value of the 'RollbackRequests' field.
|
HoodieRollbackPlan.Builder |
clearVersion()
Clears the value of the 'version' field.
|
HoodieInstantInfo |
getInstantToRollback()
Gets the value of the 'instantToRollback' field.
|
HoodieInstantInfo.Builder |
getInstantToRollbackBuilder()
Gets the Builder instance for the 'instantToRollback' field and creates one if it doesn't exist yet.
|
List<HoodieRollbackRequest> |
getRollbackRequests()
Gets the value of the 'RollbackRequests' field.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasInstantToRollback()
Checks whether the 'instantToRollback' field has been set.
|
boolean |
hasInstantToRollbackBuilder()
Checks whether the 'instantToRollback' field has an active Builder instance
Hoodie instant that needs to be rolled back
|
boolean |
hasRollbackRequests()
Checks whether the 'RollbackRequests' field has been set.
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieRollbackPlan.Builder |
setInstantToRollback(HoodieInstantInfo value)
Sets the value of the 'instantToRollback' field.
|
HoodieRollbackPlan.Builder |
setInstantToRollbackBuilder(HoodieInstantInfo.Builder value)
Sets the Builder instance for the 'instantToRollback' field
Hoodie instant that needs to be rolled back
|
HoodieRollbackPlan.Builder |
setRollbackRequests(List<HoodieRollbackRequest> value)
Sets the value of the 'RollbackRequests' field.
|
HoodieRollbackPlan.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public HoodieInstantInfo getInstantToRollback()
public HoodieRollbackPlan.Builder setInstantToRollback(HoodieInstantInfo value)
value - The value of 'instantToRollback'.public boolean hasInstantToRollback()
public HoodieInstantInfo.Builder getInstantToRollbackBuilder()
public HoodieRollbackPlan.Builder setInstantToRollbackBuilder(HoodieInstantInfo.Builder value)
value - The builder instance that must be set.public boolean hasInstantToRollbackBuilder()
public HoodieRollbackPlan.Builder clearInstantToRollback()
public List<HoodieRollbackRequest> getRollbackRequests()
public HoodieRollbackPlan.Builder setRollbackRequests(List<HoodieRollbackRequest> value)
value - The value of 'RollbackRequests'.public boolean hasRollbackRequests()
public HoodieRollbackPlan.Builder clearRollbackRequests()
public Integer getVersion()
public HoodieRollbackPlan.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieRollbackPlan.Builder clearVersion()
public HoodieRollbackPlan build()
build in interface org.apache.avro.data.RecordBuilder<HoodieRollbackPlan>Copyright © 2024 The Apache Software Foundation. All rights reserved.