Package org.apache.iceberg.view
Interface UpdateViewProperties
- All Superinterfaces:
PendingUpdate<Map<String,
String>>
API for updating view properties.
Apply returns the updated view properties as a map for validation.
When committing, these changes will be applied to the current view metadata. Commit conflicts will be resolved by applying the pending changes to the new view metadata.
-
Method Summary
Modifier and TypeMethodDescriptionRemove the given property key from the view.Add a key/value property to the view.Methods inherited from interface org.apache.iceberg.PendingUpdate
apply, commit, updateEvent
-
Method Details
-
set
Add a key/value property to the view.- Parameters:
key
- a String keyvalue
- a String value- Returns:
- this for method chaining
- Throws:
NullPointerException
- If either the key or value is null
-
remove
Remove the given property key from the view.- Parameters:
key
- a String key- Returns:
- this for method chaining
- Throws:
NullPointerException
- If the key is null
-