public static class HoodieMetadataRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieMetadataRecord> implements org.apache.avro.data.RecordBuilder<HoodieMetadataRecord>
| Modifier and Type | Method and Description |
|---|---|
HoodieMetadataRecord |
build() |
HoodieMetadataRecord.Builder |
clearFilesystemMetadata()
Clears the value of the 'filesystemMetadata' field.
|
HoodieMetadataRecord.Builder |
clearKey()
Clears the value of the 'key' field.
|
HoodieMetadataRecord.Builder |
clearType()
Clears the value of the 'type' field.
|
Map<String,HoodieMetadataFileInfo> |
getFilesystemMetadata()
Gets the value of the 'filesystemMetadata' field.
|
String |
getKey()
Gets the value of the 'key' field.
|
Integer |
getType()
Gets the value of the 'type' field.
|
boolean |
hasFilesystemMetadata()
Checks whether the 'filesystemMetadata' field has been set.
|
boolean |
hasKey()
Checks whether the 'key' field has been set.
|
boolean |
hasType()
Checks whether the 'type' field has been set.
|
HoodieMetadataRecord.Builder |
setFilesystemMetadata(Map<String,HoodieMetadataFileInfo> value)
Sets the value of the 'filesystemMetadata' field.
|
HoodieMetadataRecord.Builder |
setKey(String value)
Sets the value of the 'key' field.
|
HoodieMetadataRecord.Builder |
setType(int value)
Sets the value of the 'type' field.
|
public String getKey()
public HoodieMetadataRecord.Builder setKey(String value)
value - The value of 'key'.public boolean hasKey()
public HoodieMetadataRecord.Builder clearKey()
public Integer getType()
public HoodieMetadataRecord.Builder setType(int value)
value - The value of 'type'.public boolean hasType()
public HoodieMetadataRecord.Builder clearType()
public Map<String,HoodieMetadataFileInfo> getFilesystemMetadata()
public HoodieMetadataRecord.Builder setFilesystemMetadata(Map<String,HoodieMetadataFileInfo> value)
value - The value of 'filesystemMetadata'.public boolean hasFilesystemMetadata()
public HoodieMetadataRecord.Builder clearFilesystemMetadata()
public HoodieMetadataRecord build()
build in interface org.apache.avro.data.RecordBuilder<HoodieMetadataRecord>Copyright © 2021 The Apache Software Foundation. All rights reserved.