Class RangeIterator.Builder.Statistics<K extends Comparable<K>,D extends CombinedValue<K>>
java.lang.Object
org.apache.cassandra.index.sasi.utils.RangeIterator.Builder.Statistics<K,D>
- Enclosing class:
- RangeIterator.Builder<K extends Comparable<K>,
D extends CombinedValue<K>>
public static class RangeIterator.Builder.Statistics<K extends Comparable<K>,D extends CombinedValue<K>>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RangeIterator.Builder.IteratorTypeprotected Kprotected RangeIterator<K,D> protected Kprotected RangeIterator<K,D> protected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoublevoidupdate(RangeIterator<K, D> range) Update statistics information with the given range.
-
Field Details
-
iteratorType
-
min
-
max
-
tokenCount
protected long tokenCount -
minRange
-
maxRange
-
-
Constructor Details
-
Statistics
-
-
Method Details
-
update
Update statistics information with the given range. Updates min/max of the combined range, token count and tracks range with the least/most number of tokens.- Parameters:
range- The range to update statistics with.
-
isDisjoint
public boolean isDisjoint() -
sizeRatio
public double sizeRatio()
-