Java Queries for Pebble