|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RequestMeta | |
|---|---|
| com.basho.riak.client | |
| com.basho.riak.client.plain | |
| com.basho.riak.client.request | |
| com.basho.riak.client.util | |
| Uses of RequestMeta in com.basho.riak.client |
|---|
| Methods in com.basho.riak.client with parameters of type RequestMeta | |
|---|---|
HttpResponse |
RiakObject.delete(RequestMeta meta)
Convenience method for calling RiakClient.delete(String, String, RequestMeta). |
HttpResponse |
RiakClient.delete(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Delete the object at bucket and key. |
FetchResponse |
RiakObject.fetch(RequestMeta meta)
Convenience method for calling RiakClient.fetch(String, String)
followed by RiakObject.copyData(RiakObject) |
FetchResponse |
RiakClient.fetch(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Fetch the RiakObject (which can include sibling objects) stored
at bucket and key. |
FetchResponse |
RiakObject.fetchMeta(RequestMeta meta)
Convenience method for calling RiakClient.fetchMeta(String, String, RequestMeta) followed by
RiakObject.updateMeta(FetchResponse) |
FetchResponse |
RiakClient.fetchMeta(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Fetch metadata (e.g. |
BucketResponse |
RiakClient.getBucketSchema(java.lang.String bucket,
RequestMeta meta)
Return the properties for a Riak bucket without listing the keys in it. |
BucketResponse |
RiakClient.listBucket(java.lang.String bucket,
RequestMeta meta)
Return the properties and keys for a Riak bucket. |
MapReduceResponse |
RiakClient.mapReduce(java.lang.String job,
RequestMeta meta)
Execute a map reduce job on the Riak server. |
WalkResponse |
RiakObject.LinkBuilder.run(RequestMeta meta)
Execute the link walking query by calling RiakClient.walk(String, String, String, RequestMeta). |
HttpResponse |
RiakClient.setBucketSchema(java.lang.String bucket,
RiakBucketInfo bucketInfo,
RequestMeta meta)
Set the properties for a Riak bucket. |
StoreResponse |
RiakObject.store(RequestMeta meta)
Convenience method for calling RiakClient.store(RiakObject, RequestMeta) followed by
RiakObject.updateMeta(StoreResponse) |
StoreResponse |
RiakObject.store(RiakClient riak,
RequestMeta meta)
Store this object to a different Riak instance. |
StoreResponse |
RiakClient.store(RiakObject object,
RequestMeta meta)
Store a RiakObject. |
FetchResponse |
RiakClient.stream(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Similar to fetch(), except the HTTP connection is left open for successful responses, and the Riak response is provided as a stream. |
boolean |
RiakClient.stream(java.lang.String bucket,
java.lang.String key,
StreamHandler handler,
RequestMeta meta)
Fetch and process the object stored at bucket and
key as a stream. |
BucketResponse |
RiakClient.streamBucket(java.lang.String bucket,
RequestMeta meta)
Same as RiakClient.listBucket(String, RequestMeta), except
streams the response, so the user must remember to call
HttpResponseDecorator.close() on the return value. |
WalkResponse |
RiakClient.walk(java.lang.String bucket,
java.lang.String key,
java.lang.String walkSpec,
RequestMeta meta)
Perform a map/reduce link walking operation and return the objects for which the "accumulate" flag is true. |
| Uses of RequestMeta in com.basho.riak.client.plain |
|---|
| Methods in com.basho.riak.client.plain with parameters of type RequestMeta | |
|---|---|
void |
PlainClient.delete(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Like RiakClient.delete(String, String, RequestMeta), except
throws on a non-200 or 404 response. |
RiakObject |
PlainClient.fetch(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Like RiakClient.fetch(String, String, RequestMeta), except it
returns the fetched object directly or throws if the response is not a
200, 304 or 404. |
java.util.Collection<? extends RiakObject> |
PlainClient.fetchAll(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Like RiakClient.fetch(String, String, RequestMeta), except it
returns the all the fetched objects directly or throws if the response is
not a 200, 304 or 404. |
RiakObject |
PlainClient.fetchMeta(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Like RiakClient.fetchMeta(String, String, RequestMeta), except it
returns the fetched object metadata directly or throws if the response is
not a 200, 304 or 404. |
RiakBucketInfo |
PlainClient.listBucket(java.lang.String bucket,
RequestMeta meta)
Like RiakClient.listBucket(String, RequestMeta), except throws on
a non-200 response |
void |
PlainClient.setBucketSchema(java.lang.String bucket,
RiakBucketInfo bucketInfo,
RequestMeta meta)
Like RiakClient.setBucketSchema(String, RiakBucketInfo, RequestMeta),
except throws on a non-204 response. |
void |
PlainClient.store(RiakObject object,
RequestMeta meta)
Like RiakClient.store(RiakObject, RequestMeta), except throws on
a non-200 or 204 response and updates the passed in RiakObject
with new metadata from Riak. |
boolean |
PlainClient.stream(java.lang.String bucket,
java.lang.String key,
StreamHandler handler,
RequestMeta meta)
Identical to RiakClient.stream(String, String, StreamHandler, RequestMeta). |
java.util.List<? extends java.util.List<? extends RiakObject>> |
PlainClient.walk(java.lang.String bucket,
java.lang.String key,
java.lang.String walkSpec,
RequestMeta meta)
Like RiakClient.walk(String, String, String, RequestMeta), except
throws on a non-200 or 404 response. |
| Uses of RequestMeta in com.basho.riak.client.request |
|---|
| Methods in com.basho.riak.client.request that return RequestMeta | |
|---|---|
static RequestMeta |
RequestMeta.readParams(int r)
Use the given r parameter for fetchMeta, fetch, or stream operations |
RequestMeta |
RequestMeta.setAccept(java.lang.String contentTypes)
|
RequestMeta |
RequestMeta.setClientId(java.lang.String clientId)
|
RequestMeta |
RequestMeta.setHeader(java.lang.String key,
java.lang.String value)
Add the specified HTTP header |
RequestMeta |
RequestMeta.setIfMatch(java.lang.String etags)
|
RequestMeta |
RequestMeta.setIfMatch(java.lang.String[] etags)
|
RequestMeta |
RequestMeta.setIfModifiedSince(java.util.Date lastmod)
|
RequestMeta |
RequestMeta.setIfModifiedSince(java.lang.String lastmod)
|
RequestMeta |
RequestMeta.setIfNoneMatch(java.lang.String etags)
|
RequestMeta |
RequestMeta.setIfNoneMatch(java.lang.String[] etags)
|
RequestMeta |
RequestMeta.setIfUnmodifiedSince(java.util.Date lastmod)
|
RequestMeta |
RequestMeta.setIfUnmodifiedSince(java.lang.String lastmod)
|
RequestMeta |
RequestMeta.setQueryParam(java.lang.String param,
java.lang.String value)
Add the given query parameter to the request |
static RequestMeta |
RequestMeta.writeParams(java.lang.Integer w,
java.lang.Integer dw)
Use the given w and dw params for store or delete operations. |
| Methods in com.basho.riak.client.request with parameters of type RequestMeta | |
|---|---|
MapReduceResponse |
MapReduceBuilder.submit(RequestMeta meta)
Submits the job to the Riak server |
| Uses of RequestMeta in com.basho.riak.client.util |
|---|
| Methods in com.basho.riak.client.util with parameters of type RequestMeta | |
|---|---|
HttpResponse |
ClientHelper.delete(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Same as RiakClient, except only returning the HTTP response |
HttpResponse |
ClientHelper.fetch(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
|
HttpResponse |
ClientHelper.fetch(java.lang.String bucket,
java.lang.String key,
RequestMeta meta,
boolean streamResponse)
Same as RiakClient, except only returning the HTTP response and
allows the response to be streamed. |
HttpResponse |
ClientHelper.fetchMeta(java.lang.String bucket,
java.lang.String key,
RequestMeta meta)
Same as RiakClient, except only returning the HTTP response |
HttpResponse |
ClientHelper.getBucketSchema(java.lang.String bucket,
RequestMeta meta)
Same as RiakClient.getBucketSchema(String, RequestMeta), except
only returning the HTTP response. |
HttpResponse |
ClientHelper.listBucket(java.lang.String bucket,
RequestMeta meta,
boolean streamResponse)
Same as RiakClient, except only returning the HTTP response, and
if streamResponse==true, the response will be streamed back, so the user
is responsible for calling HttpResponseDecorator.close() |
HttpResponse |
ClientHelper.mapReduce(java.lang.String job,
RequestMeta meta)
Same as RiakClient, except only returning the HTTP response |
HttpResponse |
ClientHelper.setBucketSchema(java.lang.String bucket,
JSONObject schema,
RequestMeta meta)
See RiakClient.setBucketSchema(String, com.basho.riak.client.RiakBucketInfo, RequestMeta) |
HttpResponse |
ClientHelper.store(RiakObject object,
RequestMeta meta)
Same as RiakClient, except only returning the HTTP response |
boolean |
ClientHelper.stream(java.lang.String bucket,
java.lang.String key,
StreamHandler handler,
RequestMeta meta)
Same as RiakClient, except only returning the HTTP response |
HttpResponse |
ClientHelper.walk(java.lang.String bucket,
java.lang.String key,
java.lang.String walkSpec,
RequestMeta meta)
Same as RiakClient, except only returning the HTTP response |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||