Couchbase Java Client

Query.copy() copies Key into EndkeyDocID