public interface UpdateProperties extends PendingUpdate<java.util.Map<java.lang.String,java.lang.String>>
Apply returns the updated table properties as a map for validation.
When committing, these changes will be applied to the current table metadata. Commit conflicts will be resolved by applying the pending changes to the new table metadata.
Modifier and Type | Method and Description |
---|---|
UpdateProperties |
defaultFormat(FileFormat format)
Set the default file format for the table.
|
UpdateProperties |
remove(java.lang.String key)
Remove the given property key from the table.
|
UpdateProperties |
set(java.lang.String key,
java.lang.String value)
Add a key/value property to the table.
|
apply, commit, updateEvent
UpdateProperties set(java.lang.String key, java.lang.String value)
key
- a String keyvalue
- a String valuejava.lang.NullPointerException
- If either the key or value is nullUpdateProperties remove(java.lang.String key)
key
- a String keyjava.lang.NullPointerException
- If the key is nullUpdateProperties defaultFormat(FileFormat format)
format
- a file format