public static class HoodieRollbackMetadata.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieRollbackMetadata> implements org.apache.avro.data.RecordBuilder<HoodieRollbackMetadata>
| Modifier and Type | Method and Description |
|---|---|
HoodieRollbackMetadata |
build() |
HoodieRollbackMetadata.Builder |
clearCommitsRollback()
Clears the value of the 'commitsRollback' field.
|
HoodieRollbackMetadata.Builder |
clearInstantsRollback()
Clears the value of the 'instantsRollback' field.
|
HoodieRollbackMetadata.Builder |
clearPartitionMetadata()
Clears the value of the 'partitionMetadata' field.
|
HoodieRollbackMetadata.Builder |
clearStartRollbackTime()
Clears the value of the 'startRollbackTime' field.
|
HoodieRollbackMetadata.Builder |
clearTimeTakenInMillis()
Clears the value of the 'timeTakenInMillis' field.
|
HoodieRollbackMetadata.Builder |
clearTotalFilesDeleted()
Clears the value of the 'totalFilesDeleted' field.
|
HoodieRollbackMetadata.Builder |
clearVersion()
Clears the value of the 'version' field.
|
List<String> |
getCommitsRollback()
Gets the value of the 'commitsRollback' field.
|
List<HoodieInstantInfo> |
getInstantsRollback()
Gets the value of the 'instantsRollback' field.
|
Map<String,HoodieRollbackPartitionMetadata> |
getPartitionMetadata()
Gets the value of the 'partitionMetadata' field.
|
String |
getStartRollbackTime()
Gets the value of the 'startRollbackTime' field.
|
Long |
getTimeTakenInMillis()
Gets the value of the 'timeTakenInMillis' field.
|
Integer |
getTotalFilesDeleted()
Gets the value of the 'totalFilesDeleted' field.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasCommitsRollback()
Checks whether the 'commitsRollback' field has been set.
|
boolean |
hasInstantsRollback()
Checks whether the 'instantsRollback' field has been set.
|
boolean |
hasPartitionMetadata()
Checks whether the 'partitionMetadata' field has been set.
|
boolean |
hasStartRollbackTime()
Checks whether the 'startRollbackTime' field has been set.
|
boolean |
hasTimeTakenInMillis()
Checks whether the 'timeTakenInMillis' field has been set.
|
boolean |
hasTotalFilesDeleted()
Checks whether the 'totalFilesDeleted' field has been set.
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieRollbackMetadata.Builder |
setCommitsRollback(List<String> value)
Sets the value of the 'commitsRollback' field.
|
HoodieRollbackMetadata.Builder |
setInstantsRollback(List<HoodieInstantInfo> value)
Sets the value of the 'instantsRollback' field.
|
HoodieRollbackMetadata.Builder |
setPartitionMetadata(Map<String,HoodieRollbackPartitionMetadata> value)
Sets the value of the 'partitionMetadata' field.
|
HoodieRollbackMetadata.Builder |
setStartRollbackTime(String value)
Sets the value of the 'startRollbackTime' field.
|
HoodieRollbackMetadata.Builder |
setTimeTakenInMillis(long value)
Sets the value of the 'timeTakenInMillis' field.
|
HoodieRollbackMetadata.Builder |
setTotalFilesDeleted(int value)
Sets the value of the 'totalFilesDeleted' field.
|
HoodieRollbackMetadata.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public String getStartRollbackTime()
public HoodieRollbackMetadata.Builder setStartRollbackTime(String value)
value - The value of 'startRollbackTime'.public boolean hasStartRollbackTime()
public HoodieRollbackMetadata.Builder clearStartRollbackTime()
public Long getTimeTakenInMillis()
public HoodieRollbackMetadata.Builder setTimeTakenInMillis(long value)
value - The value of 'timeTakenInMillis'.public boolean hasTimeTakenInMillis()
public HoodieRollbackMetadata.Builder clearTimeTakenInMillis()
public Integer getTotalFilesDeleted()
public HoodieRollbackMetadata.Builder setTotalFilesDeleted(int value)
value - The value of 'totalFilesDeleted'.public boolean hasTotalFilesDeleted()
public HoodieRollbackMetadata.Builder clearTotalFilesDeleted()
public List<String> getCommitsRollback()
public HoodieRollbackMetadata.Builder setCommitsRollback(List<String> value)
value - The value of 'commitsRollback'.public boolean hasCommitsRollback()
public HoodieRollbackMetadata.Builder clearCommitsRollback()
public Map<String,HoodieRollbackPartitionMetadata> getPartitionMetadata()
public HoodieRollbackMetadata.Builder setPartitionMetadata(Map<String,HoodieRollbackPartitionMetadata> value)
value - The value of 'partitionMetadata'.public boolean hasPartitionMetadata()
public HoodieRollbackMetadata.Builder clearPartitionMetadata()
public Integer getVersion()
public HoodieRollbackMetadata.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieRollbackMetadata.Builder clearVersion()
public List<HoodieInstantInfo> getInstantsRollback()
public HoodieRollbackMetadata.Builder setInstantsRollback(List<HoodieInstantInfo> value)
value - The value of 'instantsRollback'.public boolean hasInstantsRollback()
public HoodieRollbackMetadata.Builder clearInstantsRollback()
public HoodieRollbackMetadata build()
build in interface org.apache.avro.data.RecordBuilder<HoodieRollbackMetadata>Copyright © 2024 The Apache Software Foundation. All rights reserved.