add the query all method give the android client use