Uses of Interface
uk.megaslice.delta.NaturalKey
-
-
Uses of NaturalKey in uk.megaslice.delta
Methods in uk.megaslice.delta with parameters of type NaturalKey Modifier and Type Method Description Collection<T>Delta. apply(Iterable<T> items, NaturalKey<T,K> naturalKey)Applies this delta's inserts, updates and deletes to another dataset.static <T,K>
Delta<T,K>Delta. diff(Iterable<T> before, Iterable<T> after, NaturalKey<T,K> naturalKey)Creates a delta from two datasets, using a default item equivalence function.static <T,K>
Delta<T,K>Delta. diff(Iterable<T> before, Iterable<T> after, NaturalKey<T,K> naturalKey, Equivalence<T> equivalence)Creates a delta from two datasets.static <T,U,K>
Delta<T,K>Delta. diff(Iterable<T> before, Iterable<T> after, NaturalKey<T,K> naturalKey, Essence<T,U> essence)Creates a delta from two datasets, using anEssencefunction to distill items for comparison.
-