public User getUser(Integer i) {
        User result = new User();
        Iterable<Entry> userQuery = this.query("{id:" + i + "}");
        
        if (userQuery.iterator().hasNext()) {
            for (Entry user : userQuery) {
                result = (User) user;
            }
        }
        return result;
    }