Class RangeIntersectionIterator
java.lang.Object
org.apache.cassandra.index.sasi.utils.RangeIntersectionIterator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classRangeIntersectionIterator.BounceIntersectionIterator<K extends Comparable<K>,D extends CombinedValue<K>> Iterator which performs intersection of multiple ranges by using bouncing (merge-join) technique to identify common elements in the given ranges.static classRangeIntersectionIterator.Builder<K extends Comparable<K>,D extends CombinedValue<K>> protected static classRangeIntersectionIterator.LookupIntersectionIterator<K extends Comparable<K>,D extends CombinedValue<K>> Iterator which performs a linear scan over a primary range (the smallest of the ranges) and O(log(n)) lookup into secondary ranges using values from the primary iterator.protected static enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K extends Comparable<K>,D extends CombinedValue<K>>
RangeIntersectionIterator.Builder<K,D> builder()protected static <K extends Comparable<K>,D extends CombinedValue<K>>
RangeIntersectionIterator.Builder<K,D> builder(RangeIntersectionIterator.Strategy strategy)
-
Constructor Details
-
RangeIntersectionIterator
public RangeIntersectionIterator()
-
-
Method Details
-
builder
public static <K extends Comparable<K>,D extends CombinedValue<K>> RangeIntersectionIterator.Builder<K,D> builder() -
builder
protected static <K extends Comparable<K>,D extends CombinedValue<K>> RangeIntersectionIterator.Builder<K,D> builder(RangeIntersectionIterator.Strategy strategy)
-