7677787980818283
final String strSpec = writeSpec(); MapReduceSpec spec = new MapReduceSpec(strSpec); try { return client.mapReduce(spec); } catch (IOException e) { throw new RiakException(e); } }
130131132133134135136137
jg.writeEndObject(); jg.flush(); return out.toString("UTF8"); } catch (IOException e) { throw new RiakException(e); } }
525354555657585960
break; case HTTP: client = RiakFactory.httpClient(location.asString()); break; default: throw new RiakException("Unknown Transport"); } return client; }
326327328329330331332333
*/ public StreamingOperation<String> keys() throws RiakException { try { return client.listKeys(name); } catch (IOException e) { throw new RiakException(e); } }
102103104105106107108109110111
.withContinuation(continuation); try { return client.fetchIndex(builder.build()); } catch (IOException ex) { throw new RiakException(ex); } }
296297298299300301302303
return client.fetchCounter(bucket, counter, fetchMetaBuilder.build()); } } catch (IOException e) { throw new RiakException(e); } }
try { return client.mapReduce(spec); } catch(RiakError e) { throw ErlangTermErrorParser.parseErlangError(e.getMessage()); } catch (IOException e) { throw new RiakException(e); } }
121122123124125126127128
318319320321322323324325
*/ public Iterable<String> keys() throws RiakException { try { return client.listKeys(name); } catch (IOException e) { throw new RiakException(e); } }
7576777879808182