public static class HoodieSavepointMetadata.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HoodieSavepointMetadata> implements org.apache.avro.data.RecordBuilder<HoodieSavepointMetadata>
| Modifier and Type | Method and Description |
|---|---|
HoodieSavepointMetadata |
build() |
HoodieSavepointMetadata.Builder |
clearComments()
Clears the value of the 'comments' field.
|
HoodieSavepointMetadata.Builder |
clearPartitionMetadata()
Clears the value of the 'partitionMetadata' field.
|
HoodieSavepointMetadata.Builder |
clearSavepointedAt()
Clears the value of the 'savepointedAt' field.
|
HoodieSavepointMetadata.Builder |
clearSavepointedBy()
Clears the value of the 'savepointedBy' field.
|
HoodieSavepointMetadata.Builder |
clearVersion()
Clears the value of the 'version' field.
|
String |
getComments()
Gets the value of the 'comments' field.
|
Map<String,HoodieSavepointPartitionMetadata> |
getPartitionMetadata()
Gets the value of the 'partitionMetadata' field.
|
Long |
getSavepointedAt()
Gets the value of the 'savepointedAt' field.
|
String |
getSavepointedBy()
Gets the value of the 'savepointedBy' field.
|
Integer |
getVersion()
Gets the value of the 'version' field.
|
boolean |
hasComments()
Checks whether the 'comments' field has been set.
|
boolean |
hasPartitionMetadata()
Checks whether the 'partitionMetadata' field has been set.
|
boolean |
hasSavepointedAt()
Checks whether the 'savepointedAt' field has been set.
|
boolean |
hasSavepointedBy()
Checks whether the 'savepointedBy' field has been set.
|
boolean |
hasVersion()
Checks whether the 'version' field has been set.
|
HoodieSavepointMetadata.Builder |
setComments(String value)
Sets the value of the 'comments' field.
|
HoodieSavepointMetadata.Builder |
setPartitionMetadata(Map<String,HoodieSavepointPartitionMetadata> value)
Sets the value of the 'partitionMetadata' field.
|
HoodieSavepointMetadata.Builder |
setSavepointedAt(long value)
Sets the value of the 'savepointedAt' field.
|
HoodieSavepointMetadata.Builder |
setSavepointedBy(String value)
Sets the value of the 'savepointedBy' field.
|
HoodieSavepointMetadata.Builder |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public String getSavepointedBy()
public HoodieSavepointMetadata.Builder setSavepointedBy(String value)
value - The value of 'savepointedBy'.public boolean hasSavepointedBy()
public HoodieSavepointMetadata.Builder clearSavepointedBy()
public Long getSavepointedAt()
public HoodieSavepointMetadata.Builder setSavepointedAt(long value)
value - The value of 'savepointedAt'.public boolean hasSavepointedAt()
public HoodieSavepointMetadata.Builder clearSavepointedAt()
public String getComments()
public HoodieSavepointMetadata.Builder setComments(String value)
value - The value of 'comments'.public boolean hasComments()
public HoodieSavepointMetadata.Builder clearComments()
public Map<String,HoodieSavepointPartitionMetadata> getPartitionMetadata()
public HoodieSavepointMetadata.Builder setPartitionMetadata(Map<String,HoodieSavepointPartitionMetadata> value)
value - The value of 'partitionMetadata'.public boolean hasPartitionMetadata()
public HoodieSavepointMetadata.Builder clearPartitionMetadata()
public Integer getVersion()
public HoodieSavepointMetadata.Builder setVersion(Integer value)
value - The value of 'version'.public boolean hasVersion()
public HoodieSavepointMetadata.Builder clearVersion()
public HoodieSavepointMetadata build()
build in interface org.apache.avro.data.RecordBuilder<HoodieSavepointMetadata>Copyright © 2024 The Apache Software Foundation. All rights reserved.