code: @Override
    public RegionLocator getRegionLocator(TableName tableName) throws IOException {
      RegionLocator locator = getCachedLocator(tableName);
  
      if (locator == null) {
        locator = new BigtableRegionLocator(tableName, getOptions(), getSession().getDataClientWrapper()) {
  
          @Override
          public SampledRowKeysAdapter getSampledRowKeysAdapter(TableName tableName,
              ServerName serverName) {
            return createSampledRowKeysAdapter(tableName, serverName);
          }
        };
  
        locatorCache.add(locator);
      }
      return locator;
    }
docs: {@inheritDoc}