@Beta public interface Tablet extends Comparable<Tablet>
| Modifier and Type | Method and Description |
|---|---|
long |
getFirstToken()
Returns left endpoint of an interval.
|
long |
getLastToken()
Returns right endpoint of an interval.
|
Set<Node> |
getReplicaNodes() |
int |
getShardForNode(Node node)
Looks up the shard number for specific replica Node.
|
compareTolong getFirstToken()
long value representing first token.long getLastToken()
long value representing last token.int getShardForNode(Node node)
node - one of the replica nodes of this tablet.Copyright © 2017–2025. All rights reserved.