private List getAllDependentRuntimeIterators(ExecutionContext context) {
    List<RuntimeIterator> indItrs = context
        .getCurrScopeDpndntItrsBasedOnSingleIndpndntItr(getRuntimeIteratorForThisIndex(context));

    List<String> definitions = Arrays.asList(getCanonicalizedIteratorDefinitions());
    // These are the common iterators between query from clause and index from clause.
    List itrs = new ArrayList();

    for (RuntimeIterator itr : indItrs) {
      if (definitions.contains(itr.getDefinition())) {
        itrs.add(itr);
      }
    }
    return itrs;
  }
Take all independent iterators from context and remove the one which matches for this Index's
independent iterator. Then get all Dependent iterators from given context for this Index's
independent iterator.

@param context from executing query.
@return List of all iterators pertaining to this Index.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/AbstractIndex.java