Class DeltaCommit

java.lang.Object
io.unitycatalog.client.model.DeltaCommit

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DeltaCommit extends Object
Request body for committing changes to a specified Delta table. At least one of commit_info and latest_backfilled_version must be present.
  • Field Details

  • Constructor Details

    • DeltaCommit

      public DeltaCommit()
  • Method Details

    • tableId

      public DeltaCommit tableId(String tableId)
    • getTableId

      @Nonnull public String getTableId()
      The ID of the table to commit to. This ID uniquely identifies a table.
      Returns:
      tableId
    • setTableId

      public void setTableId(String tableId)
    • tableUri

      public DeltaCommit tableUri(String tableUri)
    • getTableUri

      @Nonnull public String getTableUri()
      The URI of the storage location of the table. If the table_id exists but the table_uri is different from the one previously registered (e.g., if the client moved the table), the request will fail. Example: s3://bucket-name/tables/some-table-id
      Returns:
      tableUri
    • setTableUri

      public void setTableUri(String tableUri)
    • commitInfo

      public DeltaCommit commitInfo(DeltaCommitInfo commitInfo)
    • getCommitInfo

      @Nullable public DeltaCommitInfo getCommitInfo()
      Get commitInfo
      Returns:
      commitInfo
    • setCommitInfo

      public void setCommitInfo(DeltaCommitInfo commitInfo)
    • latestBackfilledVersion

      public DeltaCommit latestBackfilledVersion(Long latestBackfilledVersion)
    • getLatestBackfilledVersion

      @Nullable public Long getLatestBackfilledVersion()
      The highest version of the commits that have been backfilled for this table; meaning UC no longer needs to keep track of commits of versions <= this version.
      Returns:
      latestBackfilledVersion
    • setLatestBackfilledVersion

      public void setLatestBackfilledVersion(Long latestBackfilledVersion)
    • metadata

      public DeltaCommit metadata(DeltaMetadata metadata)
    • getMetadata

      @Nullable public DeltaMetadata getMetadata()
      Get metadata
      Returns:
      metadata
    • setMetadata

      public void setMetadata(DeltaMetadata metadata)
    • uniform

      public DeltaCommit uniform(DeltaUniform uniform)
    • getUniform

      @Nullable public DeltaUniform getUniform()
      Get uniform
      Returns:
      uniform
    • setUniform

      public void setUniform(DeltaUniform uniform)
    • equals

      public boolean equals(Object o)
      Return true if this DeltaCommit object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string