updated querying api to match lapd changes
api changes for predefined java query