Java client 1.1.4 and headOnly() in domain buckets
iwan.daniel at gmail.com
Wed May 13 13:25:02 EDT 2015
>> It appears that the domain buckets api does not support headOnly(). That
>> api was written to be a higher-level abstraction around a common usage,
>> it abstracted that idea of head vs object data away.
I think it may be quite useful functionality anyway, to check the existence
of a key.
This is what I'm using it for to avoid loading big objects from leveldb.
Can you confirm if that operation does not read data from the backend or is
there any other better way to check existence of the key?
>> If you need that support, I would use the regular bucket methods instead.
That's what I ended up doing although it's not convenient to have two bucket
instances configured differently to access data in one way or another i.e.
writing through DomainBucket, checking keys through regular bucket.
View this message in context: http://riak-users.197444.n3.nabble.com/Java-client-1-1-4-and-headOnly-in-domain-buckets-tp4033042p4033056.html
Sent from the Riak Users mailing list archive at Nabble.com.
More information about the riak-users