Package io.delta.storage.commit
Class UCDeltaGetCommitsResponse
Object
io.delta.storage.commit.GetCommitsResponse
io.delta.storage.commit.UCDeltaGetCommitsResponse
Extended response for
CommitCoordinatorClient.getCommits(io.delta.storage.commit.TableDescriptor, java.lang.Long, java.lang.Long) implementations backed by the
Delta REST loadTable API.
Currently, it carries additional UniformMetadata returned
by the loadTable response alongside the standard commits and latest table version.-
Constructor Summary
ConstructorsConstructorDescriptionUCDeltaGetCommitsResponse(List<Commit> commits, long latestTableVersion, Optional<UniformMetadata> uniformMetadata) -
Method Summary
Modifier and TypeMethodDescriptionReturns a new response with commits sorted by version.Methods inherited from class io.delta.storage.commit.GetCommitsResponse
getCommits, getLatestTableVersion
-
Constructor Details
-
UCDeltaGetCommitsResponse
public UCDeltaGetCommitsResponse(List<Commit> commits, long latestTableVersion, Optional<UniformMetadata> uniformMetadata)
-
-
Method Details
-
getUniformMetadata
-
sortCommitsByVersion
Description copied from class:GetCommitsResponseReturns a new response with commits sorted by version.- Overrides:
sortCommitsByVersionin classGetCommitsResponse
-