public static class HoodieReplaceCommitMetadata.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieReplaceCommitMetadata> implements org.apache.avro.data.RecordBuilder<HoodieReplaceCommitMetadata>
| Modifier and Type | Method and Description |
|---|---|
HoodieReplaceCommitMetadata |
build() |
HoodieReplaceCommitMetadata.Builder |
clearExtraMetadata()
Clears the value of the 'extraMetadata' field.
|
HoodieReplaceCommitMetadata.Builder |
clearOperationType()
Clears the value of the 'operationType' field.
|
HoodieReplaceCommitMetadata.Builder |
clearPartitionToReplaceFileIds()
Clears the value of the 'partitionToReplaceFileIds' field.
|
HoodieReplaceCommitMetadata.Builder |
clearPartitionToWriteStats()
Clears the value of the 'partitionToWriteStats' field.
|
HoodieReplaceCommitMetadata.Builder |
clearVersion()
Clears the value of the 'version' field.
|
Map<String,String> |
getExtraMetadata()
Gets the value of the 'extraMetadata' field.
|
String |
getOperationType()
Gets the value of the 'operationType' field.
|
Map<String,List<String>> |
getPartitionToReplaceFileIds()
Gets the value of the 'partitionToReplaceFileIds' field.
|
Map<String,List<HoodieWriteStat>> |
getPartitionToWriteStats()
Gets the value of the 'partitionToWriteStats' field.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasExtraMetadata()
Checks whether the 'extraMetadata' field has been set.
|
boolean |
hasOperationType()
Checks whether the 'operationType' field has been set.
|
boolean |
hasPartitionToReplaceFileIds()
Checks whether the 'partitionToReplaceFileIds' field has been set.
|
boolean |
hasPartitionToWriteStats()
Checks whether the 'partitionToWriteStats' field has been set.
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieReplaceCommitMetadata.Builder |
setExtraMetadata(Map<String,String> value)
Sets the value of the 'extraMetadata' field.
|
HoodieReplaceCommitMetadata.Builder |
setOperationType(String value)
Sets the value of the 'operationType' field.
|
HoodieReplaceCommitMetadata.Builder |
setPartitionToReplaceFileIds(Map<String,List<String>> value)
Sets the value of the 'partitionToReplaceFileIds' field.
|
HoodieReplaceCommitMetadata.Builder |
setPartitionToWriteStats(Map<String,List<HoodieWriteStat>> value)
Sets the value of the 'partitionToWriteStats' field.
|
HoodieReplaceCommitMetadata.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public Map<String,List<HoodieWriteStat>> getPartitionToWriteStats()
public HoodieReplaceCommitMetadata.Builder setPartitionToWriteStats(Map<String,List<HoodieWriteStat>> value)
value - The value of 'partitionToWriteStats'.public boolean hasPartitionToWriteStats()
public HoodieReplaceCommitMetadata.Builder clearPartitionToWriteStats()
public Map<String,String> getExtraMetadata()
public HoodieReplaceCommitMetadata.Builder setExtraMetadata(Map<String,String> value)
value - The value of 'extraMetadata'.public boolean hasExtraMetadata()
public HoodieReplaceCommitMetadata.Builder clearExtraMetadata()
public Integer getVersion()
public HoodieReplaceCommitMetadata.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieReplaceCommitMetadata.Builder clearVersion()
public String getOperationType()
public HoodieReplaceCommitMetadata.Builder setOperationType(String value)
value - The value of 'operationType'.public boolean hasOperationType()
public HoodieReplaceCommitMetadata.Builder clearOperationType()
public Map<String,List<String>> getPartitionToReplaceFileIds()
public HoodieReplaceCommitMetadata.Builder setPartitionToReplaceFileIds(Map<String,List<String>> value)
value - The value of 'partitionToReplaceFileIds'.public boolean hasPartitionToReplaceFileIds()
public HoodieReplaceCommitMetadata.Builder clearPartitionToReplaceFileIds()
public HoodieReplaceCommitMetadata build()
build in interface org.apache.avro.data.RecordBuilder<HoodieReplaceCommitMetadata>Copyright © 2024 The Apache Software Foundation. All rights reserved.