public class SetLocation extends java.lang.Object implements UpdateLocation
| Constructor and Description | 
|---|
| SetLocation(TableOperations ops) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | apply()Apply the pending changes and return the uncommitted changes for validation. | 
| void | commit()Apply the pending changes and commit. | 
| UpdateLocation | setLocation(java.lang.String location)Set the table's location. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateEventpublic SetLocation(TableOperations ops)
public UpdateLocation setLocation(java.lang.String location)
UpdateLocationsetLocation in interface UpdateLocationlocation - a String locationpublic java.lang.String apply()
PendingUpdateThis does not result in a permanent update.
apply in interface PendingUpdate<java.lang.String>PendingUpdate.commit()public void commit()
PendingUpdateChanges are committed by calling the underlying table's commit method.
Once the commit is successful, the updated table will be refreshed.
commit in interface PendingUpdate<java.lang.String>