转:http://*.com/questions/13584876/is-there-a-way-to-get-a-cursor-from-a-greendao-query-object
Assume you have Query object query
and dao sesssion daoSession
you can run
Cursor cursor = daoSession.getDatabase().rawQuery(query.getSql(), query.getParameters()