public static class HoodieCleanMetadata.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieCleanMetadata> implements org.apache.avro.data.RecordBuilder<HoodieCleanMetadata>
| Modifier and Type | Method and Description |
|---|---|
HoodieCleanMetadata |
build() |
HoodieCleanMetadata.Builder |
clearBootstrapPartitionMetadata()
Clears the value of the 'bootstrapPartitionMetadata' field.
|
HoodieCleanMetadata.Builder |
clearEarliestCommitToRetain()
Clears the value of the 'earliestCommitToRetain' field.
|
HoodieCleanMetadata.Builder |
clearExtraMetadata()
Clears the value of the 'extraMetadata' field.
|
HoodieCleanMetadata.Builder |
clearLastCompletedCommitTimestamp()
Clears the value of the 'lastCompletedCommitTimestamp' field.
|
HoodieCleanMetadata.Builder |
clearPartitionMetadata()
Clears the value of the 'partitionMetadata' field.
|
HoodieCleanMetadata.Builder |
clearStartCleanTime()
Clears the value of the 'startCleanTime' field.
|
HoodieCleanMetadata.Builder |
clearTimeTakenInMillis()
Clears the value of the 'timeTakenInMillis' field.
|
HoodieCleanMetadata.Builder |
clearTotalFilesDeleted()
Clears the value of the 'totalFilesDeleted' field.
|
HoodieCleanMetadata.Builder |
clearVersion()
Clears the value of the 'version' field.
|
Map<String,HoodieCleanPartitionMetadata> |
getBootstrapPartitionMetadata()
Gets the value of the 'bootstrapPartitionMetadata' field.
|
String |
getEarliestCommitToRetain()
Gets the value of the 'earliestCommitToRetain' field.
|
Map<String,String> |
getExtraMetadata()
Gets the value of the 'extraMetadata' field.
|
String |
getLastCompletedCommitTimestamp()
Gets the value of the 'lastCompletedCommitTimestamp' field.
|
Map<String,HoodieCleanPartitionMetadata> |
getPartitionMetadata()
Gets the value of the 'partitionMetadata' field.
|
String |
getStartCleanTime()
Gets the value of the 'startCleanTime' 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 |
hasBootstrapPartitionMetadata()
Checks whether the 'bootstrapPartitionMetadata' field has been set.
|
boolean |
hasEarliestCommitToRetain()
Checks whether the 'earliestCommitToRetain' field has been set.
|
boolean |
hasExtraMetadata()
Checks whether the 'extraMetadata' field has been set.
|
boolean |
hasLastCompletedCommitTimestamp()
Checks whether the 'lastCompletedCommitTimestamp' field has been set.
|
boolean |
hasPartitionMetadata()
Checks whether the 'partitionMetadata' field has been set.
|
boolean |
hasStartCleanTime()
Checks whether the 'startCleanTime' 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.
|
HoodieCleanMetadata.Builder |
setBootstrapPartitionMetadata(Map<String,HoodieCleanPartitionMetadata> value)
Sets the value of the 'bootstrapPartitionMetadata' field.
|
HoodieCleanMetadata.Builder |
setEarliestCommitToRetain(String value)
Sets the value of the 'earliestCommitToRetain' field.
|
HoodieCleanMetadata.Builder |
setExtraMetadata(Map<String,String> value)
Sets the value of the 'extraMetadata' field.
|
HoodieCleanMetadata.Builder |
setLastCompletedCommitTimestamp(String value)
Sets the value of the 'lastCompletedCommitTimestamp' field.
|
HoodieCleanMetadata.Builder |
setPartitionMetadata(Map<String,HoodieCleanPartitionMetadata> value)
Sets the value of the 'partitionMetadata' field.
|
HoodieCleanMetadata.Builder |
setStartCleanTime(String value)
Sets the value of the 'startCleanTime' field.
|
HoodieCleanMetadata.Builder |
setTimeTakenInMillis(long value)
Sets the value of the 'timeTakenInMillis' field.
|
HoodieCleanMetadata.Builder |
setTotalFilesDeleted(int value)
Sets the value of the 'totalFilesDeleted' field.
|
HoodieCleanMetadata.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public String getStartCleanTime()
public HoodieCleanMetadata.Builder setStartCleanTime(String value)
value - The value of 'startCleanTime'.public boolean hasStartCleanTime()
public HoodieCleanMetadata.Builder clearStartCleanTime()
public Long getTimeTakenInMillis()
public HoodieCleanMetadata.Builder setTimeTakenInMillis(long value)
value - The value of 'timeTakenInMillis'.public boolean hasTimeTakenInMillis()
public HoodieCleanMetadata.Builder clearTimeTakenInMillis()
public Integer getTotalFilesDeleted()
public HoodieCleanMetadata.Builder setTotalFilesDeleted(int value)
value - The value of 'totalFilesDeleted'.public boolean hasTotalFilesDeleted()
public HoodieCleanMetadata.Builder clearTotalFilesDeleted()
public String getEarliestCommitToRetain()
public HoodieCleanMetadata.Builder setEarliestCommitToRetain(String value)
value - The value of 'earliestCommitToRetain'.public boolean hasEarliestCommitToRetain()
public HoodieCleanMetadata.Builder clearEarliestCommitToRetain()
public String getLastCompletedCommitTimestamp()
public HoodieCleanMetadata.Builder setLastCompletedCommitTimestamp(String value)
value - The value of 'lastCompletedCommitTimestamp'.public boolean hasLastCompletedCommitTimestamp()
public HoodieCleanMetadata.Builder clearLastCompletedCommitTimestamp()
public Map<String,HoodieCleanPartitionMetadata> getPartitionMetadata()
public HoodieCleanMetadata.Builder setPartitionMetadata(Map<String,HoodieCleanPartitionMetadata> value)
value - The value of 'partitionMetadata'.public boolean hasPartitionMetadata()
public HoodieCleanMetadata.Builder clearPartitionMetadata()
public Integer getVersion()
public HoodieCleanMetadata.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieCleanMetadata.Builder clearVersion()
public Map<String,HoodieCleanPartitionMetadata> getBootstrapPartitionMetadata()
public HoodieCleanMetadata.Builder setBootstrapPartitionMetadata(Map<String,HoodieCleanPartitionMetadata> value)
value - The value of 'bootstrapPartitionMetadata'.public boolean hasBootstrapPartitionMetadata()
public HoodieCleanMetadata.Builder clearBootstrapPartitionMetadata()
public Map<String,String> getExtraMetadata()
public HoodieCleanMetadata.Builder setExtraMetadata(Map<String,String> value)
value - The value of 'extraMetadata'.public boolean hasExtraMetadata()
public HoodieCleanMetadata.Builder clearExtraMetadata()
public HoodieCleanMetadata build()
build in interface org.apache.avro.data.RecordBuilder<HoodieCleanMetadata>Copyright © 2024 The Apache Software Foundation. All rights reserved.