Package io.unitycatalog.client.api
Class DeltaCommitsApi
java.lang.Object
io.unitycatalog.client.api.DeltaCommitsApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.9.0")
public class DeltaCommitsApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommit(DeltaCommit deltaCommit) Commit changes to a specified Delta table.commitWithHttpInfo(DeltaCommit deltaCommit) Commit changes to a specified Delta table.protected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) getCommits(DeltaGetCommits deltaGetCommits) List unbackfilled Delta table commits.getCommitsWithHttpInfo(DeltaGetCommits deltaGetCommits) List unbackfilled Delta table commits.
-
Constructor Details
-
DeltaCommitsApi
public DeltaCommitsApi() -
DeltaCommitsApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
commit
Commit changes to a specified Delta table. The server has a limit defined in config on how many unbackfilled commits it can hold. Clients are expected to do active backfill of the commit after committing to UC. So in most cases the number of unbackfilled commits should be close to zero or one. But if clients misbehave and unbackfilled commits accumulate beyond the limit, server will reject further commits until more backfill is done. WARNING: This API is experimental and may change in future versions.- Parameters:
deltaCommit- (required)- Returns:
- Object
- Throws:
ApiException- if fails to make API call
-
commitWithHttpInfo
Commit changes to a specified Delta table. The server has a limit defined in config on how many unbackfilled commits it can hold. Clients are expected to do active backfill of the commit after committing to UC. So in most cases the number of unbackfilled commits should be close to zero or one. But if clients misbehave and unbackfilled commits accumulate beyond the limit, server will reject further commits until more backfill is done. WARNING: This API is experimental and may change in future versions.- Parameters:
deltaCommit- (required)- Returns:
- ApiResponse<Object>
- Throws:
ApiException- if fails to make API call
-
getCommits
List unbackfilled Delta table commits. WARNING: This API is experimental and may change in future versions. List all the unbackfilled Delta commits that are currently being tracked by the UC coordinator. If no commits are being tracked in the specific version range (from start_version to an optional end_version), it will return an empty list. WARNING: This API is experimental and may change in future versions.- Parameters:
deltaGetCommits- (optional)- Returns:
- DeltaGetCommitsResponse
- Throws:
ApiException- if fails to make API call
-
getCommitsWithHttpInfo
public ApiResponse<DeltaGetCommitsResponse> getCommitsWithHttpInfo(DeltaGetCommits deltaGetCommits) throws ApiException List unbackfilled Delta table commits. WARNING: This API is experimental and may change in future versions. List all the unbackfilled Delta commits that are currently being tracked by the UC coordinator. If no commits are being tracked in the specific version range (from start_version to an optional end_version), it will return an empty list. WARNING: This API is experimental and may change in future versions.- Parameters:
deltaGetCommits- (optional)- Returns:
- ApiResponse<DeltaGetCommitsResponse>
- Throws:
ApiException- if fails to make API call
-