Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Region people = cache.getRegion("/People");
- ...
- QueryService queryService = people.getRegionSevice().getQueryService();
- Query query = queryService.newQuery("SELECT * FROM /People p WHERE p.age >= $1");
- SelectResults<Person> results = (SelectResults<Person>) query.execute(asArray(21));
- // process (e.g. validate) the results
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement