@Override
  public Result execute()
      throws UnsupportedPropertyException,
             SystemException,
             NoSuchResourceException,
             NoSuchParentResourceException {
    queryForResources();
    return getResult(null);
  }
Constructor

@param keyValueMap         the map of key values
@param resourceDefinition  the resource definition
@param clusterController   the cluster controller
ambari-server/src/main/java/org/apache/ambari/server/api/query/QueryImpl.java