Package uk.megaslice.delta
-
Interface Summary Interface Description Equivalence<T> A function to determine whether two dataset items are equivalent.Essence<T,U> A function to distill an item down to its essential features for equivalence comparisons.NaturalKey<T,K> A function to derive a natural key for a given dataset item. -
Class Summary Class Description Delta<T,K> Represents changes to a dataset in terms of insert, update and delete operations.Operation<T> An insert, delete or update operation. -
Enum Summary Enum Description Operation.Type The type of an operation: insert, update or delete. -
Exception Summary Exception Description DuplicateKeyException RuntimeExceptionthrown when a dataset contains multiple items with the same natural key, or when a delta contains an insert operation that would result in a duplicate key when applied.InvalidCombination RuntimeExceptionthrown when there is an attempt to combine operations that cannot be combined.