columns = Sets.newLinkedHashSet();
columnsOrdering();
}
private void columnsOrdering() {
Row rowAnnotation = type.getAnnotation(Row.class);
if (rowAnnotation == null || rowAnnotation.colsOrder() == null || rowAnnotation.colsOrder().length == 0) return;
colsOrdering = Sets.newLinkedHashSet();
for (String column : rowAnnotation.colsOrder()) {
colsOrdering.add(new Col(column));
}
}