Class RangeDenormalizer
- java.lang.Object
-
- org.apache.cassandra.repair.asymmetric.RangeDenormalizer
-
public class RangeDenormalizer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RangeDenormalizer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<Range<Token>>
denormalize(Range<Token> range, RangeMap<StreamFromOptions> incoming)
"Denormalizes" (kind of the opposite of what Range.normalize does) the ranges in the keys of {{incoming}} It makes sure that if there is an intersection between {{range}} and some of the ranges in {{incoming.keySet()}} we know that all intersections are keys in the updated {{incoming}}static java.util.Set<Range<Token>>
subtractAll(java.util.Collection<java.util.Map.Entry<Range<Token>,StreamFromOptions>> ranges, Range<Token> toSubtract)
copied from Range - need to iterate over the map entries
-
-
-
Method Detail
-
denormalize
public static java.util.Set<Range<Token>> denormalize(Range<Token> range, RangeMap<StreamFromOptions> incoming)
"Denormalizes" (kind of the opposite of what Range.normalize does) the ranges in the keys of {{incoming}} It makes sure that if there is an intersection between {{range}} and some of the ranges in {{incoming.keySet()}} we know that all intersections are keys in the updated {{incoming}}
-
-