Post

3 followers Follow
0
Avatar

gemfire query - keys and value in same query output

Is it possible to run a gemfire query and get keys and values object in same result
for example i can run query
select * from /myregion.keys to get values of keys or select * from /myregion to get values of region
is it possible to have one query which can get values of key and region

Ashish Answered

Please sign in to leave a comment.

3 comments

0
Avatar

Yes. You can query for the entry object and select for key and value, e.g.:

select entry.key, entry.value from /MyRegion.entrySet entry

Tod Morrison 0 votes