| Constructor and Description |
|---|
Branches() |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
create(String branch,
long versionNumber)
Create a branch at a specified version.
|
Dataset |
create(String branchName,
long versionNumber,
String sourceBranch)
Create a branch from a specific source branch and version.
|
Dataset |
create(String branchName,
String sourceTag)
Create a branch from a tag reference.
|
void |
delete(String branchName)
Delete a branch and its metadata.
|
List<Branch> |
list()
List all branches in this dataset.
|
public Dataset create(String branch, long versionNumber)
branch - the branch name to createversionNumber - the version number to create branch frompublic Dataset create(String branchName, long versionNumber, String sourceBranch)
branchName - the branch name to createversionNumber - the version number to create branch fromsourceBranch - the source branch namepublic Dataset create(String branchName, String sourceTag)
branchName - the branch name to createsourceTag - the tag name to create branch frompublic void delete(String branchName)
branchName - the branch to deleteCopyright © 2025. All rights reserved.