Re: Java client key existence

2012-07-30 Thread Brian Roach
Hi Ukyo, The Java client is … sort of complicated at the moment :) It's got a high level interface (IRiakClient) built on a "translation" level interface (RawClient) that then has the two separate, original clients under it (HTTP and Protocol buffers). At the highest level (IRiakClient) … th

Re: Java client key existence

2012-07-28 Thread Mark Phillips
Mark On Jul 28, 2012, at 10:55, Parnell Springmeyer wrote: > The client might not support that, I don't know. I know the Python client (at > least the version I'm using) also does a full GET of the object. > > Here's the kicker though, I'm using LevelDB for the backend and LevelDB is > not

Re: Java client key existence

2012-07-28 Thread Parnell Springmeyer
The client might not support that, I don't know. I know the Python client (at least the version I'm using) also does a full GET of the object. Here's the kicker though, I'm using LevelDB for the backend and LevelDB is notorious for having poor read performance when you're trying to GET a key tha

Java client key existence

2012-07-28 Thread Ukyo Virgden
Hi, Just installed riak and trying to get adjusted. Having looked at the java client, I could not tell if there' a way to check key exixtence. What I need to do is to check if a key exists and put it if it doesn't. In HTTP request from curl, a HEAD request instead of a GET gives the result I need