Package org.apache.iceberg
Interface UpdateProperties
- All Superinterfaces:
- PendingUpdate<Map<String,- String>> 
API for updating table properties.
 
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.
- 
Method SummaryModifier and TypeMethodDescriptiondefaultFormat(FileFormat format) Set the default file format for the table.Remove the given property key from the table.Add a key/value property to the table.Methods inherited from interface org.apache.iceberg.PendingUpdateapply, commit, updateEvent
- 
Method Details- 
setAdd a key/value property to the table.- Parameters:
- key- a String key
- value- a String value
- Returns:
- this for method chaining
- Throws:
- NullPointerException- If either the key or value is null
 
- 
removeRemove the given property key from the table.- Parameters:
- key- a String key
- Returns:
- this for method chaining
- Throws:
- NullPointerException- If the key is null
 
- 
defaultFormatSet the default file format for the table.- Parameters:
- format- a file format
- Returns:
- this
 
 
-