@Override public String[] getTypes() { if (rows.isEmpty()) { return null; } for (DatasetRow wr : rows) { String[] types = wr.getTypes(); if (types != null) { return types; } } return null; }