@Override
 public void consume() throws RepositoryException {
   while (stream.hasNext()) {
     final Statement t = m.asStatement(stream.next());
     LOGGER.debug("Operating on triple {}.", t);
     operateOnTriple(t);
   }
 }