public void bindIterator(RuntimeIterator itr) {
    QScope currentScope = currentScope();
    int currScopeID = currentScope.getScopeID();
    itr.setScopeID(currScopeID);
    currentScope.bindIterator(itr);
  }
bind a named iterator (to current scope)
geode-core/src/main/java/org/apache/geode/cache/query/internal/ExecutionContext.java