docs: public List<KeyRange> getLocalKeyPartition() throws BackendException {
          ensureKeyspaceExists(keySpaceName);
  
          @SuppressWarnings("rawtypes")
          Collection<Range<Token>> ranges = StorageService.instance.getPrimaryRanges(keySpaceName);
  
          List<KeyRange> keyRanges = new ArrayList<KeyRange>(ranges.size());
  
          for (@SuppressWarnings("rawtypes") Range<Token> range : ranges) {
              keyRanges.add(CassandraHelper.transformRange(range));
          }
  
          return keyRanges;
      }