How to use startkey with endkey when bucket.get() operation

java

#1

My document example is like this : [“kv”,120,1459459225340,1462050000000,197742] : {“a”:“b”}

I want to query the documents like the following link, but I do not want to use the view. How can i do this with java

http://10.10.10.48:8091/ui/index.html#/documents?documentsBucket=bss_write&pageLimit=5&pageNumber=0&documentsFilter={"startkey":"[\"kv\",120,0,{1502692091 | -1}]","endkey":"[\"kv\",120,1502692091,{9999999999 | -1}]"}

e.g.
bucket.get({“startkey”:"[“kv”,120,0,{1502692091 | -1}]",“endkey”:"[“kv”,120,1502692091,{9999999999 | -1}]"})