How can i cache couchbase documents in java?

i have to cache all the documents which are returned when i execute the below query

select * from contact where type=“org”

What will be the best approach to do this?