stream gene query results from database using the Visitor pattern