public static class HoodieRestoreMetadata.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieRestoreMetadata> implements org.apache.avro.data.RecordBuilder<HoodieRestoreMetadata>
| Modifier and Type | Method and Description |
|---|---|
HoodieRestoreMetadata |
build() |
HoodieRestoreMetadata.Builder |
clearHoodieRestoreMetadata()
Clears the value of the 'hoodieRestoreMetadata' field.
|
HoodieRestoreMetadata.Builder |
clearInstantsToRollback()
Clears the value of the 'instantsToRollback' field.
|
HoodieRestoreMetadata.Builder |
clearRestoreInstantInfo()
Clears the value of the 'restoreInstantInfo' field.
|
HoodieRestoreMetadata.Builder |
clearStartRestoreTime()
Clears the value of the 'startRestoreTime' field.
|
HoodieRestoreMetadata.Builder |
clearTimeTakenInMillis()
Clears the value of the 'timeTakenInMillis' field.
|
HoodieRestoreMetadata.Builder |
clearVersion()
Clears the value of the 'version' field.
|
Map<String,List<HoodieRollbackMetadata>> |
getHoodieRestoreMetadata()
Gets the value of the 'hoodieRestoreMetadata' field.
|
List<String> |
getInstantsToRollback()
Gets the value of the 'instantsToRollback' field.
|
List<HoodieInstantInfo> |
getRestoreInstantInfo()
Gets the value of the 'restoreInstantInfo' field.
|
String |
getStartRestoreTime()
Gets the value of the 'startRestoreTime' field.
|
Long |
getTimeTakenInMillis()
Gets the value of the 'timeTakenInMillis' field.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasHoodieRestoreMetadata()
Checks whether the 'hoodieRestoreMetadata' field has been set.
|
boolean |
hasInstantsToRollback()
Checks whether the 'instantsToRollback' field has been set.
|
boolean |
hasRestoreInstantInfo()
Checks whether the 'restoreInstantInfo' field has been set.
|
boolean |
hasStartRestoreTime()
Checks whether the 'startRestoreTime' field has been set.
|
boolean |
hasTimeTakenInMillis()
Checks whether the 'timeTakenInMillis' field has been set.
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieRestoreMetadata.Builder |
setHoodieRestoreMetadata(Map<String,List<HoodieRollbackMetadata>> value)
Sets the value of the 'hoodieRestoreMetadata' field.
|
HoodieRestoreMetadata.Builder |
setInstantsToRollback(List<String> value)
Sets the value of the 'instantsToRollback' field.
|
HoodieRestoreMetadata.Builder |
setRestoreInstantInfo(List<HoodieInstantInfo> value)
Sets the value of the 'restoreInstantInfo' field.
|
HoodieRestoreMetadata.Builder |
setStartRestoreTime(String value)
Sets the value of the 'startRestoreTime' field.
|
HoodieRestoreMetadata.Builder |
setTimeTakenInMillis(long value)
Sets the value of the 'timeTakenInMillis' field.
|
HoodieRestoreMetadata.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public String getStartRestoreTime()
public HoodieRestoreMetadata.Builder setStartRestoreTime(String value)
value - The value of 'startRestoreTime'.public boolean hasStartRestoreTime()
public HoodieRestoreMetadata.Builder clearStartRestoreTime()
public Long getTimeTakenInMillis()
public HoodieRestoreMetadata.Builder setTimeTakenInMillis(long value)
value - The value of 'timeTakenInMillis'.public boolean hasTimeTakenInMillis()
public HoodieRestoreMetadata.Builder clearTimeTakenInMillis()
public List<String> getInstantsToRollback()
public HoodieRestoreMetadata.Builder setInstantsToRollback(List<String> value)
value - The value of 'instantsToRollback'.public boolean hasInstantsToRollback()
public HoodieRestoreMetadata.Builder clearInstantsToRollback()
public Map<String,List<HoodieRollbackMetadata>> getHoodieRestoreMetadata()
public HoodieRestoreMetadata.Builder setHoodieRestoreMetadata(Map<String,List<HoodieRollbackMetadata>> value)
value - The value of 'hoodieRestoreMetadata'.public boolean hasHoodieRestoreMetadata()
public HoodieRestoreMetadata.Builder clearHoodieRestoreMetadata()
public Integer getVersion()
public HoodieRestoreMetadata.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieRestoreMetadata.Builder clearVersion()
public List<HoodieInstantInfo> getRestoreInstantInfo()
public HoodieRestoreMetadata.Builder setRestoreInstantInfo(List<HoodieInstantInfo> value)
value - The value of 'restoreInstantInfo'.public boolean hasRestoreInstantInfo()
public HoodieRestoreMetadata.Builder clearRestoreInstantInfo()
public HoodieRestoreMetadata build()
build in interface org.apache.avro.data.RecordBuilder<HoodieRestoreMetadata>Copyright © 2024 The Apache Software Foundation. All rights reserved.