Package org.apache.iceberg
Class SetLocation
java.lang.Object
org.apache.iceberg.SetLocation
- All Implemented Interfaces:
- PendingUpdate<String>,- UpdateLocation
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapply()Apply the pending changes and return the uncommitted changes for validation.voidcommit()Apply the pending changes and commit.setLocation(String location) Set the table's or view's location.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.PendingUpdateupdateEvent
- 
Constructor Details- 
SetLocation
 
- 
- 
Method Details- 
setLocationDescription copied from interface:UpdateLocationSet the table's or view's location.- Specified by:
- setLocationin interface- UpdateLocation
- Parameters:
- location- a String location
- Returns:
- this for method chaining
 
- 
applyDescription copied from interface:PendingUpdateApply the pending changes and return the uncommitted changes for validation.This does not result in a permanent update. - Specified by:
- applyin interface- PendingUpdate<String>
- Returns:
- the uncommitted changes that would be committed by calling PendingUpdate.commit()
 
- 
commitpublic void commit()Description copied from interface:PendingUpdateApply the pending changes and commit.Changes are committed by calling the underlying table's commit method. Once the commit is successful, the updated table will be refreshed. - Specified by:
- commitin interface- PendingUpdate<String>
 
 
-