code: public void addResultVar(QueryArgument arg)
  	{
  		if(arg.getType() == QueryArgumentType.VAR) {
  			resultVars.add(arg);
  		}
  	}
docs: Add a result variable to the query.
  
  @param arg QueryArgument has to be a variable.