use of com.dailystudio.dataobject.LongColumn in project devbricks by dailystudio.
the class OrderingTokenTest method testWithOperation.
public void testWithOperation() {
Column column1 = null;
column1 = new IntegerColumn("intVal");
assertNotNull(column1);
Column column2 = null;
column2 = new DoubleColumn("doubleVal");
assertNotNull(column2);
Column column3 = null;
column3 = new LongColumn("longVal");
assertNotNull(column3);
Column column4 = null;
column4 = new TextColumn("textVal");
assertNotNull(column4);
assertEquals(new QueryToken("intVal, doubleVal, longVal, textVal"), column1.groupBy().with(column2.groupBy()).with(column3.groupBy()).with(column4.groupBy()));
}
Aggregations