ThisT
- the child Java API class, returned by method chaining.public interface SnapshotUpdate<ThisT> extends PendingUpdate<Snapshot>
Snapshot
.Modifier and Type | Method and Description |
---|---|
ThisT |
deleteWith(java.util.function.Consumer<java.lang.String> deleteFunc)
Set a callback to delete files instead of the table's default.
|
ThisT |
scanManifestsWith(java.util.concurrent.ExecutorService executorService)
Use a particular executor to scan manifests.
|
ThisT |
set(java.lang.String property,
java.lang.String value)
Set a summary property in the snapshot produced by this update.
|
ThisT |
stageOnly()
Called to stage a snapshot in table metadata, but not update the current snapshot id.
|
default ThisT |
toBranch(java.lang.String branch)
Perform operations on a particular branch
|
apply, commit, updateEvent
ThisT set(java.lang.String property, java.lang.String value)
property
- a String property namevalue
- a String property valueThisT deleteWith(java.util.function.Consumer<java.lang.String> deleteFunc)
deleteFunc
- a String consumer used to delete locations.ThisT stageOnly()
ThisT scanManifestsWith(java.util.concurrent.ExecutorService executorService)
executorService
- the provided executordefault ThisT toBranch(java.lang.String branch)
branch
- which is name of SnapshotRef of type branch.