Cursor cursor = new CursorImpl(qr);
Assert.assertEquals(12L, cursor.getRowsAffected());
Assert.assertEquals(12345L, cursor.getLastRowId());
Row firstRow = cursor.next();
Cell cell0 = firstRow.next();
Assert.assertEquals("col_0", cell0.getName());
Assert.assertEquals(BigDecimal.class, cell0.getType());
Assert.assertEquals(new BigDecimal("0.0"), firstRow.getBigDecimal(cell0.getName()));
Cell cell1 = firstRow.next();
Assert.assertEquals("col_1", cell1.getName());
Assert.assertEquals(Integer.class, cell1.getType());
Assert.assertEquals(new Integer(0), firstRow.getInt(cell1.getName()));
Cell cell2 = firstRow.next();
Assert.assertEquals("col_2", cell2.getName());
Assert.assertEquals(Integer.class, cell2.getType());
Assert.assertEquals(new Integer(0), firstRow.getInt(cell2.getName()));
Cell cell3 = firstRow.next();
Assert.assertEquals("col_3", cell3.getName());
Assert.assertEquals(Long.class, cell3.getType());
Assert.assertEquals(new Long(0), firstRow.getLong(cell3.getName()));
}