public static class HoodieIndexCommitMetadata.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieIndexCommitMetadata> implements org.apache.avro.data.RecordBuilder<HoodieIndexCommitMetadata>
| Modifier and Type | Method and Description |
|---|---|
HoodieIndexCommitMetadata |
build() |
HoodieIndexCommitMetadata.Builder |
clearIndexPartitionInfos()
Clears the value of the 'indexPartitionInfos' field.
|
HoodieIndexCommitMetadata.Builder |
clearOperationType()
Clears the value of the 'operationType' field.
|
HoodieIndexCommitMetadata.Builder |
clearVersion()
Clears the value of the 'version' field.
|
List<HoodieIndexPartitionInfo> |
getIndexPartitionInfos()
Gets the value of the 'indexPartitionInfos' field.
|
String |
getOperationType()
Gets the value of the 'operationType' field.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasIndexPartitionInfos()
Checks whether the 'indexPartitionInfos' field has been set.
|
boolean |
hasOperationType()
Checks whether the 'operationType' field has been set.
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieIndexCommitMetadata.Builder |
setIndexPartitionInfos(List<HoodieIndexPartitionInfo> value)
Sets the value of the 'indexPartitionInfos' field.
|
HoodieIndexCommitMetadata.Builder |
setOperationType(String value)
Sets the value of the 'operationType' field.
|
HoodieIndexCommitMetadata.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public Integer getVersion()
public HoodieIndexCommitMetadata.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieIndexCommitMetadata.Builder clearVersion()
public String getOperationType()
public HoodieIndexCommitMetadata.Builder setOperationType(String value)
value - The value of 'operationType'.public boolean hasOperationType()
public HoodieIndexCommitMetadata.Builder clearOperationType()
public List<HoodieIndexPartitionInfo> getIndexPartitionInfos()
public HoodieIndexCommitMetadata.Builder setIndexPartitionInfos(List<HoodieIndexPartitionInfo> value)
value - The value of 'indexPartitionInfos'.public boolean hasIndexPartitionInfos()
public HoodieIndexCommitMetadata.Builder clearIndexPartitionInfos()
public HoodieIndexCommitMetadata build()
build in interface org.apache.avro.data.RecordBuilder<HoodieIndexCommitMetadata>Copyright © 2024 The Apache Software Foundation. All rights reserved.