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