public static class MerkleTree.TreeRange extends Range<Token>
Range.OrderedRangeContainmentChecker
AbstractBounds.AbstractBoundsSerializer<T extends RingPosition<T>>, AbstractBounds.Boundary<T extends RingPosition<T>>
Modifier and Type | Field and Description |
---|---|
byte |
depth |
static long |
serialVersionUID |
left, right, rowPositionSerializer, tokenSerializer
Modifier and Type | Method and Description |
---|---|
void |
addAll(java.util.Iterator<MerkleTree.RowHash> entries) |
void |
addHash(MerkleTree.RowHash entry) |
void |
ensureHashInitialised() |
byte[] |
hash() |
void |
hash(byte[] hash) |
java.lang.String |
toString() |
asList, compareTo, contains, contains, contains, differenceToFetch, equals, getClosingString, getOpeningString, inclusiveLeft, inclusiveRight, intersectionWith, intersects, intersects, intersects, isInRanges, isWrapAround, isWrapAround, makeRowRange, makeRowRange, normalize, rangeSet, rangeSet, split, subtract, subtractAll, unwrap, withNewRight
bounds, bounds, getString, hashCode, intersects, isEmpty, leftBoundary, maxLeft, maxLeft, minRight, minRight, noneStrictlyWrapsAround, rightBoundary, strictlyWrapsAround
public static final long serialVersionUID
public final byte depth
public void hash(byte[] hash)
public byte[] hash()
public void addHash(MerkleTree.RowHash entry)
entry
- Row to mix into the hash for this range.public void ensureHashInitialised()
public void addAll(java.util.Iterator<MerkleTree.RowHash> entries)
Copyright © 2020 The Apache Software Foundation