use of org.teiid.language.SortSpecification in project teiid by teiid.
the class TestSetQueryImpl method example3.
public static SetQuery example3() throws Exception {
SetQuery union = example2();
List<SortSpecification> items = new ArrayList<SortSpecification>();
// $NON-NLS-1$
items.add(new SortSpecification(Ordering.ASC, new ColumnReference(null, "nugent", null, DataTypeManager.DefaultDataClasses.STRING)));
OrderBy orderBy = new OrderBy(items);
union.setOrderBy(orderBy);
return union;
}
Aggregations