public static class HoodieCleanerPlan.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieCleanerPlan> implements org.apache.avro.data.RecordBuilder<HoodieCleanerPlan>
| Modifier and Type | Method and Description |
|---|---|
HoodieCleanerPlan |
build() |
HoodieCleanerPlan.Builder |
clearEarliestInstantToRetain()
Clears the value of the 'earliestInstantToRetain' field.
|
HoodieCleanerPlan.Builder |
clearExtraMetadata()
Clears the value of the 'extraMetadata' field.
|
HoodieCleanerPlan.Builder |
clearFilePathsToBeDeletedPerPartition()
Clears the value of the 'filePathsToBeDeletedPerPartition' field.
|
HoodieCleanerPlan.Builder |
clearFilesToBeDeletedPerPartition()
Clears the value of the 'filesToBeDeletedPerPartition' field.
|
HoodieCleanerPlan.Builder |
clearLastCompletedCommitTimestamp()
Clears the value of the 'lastCompletedCommitTimestamp' field.
|
HoodieCleanerPlan.Builder |
clearPartitionsToBeDeleted()
Clears the value of the 'partitionsToBeDeleted' field.
|
HoodieCleanerPlan.Builder |
clearPolicy()
Clears the value of the 'policy' field.
|
HoodieCleanerPlan.Builder |
clearVersion()
Clears the value of the 'version' field.
|
HoodieActionInstant |
getEarliestInstantToRetain()
Gets the value of the 'earliestInstantToRetain' field.
|
HoodieActionInstant.Builder |
getEarliestInstantToRetainBuilder()
Gets the Builder instance for the 'earliestInstantToRetain' field and creates one if it doesn't exist yet.
|
Map<String,String> |
getExtraMetadata()
Gets the value of the 'extraMetadata' field.
|
Map<String,List<HoodieCleanFileInfo>> |
getFilePathsToBeDeletedPerPartition()
Gets the value of the 'filePathsToBeDeletedPerPartition' field.
|
Map<String,List<String>> |
getFilesToBeDeletedPerPartition()
Gets the value of the 'filesToBeDeletedPerPartition' field.
|
String |
getLastCompletedCommitTimestamp()
Gets the value of the 'lastCompletedCommitTimestamp' field.
|
List<String> |
getPartitionsToBeDeleted()
Gets the value of the 'partitionsToBeDeleted' field.
|
String |
getPolicy()
Gets the value of the 'policy' field.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasEarliestInstantToRetain()
Checks whether the 'earliestInstantToRetain' field has been set.
|
boolean |
hasEarliestInstantToRetainBuilder()
Checks whether the 'earliestInstantToRetain' field has an active Builder instance
|
boolean |
hasExtraMetadata()
Checks whether the 'extraMetadata' field has been set.
|
boolean |
hasFilePathsToBeDeletedPerPartition()
Checks whether the 'filePathsToBeDeletedPerPartition' field has been set.
|
boolean |
hasFilesToBeDeletedPerPartition()
Checks whether the 'filesToBeDeletedPerPartition' field has been set.
|
boolean |
hasLastCompletedCommitTimestamp()
Checks whether the 'lastCompletedCommitTimestamp' field has been set.
|
boolean |
hasPartitionsToBeDeleted()
Checks whether the 'partitionsToBeDeleted' field has been set.
|
boolean |
hasPolicy()
Checks whether the 'policy' field has been set.
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieCleanerPlan.Builder |
setEarliestInstantToRetain(HoodieActionInstant value)
Sets the value of the 'earliestInstantToRetain' field.
|
HoodieCleanerPlan.Builder |
setEarliestInstantToRetainBuilder(HoodieActionInstant.Builder value)
Sets the Builder instance for the 'earliestInstantToRetain' field
|
HoodieCleanerPlan.Builder |
setExtraMetadata(Map<String,String> value)
Sets the value of the 'extraMetadata' field.
|
HoodieCleanerPlan.Builder |
setFilePathsToBeDeletedPerPartition(Map<String,List<HoodieCleanFileInfo>> value)
Sets the value of the 'filePathsToBeDeletedPerPartition' field.
|
HoodieCleanerPlan.Builder |
setFilesToBeDeletedPerPartition(Map<String,List<String>> value)
Sets the value of the 'filesToBeDeletedPerPartition' field.
|
HoodieCleanerPlan.Builder |
setLastCompletedCommitTimestamp(String value)
Sets the value of the 'lastCompletedCommitTimestamp' field.
|
HoodieCleanerPlan.Builder |
setPartitionsToBeDeleted(List<String> value)
Sets the value of the 'partitionsToBeDeleted' field.
|
HoodieCleanerPlan.Builder |
setPolicy(String value)
Sets the value of the 'policy' field.
|
HoodieCleanerPlan.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public HoodieActionInstant getEarliestInstantToRetain()
public HoodieCleanerPlan.Builder setEarliestInstantToRetain(HoodieActionInstant value)
value - The value of 'earliestInstantToRetain'.public boolean hasEarliestInstantToRetain()
public HoodieActionInstant.Builder getEarliestInstantToRetainBuilder()
public HoodieCleanerPlan.Builder setEarliestInstantToRetainBuilder(HoodieActionInstant.Builder value)
value - The builder instance that must be set.public boolean hasEarliestInstantToRetainBuilder()
public HoodieCleanerPlan.Builder clearEarliestInstantToRetain()
public String getLastCompletedCommitTimestamp()
public HoodieCleanerPlan.Builder setLastCompletedCommitTimestamp(String value)
value - The value of 'lastCompletedCommitTimestamp'.public boolean hasLastCompletedCommitTimestamp()
public HoodieCleanerPlan.Builder clearLastCompletedCommitTimestamp()
public String getPolicy()
public HoodieCleanerPlan.Builder setPolicy(String value)
value - The value of 'policy'.public boolean hasPolicy()
public HoodieCleanerPlan.Builder clearPolicy()
public Map<String,List<String>> getFilesToBeDeletedPerPartition()
public HoodieCleanerPlan.Builder setFilesToBeDeletedPerPartition(Map<String,List<String>> value)
value - The value of 'filesToBeDeletedPerPartition'.public boolean hasFilesToBeDeletedPerPartition()
public HoodieCleanerPlan.Builder clearFilesToBeDeletedPerPartition()
public Integer getVersion()
public HoodieCleanerPlan.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieCleanerPlan.Builder clearVersion()
public Map<String,List<HoodieCleanFileInfo>> getFilePathsToBeDeletedPerPartition()
public HoodieCleanerPlan.Builder setFilePathsToBeDeletedPerPartition(Map<String,List<HoodieCleanFileInfo>> value)
value - The value of 'filePathsToBeDeletedPerPartition'.public boolean hasFilePathsToBeDeletedPerPartition()
public HoodieCleanerPlan.Builder clearFilePathsToBeDeletedPerPartition()
public List<String> getPartitionsToBeDeleted()
public HoodieCleanerPlan.Builder setPartitionsToBeDeleted(List<String> value)
value - The value of 'partitionsToBeDeleted'.public boolean hasPartitionsToBeDeleted()
public HoodieCleanerPlan.Builder clearPartitionsToBeDeleted()
public Map<String,String> getExtraMetadata()
public HoodieCleanerPlan.Builder setExtraMetadata(Map<String,String> value)
value - The value of 'extraMetadata'.public boolean hasExtraMetadata()
public HoodieCleanerPlan.Builder clearExtraMetadata()
public HoodieCleanerPlan build()
build in interface org.apache.avro.data.RecordBuilder<HoodieCleanerPlan>Copyright © 2024 The Apache Software Foundation. All rights reserved.