Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/src/main/java/org/apache/iceberg/ManageSnapshots.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public interface ManageSnapshots extends PendingUpdate<Snapshot> {
*
* @param snapshotId long id of snapshot id to roll back table to. Must be an ancestor of the
* current snapshot
* @return this for method chaining
Comment thread
uros-b marked this conversation as resolved.
* @throws IllegalArgumentException If the table has no snapshot with the given id
* @throws ValidationException If given snapshot id is not an ancestor of the current state
*/
Expand Down Expand Up @@ -130,6 +131,7 @@ default ManageSnapshots createBranch(String name) {
*
* @param name name of branch to rename
* @param newName the desired new name of the branch
* @return this for method chaining
* @throws IllegalArgumentException if the branch to rename does not exist or if there is already
* a branch with the same name as the desired new name.
*/
Expand Down
1 change: 1 addition & 0 deletions api/src/main/java/org/apache/iceberg/SnapshotUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ default ThisT writeManifestsWith(ExecutorService executorService, int parallelis
* Perform operations on a particular branch
*
* @param branch which is name of SnapshotRef of type branch.
* @return this for method chaining
*/
default ThisT toBranch(String branch) {
throw new UnsupportedOperationException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ default List<Namespace> listNamespaces(SessionContext context) {
* @param namespace a {@link Namespace namespace}
* @param updates properties to set for the namespace
* @param removals properties to remove from the namespace
* @return true if the namespace metadata was successfully updated, false otherwise
* @throws NoSuchNamespaceException If the namespace does not exist (optional)
* @throws UnsupportedOperationException If namespace properties are not supported
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ default List<Namespace> listNamespaces() {
*
* @param namespace a namespace. {@link Namespace}
* @param properties a collection of metadata to apply to the namespace
* @return true if the properties were successfully set, false otherwise
* @throws NoSuchNamespaceException If the namespace does not exist (optional)
* @throws UnsupportedOperationException If namespace properties are not supported
*/
Expand All @@ -142,6 +143,7 @@ boolean setProperties(Namespace namespace, Map<String, String> properties)
*
* @param namespace a namespace. {@link Namespace}
* @param properties a collection of metadata to apply to the namespace
* @return true if the properties were successfully removed, false otherwise
* @throws NoSuchNamespaceException If the namespace does not exist (optional)
* @throws UnsupportedOperationException If namespace properties are not supported
*/
Expand Down
Loading