Command cmd = new RippleQueryCmd(query, derefSink);
// Execute the inner command and wait until it is finished.
cmd.setQueryEngine(qe);
taskSet = new TaskSet();
taskSet.add(cmd);
taskSet.waitUntilEmpty();
// Flush results to the view.
if (doBuffer) {