@Override
  public ClientCQ[] getCqs() {
    preOp();
    ClientCQ[] cqs = null;
    try {
      ArrayList<InternalCqQuery> cqList = new ArrayList<>();
      for (String name : cqNames) {
        cqList.add(((DefaultQueryService) realQueryService).getCqService().getCq(name));
      }
      cqs = new ClientCQ[cqList.size()];
      cqList.toArray(cqs);
    } catch (CqException cqe) {
      if (logger.isDebugEnabled()) {
        logger.debug("Unable to get Cqs. Error: {}", cqe.getMessage(), cqe);
      }
    }
    return cqs;
  }
A wrapper class over an actual QueryService instance. This is used when the
multiuser-authentication attribute is set to true.

@see ProxyCache
@since GemFire 6.5
geode-core/src/main/java/org/apache/geode/cache/query/internal/ProxyQueryService.java