T
- Java class of changes from this update; returned by apply()
for validation.public interface PendingUpdate<T>
Modifier and Type | Method and Description |
---|---|
T |
apply()
Apply the pending changes and return the uncommitted changes for validation.
|
void |
commit()
Apply the pending changes and commit.
|
default java.lang.Object |
updateEvent()
Generates update event to notify about metadata changes
|
T apply()
This does not result in a permanent update.
commit()
ValidationException
- If the pending changes cannot be applied to the current metadatajava.lang.IllegalArgumentException
- If the pending changes are conflicting or invalidvoid commit()
Changes are committed by calling the underlying table's commit method.
Once the commit is successful, the updated table will be refreshed.
ValidationException
- If the update cannot be applied to the current table metadata.CommitFailedException
- If the update cannot be committed due to conflicts.default java.lang.Object updateEvent()