List getAllIndependentIteratorsOfCurrentScope() {
    List<RuntimeIterator> independentIterators = new ArrayList<>(indpndtItrToRgnMap.size());
    int currentScopeId = currentScope().getScopeID();
    for (RuntimeIterator rIter : indpndtItrToRgnMap.keySet()) {
      if (rIter.getScopeID() == currentScopeId) {
        independentIterators.add(rIter);
      }
    }
    return independentIterators;
  }
This function populates the Map itrDefToIndpndtRuntimeItrMap. It creates a Set of
RuntimeIterators to which the current CompilediteratorDef is dependent upon. Also it sets the
index_internal_id for the RuntimeIterator, which is used for calculating the canonicalized
iterator definitions for identifying the available index.

@param itrDef CompiledIteratorDef object representing iterator in the query from clause
geode-core/src/main/java/org/apache/geode/cache/query/internal/ExecutionContext.java