public static class HoodieCompactionPlan.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieCompactionPlan> implements org.apache.avro.data.RecordBuilder<HoodieCompactionPlan>
| Modifier and Type | Method and Description |
|---|---|
HoodieCompactionPlan |
build() |
HoodieCompactionPlan.Builder |
clearExtraMetadata()
Clears the value of the 'extraMetadata' field.
|
HoodieCompactionPlan.Builder |
clearOperations()
Clears the value of the 'operations' field.
|
HoodieCompactionPlan.Builder |
clearPreserveHoodieMetadata()
Clears the value of the 'preserveHoodieMetadata' field.
|
HoodieCompactionPlan.Builder |
clearStrategy()
Clears the value of the 'strategy' field.
|
HoodieCompactionPlan.Builder |
clearVersion()
Clears the value of the 'version' field.
|
Map<String,String> |
getExtraMetadata()
Gets the value of the 'extraMetadata' field.
|
List<HoodieCompactionOperation> |
getOperations()
Gets the value of the 'operations' field.
|
Boolean |
getPreserveHoodieMetadata()
Gets the value of the 'preserveHoodieMetadata' field.
|
HoodieCompactionStrategy |
getStrategy()
Gets the value of the 'strategy' field.
|
HoodieCompactionStrategy.Builder |
getStrategyBuilder()
Gets the Builder instance for the 'strategy' field and creates one if it doesn't exist yet.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasExtraMetadata()
Checks whether the 'extraMetadata' field has been set.
|
boolean |
hasOperations()
Checks whether the 'operations' field has been set.
|
boolean |
hasPreserveHoodieMetadata()
Checks whether the 'preserveHoodieMetadata' field has been set.
|
boolean |
hasStrategy()
Checks whether the 'strategy' field has been set.
|
boolean |
hasStrategyBuilder()
Checks whether the 'strategy' field has an active Builder instance
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieCompactionPlan.Builder |
setExtraMetadata(Map<String,String> value)
Sets the value of the 'extraMetadata' field.
|
HoodieCompactionPlan.Builder |
setOperations(List<HoodieCompactionOperation> value)
Sets the value of the 'operations' field.
|
HoodieCompactionPlan.Builder |
setPreserveHoodieMetadata(Boolean value)
Sets the value of the 'preserveHoodieMetadata' field.
|
HoodieCompactionPlan.Builder |
setStrategy(HoodieCompactionStrategy value)
Sets the value of the 'strategy' field.
|
HoodieCompactionPlan.Builder |
setStrategyBuilder(HoodieCompactionStrategy.Builder value)
Sets the Builder instance for the 'strategy' field
|
HoodieCompactionPlan.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public List<HoodieCompactionOperation> getOperations()
public HoodieCompactionPlan.Builder setOperations(List<HoodieCompactionOperation> value)
value - The value of 'operations'.public boolean hasOperations()
public HoodieCompactionPlan.Builder clearOperations()
public Map<String,String> getExtraMetadata()
public HoodieCompactionPlan.Builder setExtraMetadata(Map<String,String> value)
value - The value of 'extraMetadata'.public boolean hasExtraMetadata()
public HoodieCompactionPlan.Builder clearExtraMetadata()
public Integer getVersion()
public HoodieCompactionPlan.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieCompactionPlan.Builder clearVersion()
public HoodieCompactionStrategy getStrategy()
public HoodieCompactionPlan.Builder setStrategy(HoodieCompactionStrategy value)
value - The value of 'strategy'.public boolean hasStrategy()
public HoodieCompactionStrategy.Builder getStrategyBuilder()
public HoodieCompactionPlan.Builder setStrategyBuilder(HoodieCompactionStrategy.Builder value)
value - The builder instance that must be set.public boolean hasStrategyBuilder()
public HoodieCompactionPlan.Builder clearStrategy()
public Boolean getPreserveHoodieMetadata()
public HoodieCompactionPlan.Builder setPreserveHoodieMetadata(Boolean value)
value - The value of 'preserveHoodieMetadata'.public boolean hasPreserveHoodieMetadata()
public HoodieCompactionPlan.Builder clearPreserveHoodieMetadata()
public HoodieCompactionPlan build()
build in interface org.apache.avro.data.RecordBuilder<HoodieCompactionPlan>Copyright © 2024 The Apache Software Foundation. All rights reserved.