public Map getIndex() {
    Hashtable availableIndexes = new Hashtable();
    for (final Object ind : indexes.values()) {
      // Check if the returned value is instance of Index (this means
      // the index is not in create phase, its created successfully).
      if (ind instanceof Index) {
        availableIndexes.put(((Index) ind).getName(), ind);
      }
    }
    return availableIndexes;
  }
Returns the map containing all the indexes on this partitioned region.

@return Map of all the indexes created.
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java