@Override
  public Query getQuery() {
    return query;
  }
Return the query after replacing region names with parameters

@return the Query for the query string
geode-cq/src/main/java/org/apache/geode/cache/query/cq/internal/CqQueryImpl.java