@InterfaceAudience.Public @InterfaceStability.Evolving public class LocatedTablet extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LocatedTablet.Replica
One of the replicas of the tablet.
|
Constructor and Description |
---|
LocatedTablet(org.apache.kudu.client.RemoteTablet tablet) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEndKey()
Deprecated.
|
LocatedTablet.Replica |
getLeaderReplica()
Return the current leader, or null if there is none.
|
List<LocatedTablet.Replica> |
getReplicas() |
byte[] |
getStartKey()
Deprecated.
|
byte[] |
getTabletId() |
String |
toString() |
@InterfaceAudience.LimitedPrivate(value="Tests") public LocatedTablet(org.apache.kudu.client.RemoteTablet tablet)
public List<LocatedTablet.Replica> getReplicas()
@Deprecated public byte[] getStartKey()
getPartition()
@Deprecated public byte[] getEndKey()
getPartition()
public byte[] getTabletId()
public LocatedTablet.Replica getLeaderReplica()
Copyright © 2018 The Apache Software Foundation. All rights reserved.