Package org.apache.cassandra.utils
Class MerkleTree.TreeRange
- All Implemented Interfaces:
Serializable,Comparable<Range<Token>>
- Enclosing class:
- MerkleTree
The public interface to a range in the tree.
NB: A TreeRange should not be returned by a public method unless the
parents of the range it represents are already invalidated, since it
will allow someone to modify the hash. Alternatively, a TreeRange
may be created with a null tree, indicating that it is read only.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.dht.Range
Range.OrderedRangeContainmentCheckerNested classes/interfaces inherited from class org.apache.cassandra.dht.AbstractBounds
AbstractBounds.AbstractBoundsSerializer<T extends RingPosition<T>>, AbstractBounds.Boundary<T extends RingPosition<T>> -
Field Summary
FieldsFields inherited from class org.apache.cassandra.dht.Range
serialVersionUIDFields inherited from class org.apache.cassandra.dht.AbstractBounds
left, right, rowPositionSerializer, tokenSerializer -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(Iterator<MerkleTree.RowHash> entries) voidaddHash(MerkleTree.RowHash entry) voidhash(byte[] hash) toString()Methods inherited from class org.apache.cassandra.dht.Range
asList, assertNormalized, compareTo, contains, contains, contains, deoverlap, differenceToFetch, equals, getClosingString, getOpeningString, inclusiveLeft, inclusiveRight, intersect, intersectionNonWrapping, intersectionWith, intersects, intersects, intersects, intersects, isEndInclusive, isInRanges, isStartInclusive, isTrulyWrapAround, isTrulyWrapAround, isWrapAround, isWrapAround, makeRowRange, makeRowRange, normalize, rangeSet, rangeSet, sort, split, subtract, subtract, subtractAll, unwrap, withNewRightMethods inherited from class org.apache.cassandra.dht.AbstractBounds
bounds, bounds, getString, hashCode, intersects, isEmpty, leftBoundary, maxLeft, maxLeft, minRight, minRight, noneStrictlyWrapsAround, rightBoundary, strictlyWrapsAround