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 Details

    • DeltaCommitsApi

      public DeltaCommitsApi()
    • DeltaCommitsApi

      public DeltaCommitsApi(ApiClient apiClient)
  • Method Details

    • getApiException

      protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException
      Throws:
      IOException
    • commit

      public Object commit(DeltaCommit deltaCommit) throws ApiException
      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

      public ApiResponse<Object> commitWithHttpInfo(DeltaCommit deltaCommit) throws ApiException
      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

      public DeltaGetCommitsResponse getCommits(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:
      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