@Override
  void lockedQuery(Object lowerBoundKey, int lowerBoundOperator, Object upperBoundKey,
      int upperBoundOperator, Collection results, Set keysToRemove, ExecutionContext context)
      throws TypeMismatchException {
    throw new UnsupportedOperationException(
        "For a PrimaryKey Index , a range has no meaning");

  }
Return the number of values for the specified key in this index.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/PrimaryKeyIndex.java