public static class HoodieRestorePlan.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieRestorePlan> implements org.apache.avro.data.RecordBuilder<HoodieRestorePlan>
| Modifier and Type | Method and Description |
|---|---|
HoodieRestorePlan |
build() |
HoodieRestorePlan.Builder |
clearInstantsToRollback()
Clears the value of the 'instantsToRollback' field.
|
HoodieRestorePlan.Builder |
clearSavepointToRestoreTimestamp()
Clears the value of the 'savepointToRestoreTimestamp' field.
|
HoodieRestorePlan.Builder |
clearVersion()
Clears the value of the 'version' field.
|
List<HoodieInstantInfo> |
getInstantsToRollback()
Gets the value of the 'instantsToRollback' field.
|
String |
getSavepointToRestoreTimestamp()
Gets the value of the 'savepointToRestoreTimestamp' field.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasInstantsToRollback()
Checks whether the 'instantsToRollback' field has been set.
|
boolean |
hasSavepointToRestoreTimestamp()
Checks whether the 'savepointToRestoreTimestamp' field has been set.
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieRestorePlan.Builder |
setInstantsToRollback(List<HoodieInstantInfo> value)
Sets the value of the 'instantsToRollback' field.
|
HoodieRestorePlan.Builder |
setSavepointToRestoreTimestamp(String value)
Sets the value of the 'savepointToRestoreTimestamp' field.
|
HoodieRestorePlan.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public List<HoodieInstantInfo> getInstantsToRollback()
public HoodieRestorePlan.Builder setInstantsToRollback(List<HoodieInstantInfo> value)
value - The value of 'instantsToRollback'.public boolean hasInstantsToRollback()
public HoodieRestorePlan.Builder clearInstantsToRollback()
public Integer getVersion()
public HoodieRestorePlan.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieRestorePlan.Builder clearVersion()
public String getSavepointToRestoreTimestamp()
public HoodieRestorePlan.Builder setSavepointToRestoreTimestamp(String value)
value - The value of 'savepointToRestoreTimestamp'.public boolean hasSavepointToRestoreTimestamp()
public HoodieRestorePlan.Builder clearSavepointToRestoreTimestamp()
public HoodieRestorePlan build()
build in interface org.apache.avro.data.RecordBuilder<HoodieRestorePlan>Copyright © 2024 The Apache Software Foundation. All rights reserved.