@Value.Immutable
public interface TableCommit
UpdateRequirements to be
validated and MetadataUpdates that have been applied. The UpdateRequirements and
MetadataUpdates can be derived from table's base and updated TableMetadata when
using create(TableIdentifier, TableMetadata, TableMetadata).| Modifier and Type | Method and Description |
|---|---|
static TableCommit |
create(TableIdentifier identifier,
TableMetadata base,
TableMetadata updated)
This creates a
TableCommit instance to be applied for a single table with UpdateRequirements to be validated and MetadataUpdates that have been applied. |
TableIdentifier |
identifier() |
java.util.List<UpdateRequirement> |
requirements() |
java.util.List<MetadataUpdate> |
updates() |
TableIdentifier identifier()
java.util.List<UpdateRequirement> requirements()
java.util.List<MetadataUpdate> updates()
static TableCommit create(TableIdentifier identifier, TableMetadata base, TableMetadata updated)
TableCommit instance to be applied for a single table with UpdateRequirements to be validated and MetadataUpdates that have been applied.identifier - The TableIdentifier to create the TableCommit for.base - The base TableMetadata where UpdateRequirements are derived from
and used for validation.updated - The updated TableMetadata where MetadataUpdates that have been
applied are derived from.TableCommit instance to be applied for a single table