Actually, this would be simpler/faster as a HashSet<String> collecting just the column names.