instead of
(fn [row] (= (.getColumnIndex (first row)) 0))
you could also write
#(= (.getColumnIndex (first %)) 0)