Interface Locations
-
public interface LocationsA snapshot of metadata information about where a specified set of ranges are located returned byTableOperations.locate(String, java.util.Collection)- Since:
- 1.8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetTabletLocation(TabletId tabletId)For anyTabletIdknown to this object, the method will return the tablet server location for that tablet.Map<Range,List<TabletId>>groupByRange()For all of the ranges passed toTableOperations.locate(String, java.util.Collection), return a map of the tablets each range overlaps.Map<TabletId,List<Range>>groupByTablet()For all of the ranges passed toTableOperations.locate(String, java.util.Collection), return a map of the ranges each tablet overlaps.
-
-
-
Method Detail
-
groupByRange
Map<Range,List<TabletId>> groupByRange()
For all of the ranges passed toTableOperations.locate(String, java.util.Collection), return a map of the tablets each range overlaps.
-
groupByTablet
Map<TabletId,List<Range>> groupByTablet()
For all of the ranges passed toTableOperations.locate(String, java.util.Collection), return a map of the ranges each tablet overlaps.
-
-