Interface Locations
public interface Locations
A snapshot of metadata information about where a specified set of ranges are located returned by
TableOperations.locate(String, java.util.Collection)
- Since:
- 1.8.0
-
Method Summary
Modifier and TypeMethodDescriptiongetTabletLocation
(TabletId tabletId) For anyTabletId
known to this object, the method will return the tablet server location for that tablet.For all of the ranges passed toTableOperations.locate(String, java.util.Collection)
, return a map of the tablets each range overlaps.For all of the ranges passed toTableOperations.locate(String, java.util.Collection)
, return a map of the ranges each tablet overlaps.
-
Method Details
-
groupByRange
For all of the ranges passed toTableOperations.locate(String, java.util.Collection)
, return a map of the tablets each range overlaps. -
groupByTablet
For all of the ranges passed toTableOperations.locate(String, java.util.Collection)
, return a map of the ranges each tablet overlaps. -
getTabletLocation
For anyTabletId
known to this object, the method will return the tablet server location for that tablet.- Returns:
- A tablet server location in the form of
<host>:<port>
-