public boolean isIndexUsed() {
    return isIndexUsedForLocalQuery;
  }
Executes a pre-compiled query on a data store. Adds result objects to resultQueue

@return boolean true if the result is a struct type
@throws ForceReattemptException if query should be tried again
geode-core/src/main/java/org/apache/geode/internal/cache/PRQueryProcessor.java