A B C D E F G H I J K L M N O P Q R S T U V W X

A

accumulate(String, Object) - Method in class org.json.JSONObject
Accumulate values under a key.
add(T) - Method in class com.basho.riak.client.util.CollectionWrapper
 
addAll(Collection<? extends T>) - Method in class com.basho.riak.client.util.CollectionWrapper
 
addLink(RiakLink) - Method in class com.basho.riak.client.RiakObject
 
addRiakObject(String, String) - Method in class com.basho.riak.client.request.MapReduceBuilder
Adds a Riak object (bucket name/key pair) to the map/reduce job as inputs
addStep(String, String, String) - Method in class com.basho.riak.client.request.RiakWalkSpec
Append a step to this walk spec.
addStep(String, String, boolean) - Method in class com.basho.riak.client.request.RiakWalkSpec
Append a step to this walk spec.
addStep(String, String) - Method in class com.basho.riak.client.request.RiakWalkSpec
Append a step to this walk spec, and take the default option for the accumulate flag.
addUsermeta(String, String) - Method in class com.basho.riak.client.RiakObject
 
AMP - Static variable in class org.json.XML
The Character '&'.
anon(String) - Static method in class com.basho.riak.client.mapreduce.JavascriptFunction
Shortcut for creating a reference to an anonymous Javascript function
APOS - Static variable in class org.json.XML
The Character '''.
append(String, Object) - Method in class org.json.JSONObject
Append values to the array under a key.
array() - Method in class org.json.JSONWriter
Begin appending a new array.
asHeaderMap(Header[]) - Static method in class com.basho.riak.client.util.ClientUtils
Convert a header array returned from HttpClient to a map

B

back() - Method in class org.json.JSONTokener
Back up one character.
BANG - Static variable in class org.json.XML
The Character '!'.
BASE_URL_PATTERN - Static variable in class com.basho.riak.client.RiakConfig
 
branch() - Method in class com.basho.riak.client.util.BranchableInputStream
 
BranchableInputStream - Class in com.basho.riak.client.util
An input stream that can be branched into other InputStreams, each maintaining its own location, with the main read() method always returning bytes from the furthest advanced branch.
BranchableInputStream(InputStream) - Constructor for class com.basho.riak.client.util.BranchableInputStream
 
BranchableInputStream(InputStream, int) - Constructor for class com.basho.riak.client.util.BranchableInputStream
 
BucketResponse - Class in com.basho.riak.client.response
Response from a GET request at a bucket's URL.
BucketResponse(HttpResponse) - Constructor for class com.basho.riak.client.response.BucketResponse
On a 2xx response, parses the JSON response into a RiakBucketInfo

C

cache(T) - Method in class com.basho.riak.client.util.CollectionWrapper
Called by subclasses to add an object to the cache when executing cacheNext().
cacheNext() - Method in class com.basho.riak.client.response.StreamedKeysCollection
Tries to read and cache another set of keys from the input stream.
cacheNext() - Method in class com.basho.riak.client.response.StreamedSiblingsCollection
Tries to read and cache another part of the multipart/mixed stream.
cacheNext() - Method in class com.basho.riak.client.util.CollectionWrapper
Cache one or more objects from the backend by calling cache(T)
CDL - Class in org.json
This provides static methods to convert comma delimited text into a JSONArray, and to covert a JSONArray into comma delimited text.
CDL() - Constructor for class org.json.CDL
 
clear() - Method in class com.basho.riak.client.util.CollectionWrapper
 
clearRiakObjects() - Method in class com.basho.riak.client.request.MapReduceBuilder
Remove all Riak objects from the input list
ClientHelper - Class in com.basho.riak.client.util
This class performs the actual HTTP requests underlying the operations in RiakClient and returns the resulting HTTP responses.
ClientHelper(RiakConfig, String) - Constructor for class com.basho.riak.client.util.ClientHelper
 
ClientUtils - Class in com.basho.riak.client.util
Utility functions.
ClientUtils() - Constructor for class com.basho.riak.client.util.ClientUtils
 
close() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
close() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
close() - Method in interface com.basho.riak.client.response.HttpResponse
Releases the underlying the HTTP connection when the response is streamed
close() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
close() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
close() - Method in class com.basho.riak.client.util.BranchableInputStream
 
close() - Method in class com.basho.riak.client.util.OneTokenInputStream
 
closeBackend() - Method in class com.basho.riak.client.response.StreamedKeysCollection
 
closeBackend() - Method in class com.basho.riak.client.response.StreamedSiblingsCollection
 
closeBackend() - Method in class com.basho.riak.client.util.CollectionWrapper
Close the backend so no more objects can be read from it (getNext() should only return null afterwards).
CollectionWrapper<T> - Class in com.basho.riak.client.util
 
CollectionWrapper() - Constructor for class com.basho.riak.client.util.CollectionWrapper
 
com.basho.riak.client - package com.basho.riak.client
 
com.basho.riak.client.mapreduce - package com.basho.riak.client.mapreduce
 
com.basho.riak.client.plain - package com.basho.riak.client.plain
 
com.basho.riak.client.request - package com.basho.riak.client.request
 
com.basho.riak.client.response - package com.basho.riak.client.response
 
com.basho.riak.client.util - package com.basho.riak.client.util
 
Constants - Interface in com.basho.riak.client.util
 
contains(Object) - Method in class com.basho.riak.client.util.CollectionWrapper
 
containsAll(Collection<?>) - Method in class com.basho.riak.client.util.CollectionWrapper
 
ConvertToCheckedExceptions - Class in com.basho.riak.client.plain
Converts unchecked exceptions RiakIORuntimeException and RiakResponseRuntimeException to checked exceptions RiakIOException and RiakRuntimeException.
ConvertToCheckedExceptions() - Constructor for class com.basho.riak.client.plain.ConvertToCheckedExceptions
 
Cookie - Class in org.json
Convert a web browser cookie specification to a JSONObject and back.
Cookie() - Constructor for class org.json.Cookie
 
CookieList - Class in org.json
Convert a web browser cookie list string to a JSONObject and back.
CookieList() - Constructor for class org.json.CookieList
 
copyData(RiakObject) - Method in class com.basho.riak.client.RiakObject
Copy the metadata and value from object.
copyStream(InputStream, OutputStream) - Static method in class com.basho.riak.client.util.ClientUtils
Copies data from an InputStream to an OutputStream in blocks
CRLF - Static variable in class org.json.HTTP
Carriage return/line feed.
CTYPE_ANY - Static variable in interface com.basho.riak.client.util.Constants
 
CTYPE_JSON - Static variable in interface com.basho.riak.client.util.Constants
 
CTYPE_MULTIPART_MIXED - Static variable in interface com.basho.riak.client.util.Constants
 
CTYPE_OCTET_STREAM - Static variable in interface com.basho.riak.client.util.Constants
 
CTYPE_TEXT - Static variable in interface com.basho.riak.client.util.Constants
 

D

DEFAULT_DW - Static variable in interface com.basho.riak.client.util.Constants
 
DEFAULT_R - Static variable in interface com.basho.riak.client.util.Constants
 
DEFAULT_W - Static variable in interface com.basho.riak.client.util.Constants
 
DefaultHttpResponse - Class in com.basho.riak.client.response
Simple implementation of HttpResponse interface.
DefaultHttpResponse(String, String, int, Map<String, String>, byte[], InputStream, HttpMethod) - Constructor for class com.basho.riak.client.response.DefaultHttpResponse
 
dehexchar(char) - Static method in class org.json.JSONTokener
Get the hex value of a character (base16).
delete(String, String, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
Like RiakClient.delete(String, String, RequestMeta), except throws on a non-200 or 404 response.
delete(String, String) - Method in class com.basho.riak.client.plain.PlainClient
 
delete(String, String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Delete the object at bucket and key.
delete(String, String) - Method in class com.basho.riak.client.RiakClient
 
delete(RequestMeta) - Method in class com.basho.riak.client.RiakObject
Convenience method for calling RiakClient.delete(String, String, RequestMeta).
delete() - Method in class com.basho.riak.client.RiakObject
 
delete(String, String, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
Same as RiakClient, except only returning the HTTP response
done() - Method in class com.basho.riak.client.util.OneTokenInputStream
 
doubleToString(double) - Static method in class org.json.JSONObject
Produce a string from a double.

E

encodeClientId(byte[]) - Static method in class com.basho.riak.client.util.ClientUtils
Base64 encodes the first 4 bytes of clientId into a value acceptable for the X-Riak-ClientId header.
encodeClientId(String) - Static method in class com.basho.riak.client.util.ClientUtils
 
end() - Method in class org.json.JSONTokener
 
endArray() - Method in class org.json.JSONWriter
End an array.
endObject() - Method in class org.json.JSONWriter
End an object.
entity - Static variable in class org.json.XMLTokener
The table of entity values.
EQ - Static variable in class org.json.XML
The Character '='.
equals(Object) - Method in class com.basho.riak.client.RiakLink
 
ErlangFunction - Class in com.basho.riak.client.mapreduce
Represents an Erlang function used in a map or reduce phase of a map/reduce job
ErlangFunction(String, String) - Constructor for class com.basho.riak.client.mapreduce.ErlangFunction
Constructs a new ErlangFunction instance
escape(String) - Static method in class org.json.Cookie
Produce a copy of a string in which the characters '+', '%', '=', ';' and control characters are replaced with "%hh".
escape(String) - Static method in class org.json.XML
Replace special characters with XML escapes:

F

fetch(String, String, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
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.
fetch(String, String) - Method in class com.basho.riak.client.plain.PlainClient
 
fetch(String, String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Fetch the RiakObject (which can include sibling objects) stored at bucket and key.
fetch(String, String) - Method in class com.basho.riak.client.RiakClient
 
fetch(RequestMeta) - Method in class com.basho.riak.client.RiakObject
Convenience method for calling RiakClient.fetch(String, String) followed by RiakObject.copyData(RiakObject)
fetch() - Method in class com.basho.riak.client.RiakObject
 
fetch(String, String, RequestMeta, boolean) - Method in class com.basho.riak.client.util.ClientHelper
Same as RiakClient, except only returning the HTTP response and allows the response to be streamed.
fetch(String, String, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
 
fetchAll(String, String, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
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.
fetchAll(String, String) - Method in class com.basho.riak.client.plain.PlainClient
 
fetchMeta(String, String, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
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.
fetchMeta(String, String) - Method in class com.basho.riak.client.plain.PlainClient
 
fetchMeta(String, String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Fetch metadata (e.g.
fetchMeta(String, String) - Method in class com.basho.riak.client.RiakClient
 
fetchMeta(RequestMeta) - Method in class com.basho.riak.client.RiakObject
Convenience method for calling RiakClient.fetchMeta(String, String, RequestMeta) followed by RiakObject.updateMeta(FetchResponse)
fetchMeta() - Method in class com.basho.riak.client.RiakObject
 
fetchMeta(String, String, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
Same as RiakClient, except only returning the HTTP response
FetchResponse - Class in com.basho.riak.client.response
Response from a HEAD or GET request for an object.
FetchResponse(HttpResponse, RiakClient) - Constructor for class com.basho.riak.client.response.FetchResponse
On a 2xx response, parse the HTTP response from Riak into a RiakObject.
FetchResponse(HttpResponse) - Constructor for class com.basho.riak.client.response.FetchResponse
 
FL_KEYS - Static variable in interface com.basho.riak.client.util.Constants
 
FL_NAME - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA_ALLOW_MULT - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA_CHASHFUN - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA_CHASHFUN_FUN - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA_CHASHFUN_MOD - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA_LINKFUN - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA_LINKFUN_FUN - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA_LINKFUN_MOD - Static variable in interface com.basho.riak.client.util.Constants
 
FL_SCHEMA_NVAL - Static variable in interface com.basho.riak.client.util.Constants
 

G

get(int) - Method in class org.json.JSONArray
Get the object value associated with an index.
get(String) - Method in class org.json.JSONObject
Get the value object associated with a key.
getAccept() - Method in class com.basho.riak.client.request.RequestMeta
Convenience method for the Accept HTTP header
getAllowMult() - Method in class com.basho.riak.client.RiakBucketInfo
 
getBaseUrl() - Method in class com.basho.riak.client.RiakConfig
The host and port of the Riak server, which is extracted from the specified Riak URL.
getBody() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
getBody() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
getBody() - Method in interface com.basho.riak.client.response.HttpResponse
The HTTP response body or null if isStreamed()
getBody() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
getBody() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
getBody() - Method in class com.basho.riak.client.util.Multipart.Part
Body of this part
getBodyAsString() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
getBodyAsString() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
getBodyAsString() - Method in interface com.basho.riak.client.response.HttpResponse
 
getBodyAsString() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
getBodyAsString() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
getBodyAsString() - Method in class com.basho.riak.client.util.Multipart.Part
 
getBoolean(int) - Method in class org.json.JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class org.json.JSONObject
Get the boolean value associated with a key.
getBoundary(String) - Static method in class com.basho.riak.client.util.Multipart
Given a content type value, get the "boundary" parameter
getBucket() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
getBucket() - Method in class com.basho.riak.client.request.MapReduceBuilder
Gets the name of the Riak bucket the map/reduce job will process
getBucket() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
getBucket() - Method in interface com.basho.riak.client.response.HttpResponse
The target object's bucket
getBucket() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
getBucket() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
getBucket() - Method in class com.basho.riak.client.RiakLink
Bucket of the target object being linked to.
getBucket() - Method in class com.basho.riak.client.RiakObject
The object's bucket
getBucketInfo() - Method in class com.basho.riak.client.response.BucketResponse
The bucket's schema and keys
getBucketSchema(String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Return the properties for a Riak bucket without listing the keys in it.
getBucketSchema(String) - Method in class com.basho.riak.client.RiakClient
 
getBucketSchema(String, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
Same as RiakClient.getBucketSchema(String, RequestMeta), except only returning the HTTP response.
getCause() - Method in exception org.json.JSONException
 
getCHashFun() - Method in class com.basho.riak.client.RiakBucketInfo
The chash_keyfun property as <module>:<function>
getClient(RiakConfig) - Static method in class com.basho.riak.client.plain.PlainClient
Connect to Riak using the given configuration.
getClient(String) - Static method in class com.basho.riak.client.plain.PlainClient
Connect to Riak using the given URL.
getClientId() - Method in class com.basho.riak.client.request.RequestMeta
Convenience method for the X-Riak-ClientId HTTP header
getClientId() - Method in class com.basho.riak.client.RiakClient
A 4-byte unique ID for this client.
getClientId() - Method in class com.basho.riak.client.util.ClientHelper
See RiakClient.getClientId()
getConfig() - Method in class com.basho.riak.client.RiakClient
 
getConfig() - Method in class com.basho.riak.client.util.ClientHelper
 
getContentType() - Method in class com.basho.riak.client.RiakObject
The object's content type as a MIME type
getDouble(int) - Method in class org.json.JSONArray
Get the double value associated with an index.
getDouble(String) - Method in class org.json.JSONObject
Get the double value associated with a key.
getExceptionHandler() - Method in class com.basho.riak.client.RiakClient
The installed exception handler or null if not installed
getExceptionHandler() - Method in class com.basho.riak.client.util.ClientHelper
 
getHeader(String) - Method in class com.basho.riak.client.request.RequestMeta
Return the value for the HTTP header or null if not set
getHeaders() - Method in class com.basho.riak.client.request.RequestMeta
Map of HTTP header names to values
getHeaders() - Method in class com.basho.riak.client.util.Multipart.Part
Headers defined in the part
getHeaders() - Method in class com.basho.riak.client.util.StreamedMultipart
Return the map of document headers that this object was constructed with.
getHttpClient() - Method in class com.basho.riak.client.RiakClient
Return the HttpClient used to make requests, which can be configured.
getHttpClient() - Method in class com.basho.riak.client.RiakConfig
The pre-constructed HttpClient for a client to use if one was provided
getHttpClient() - Method in class com.basho.riak.client.util.ClientHelper
Return the HttpClient used to make requests, which can be configured.
getHttpHeaders() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
getHttpHeaders() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
getHttpHeaders() - Method in interface com.basho.riak.client.response.HttpResponse
The HTTP response headers.
getHttpHeaders() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
getHttpHeaders() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
getHttpMethod() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
getHttpMethod() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
getHttpMethod() - Method in interface com.basho.riak.client.response.HttpResponse
The actual HttpMethod used to make the HTTP request.
getHttpMethod() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
getHttpMethod() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
getIfMatch() - Method in class com.basho.riak.client.request.RequestMeta
Convenience method for the If-Match HTTP header
getIfModifiedSince() - Method in class com.basho.riak.client.request.RequestMeta
Convenience method for the If-Modified-Since HTTP header
getIfNoneMatch() - Method in class com.basho.riak.client.request.RequestMeta
Convenience method for the If-None-Match HTTP header
getIfUnmodifiedSince() - Method in class com.basho.riak.client.request.RequestMeta
Convenience method for the If-Unmodified-Since HTTP header
getInt(int) - Method in class org.json.JSONArray
Get the int value associated with an index.
getInt(String) - Method in class org.json.JSONObject
Get the int value associated with a key.
getJSONArray(int) - Method in class org.json.JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class org.json.JSONObject
Get the JSONArray value associated with a key.
getJSONObject(int) - Method in class org.json.JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class org.json.JSONObject
Get the JSONObject value associated with a key.
getKey() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
getKey() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
getKey() - Method in interface com.basho.riak.client.response.HttpResponse
The target object's key or null if bucket is target
getKey() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
getKey() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
getKey() - Method in class com.basho.riak.client.RiakLink
Key of the target object being linked to.
getKey() - Method in class com.basho.riak.client.RiakObject
The object's key
getKeys() - Method in class com.basho.riak.client.RiakBucketInfo
The object keys in this bucket.
getLastmod() - Method in class com.basho.riak.client.response.StoreResponse
The object's last modified date or null if Riak didn't return one.
getLastmod() - Method in class com.basho.riak.client.RiakObject
The modification date of the object determined by Riak
getLastmodAsDate() - Method in class com.basho.riak.client.RiakObject
Convenience method to get the last modified header parsed into a Date object.
getLinkFun() - Method in class com.basho.riak.client.RiakBucketInfo
The linkfun property as <module>:<function>
getLinks() - Method in class com.basho.riak.client.RiakObject
The object's links -- may be empty, but never be null.
getLong(int) - Method in class org.json.JSONArray
Get the long value associated with an index.
getLong(String) - Method in class org.json.JSONObject
Get the long value associated with a key.
getMapReducePath() - Method in class com.basho.riak.client.RiakConfig
The path to the Riak map reduce resource, which defaults to /mapred
getMapReduceUrl() - Method in class com.basho.riak.client.RiakConfig
The full URL of Riak map reduce resource, which is calculated by combining the host and port from the Riak URL and the map reduce path.
getMaxConnections() - Method in class com.basho.riak.client.RiakConfig
 
getNames(JSONObject) - Static method in class org.json.JSONObject
Get an array of field names from a JSONObject.
getNames(Object) - Static method in class org.json.JSONObject
Get an array of field names from an Object.
getNVal() - Method in class com.basho.riak.client.RiakBucketInfo
 
getObject() - Method in class com.basho.riak.client.response.FetchResponse
Returns the first Riak object contained in the response.
getPathFromUrl(String) - Static method in class com.basho.riak.client.util.ClientUtils
Return just the path portion of the given URL
getQueryParam(String) - Method in class com.basho.riak.client.request.RequestMeta
Query parameter value or null if not set
getQueryParams() - Method in class com.basho.riak.client.request.RequestMeta
A string containing all the specified query parameters in this RequestMeta in the form: p1=v1&p2=v2
getResults() - Method in class com.basho.riak.client.response.MapReduceResponse
The result of the map-reduce query as a JSON array
getRetryHandler() - Method in class com.basho.riak.client.RiakConfig
Value to set for the HttpClientParams.RETRY_HANDLER property: the default retry handler for requests.
getRiakClient() - Method in class com.basho.riak.client.request.MapReduceBuilder
The RiakClient to which this map reduce job will be submitted to when MapReduceBuilder.submit() is called.
getRiakClient() - Method in class com.basho.riak.client.RiakObject
A RiakObject can be loosely attached to the RiakClient from which retrieve it was retrieved.
getRiakObjects() - Method in class com.basho.riak.client.request.MapReduceBuilder
Returns a copy of the Riak objects on the input list for a map/reduce job
getSchema() - Method in class com.basho.riak.client.RiakBucketInfo
Returns the bucket's properties.
getSiblings() - Method in class com.basho.riak.client.response.FetchResponse
Returns a collection of the Riak objects contained in the response.
getStatusCode() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
getStatusCode() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
getStatusCode() - Method in interface com.basho.riak.client.response.HttpResponse
Resulting status code from the HTTP request.
getStatusCode() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
getStatusCode() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
getSteps() - Method in class com.basho.riak.client.response.WalkResponse
Steps accumulated from link walking.
getStream() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
getStream() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
getStream() - Method in interface com.basho.riak.client.response.HttpResponse
The HTTP response body as an input stream if isStreamed(); null otherwise
getStream() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
getStream() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
getStream() - Method in class com.basho.riak.client.util.Multipart.Part
 
getString(int) - Method in class org.json.JSONArray
Get the string associated with an index.
getString(String) - Method in class org.json.JSONObject
Get the string associated with a key.
getTag() - Method in class com.basho.riak.client.RiakLink
Tag to classify the link.
getTimeout() - Method in class com.basho.riak.client.request.MapReduceBuilder
Gets the currently assigned timeout
getTimeout() - Method in class com.basho.riak.client.RiakConfig
 
getUrl() - Method in class com.basho.riak.client.RiakConfig
The base URL used by a client to construct object URLs
getUsermeta() - Method in class com.basho.riak.client.RiakObject
User-specified metadata for the object in the form of key-value pairs -- may be empty, but never be null.
getValue() - Method in class com.basho.riak.client.RiakObject
The object's value
getValueAsBytes() - Method in class com.basho.riak.client.RiakObject
 
getValueStream() - Method in class com.basho.riak.client.RiakObject
 
getValueStreamLength() - Method in class com.basho.riak.client.RiakObject
 
getVclock() - Method in class com.basho.riak.client.response.StoreResponse
The object's updated vclock or null if Riak didn't return one.
getVclock() - Method in class com.basho.riak.client.RiakObject
The object's opaque vclock assigned by Riak
getVtag() - Method in class com.basho.riak.client.response.StoreResponse
The object's updated etag or null if Riak didn't return one.
getVtag() - Method in class com.basho.riak.client.RiakObject
An entity tag for the object assigned by Riak
getWalkSpec() - Method in class com.basho.riak.client.RiakObject.LinkBuilder
 
GT - Static variable in class org.json.XML
The Character '>'.

H

handle(RiakIORuntimeException) - Method in class com.basho.riak.client.plain.ConvertToCheckedExceptions
Throws a checked RiakIOException
handle(RiakResponseRuntimeException) - Method in class com.basho.riak.client.plain.ConvertToCheckedExceptions
Throws a checked RiakResponseException
handle(RiakIORuntimeException) - Method in interface com.basho.riak.client.response.RiakExceptionHandler
Handle exceptions caused by communication errors with the sever
handle(RiakResponseRuntimeException) - Method in interface com.basho.riak.client.response.RiakExceptionHandler
Handle exceptions caused by malformed responses from the sever
has(String) - Method in class org.json.JSONObject
Determine if the JSONObject contains a specific key.
hasBucketInfo() - Method in class com.basho.riak.client.response.BucketResponse
Whether the bucket's schema and keys were returned in the response from Riak
hasHeader(String) - Method in class com.basho.riak.client.request.RequestMeta
Whether the HTTP header has been set
hasNext() - Method in class com.basho.riak.client.util.StreamedMultipart
See Iterator.hasNext().
hasObject() - Method in class com.basho.riak.client.response.FetchResponse
Whether response contained a Riak object
hasSiblings() - Method in class com.basho.riak.client.response.FetchResponse
Whether response contained a multiple Riak objects
hasSteps() - Method in class com.basho.riak.client.response.WalkResponse
Whether objects were contained in the response
HDR_ACCEPT - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_CLIENT_ID - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_CONNECTION - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_CONTENT_LENGTH - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_CONTENT_TYPE - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_ETAG - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_IF_MATCH - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_IF_MODIFIED_SINCE - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_IF_NONE_MATCH - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_IF_UNMODIFIED_SINCE - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_LAST_MODIFIED - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_LINK - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_LOCATION - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_USERMETA_PREFIX - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_USERMETA_REQ_PREFIX - Static variable in interface com.basho.riak.client.util.Constants
 
HDR_VCLOCK - Static variable in interface com.basho.riak.client.util.Constants
 
HTTP - Class in org.json
Convert an HTTP header to a JSONObject and back.
HTTP() - Constructor for class org.json.HTTP
 
HTTP_DELETE_METHOD - Static variable in interface com.basho.riak.client.util.Constants
 
HTTP_GET_METHOD - Static variable in interface com.basho.riak.client.util.Constants
 
HTTP_HEAD_METHOD - Static variable in interface com.basho.riak.client.util.Constants
 
HTTP_PUT_METHOD - Static variable in interface com.basho.riak.client.util.Constants
 
HttpResponse - Interface in com.basho.riak.client.response
HTTP response information resulting from some HTTP operation
HttpResponseDecorator - Class in com.basho.riak.client.response
A default decorator implementation for HttpResponse
HttpResponseDecorator(HttpResponse) - Constructor for class com.basho.riak.client.response.HttpResponseDecorator
 
HTTPTokener - Class in org.json
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
HTTPTokener(String) - Constructor for class org.json.HTTPTokener
Construct an HTTPTokener from a string.

I

impl - Variable in class com.basho.riak.client.response.HttpResponseDecorator
 
increment(String) - Method in class org.json.JSONObject
Increment a property of a JSONObject.
isEmpty() - Method in class com.basho.riak.client.util.CollectionWrapper
 
isError() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
isError() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
isError() - Method in interface com.basho.riak.client.response.HttpResponse
Whether the HTTP request returned a 4xx or 5xx response
isError() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
isError() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
isNull(int) - Method in class org.json.JSONArray
Determine if the value is null.
isNull(String) - Method in class org.json.JSONObject
Determine if the value associated with the key is null or if there is no value.
isStreamed() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
isStreamed() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
isStreamed() - Method in interface com.basho.riak.client.response.HttpResponse
Whether the response body is available as an input stream
isStreamed() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
isStreamed() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
isSuccess() - Method in exception com.basho.riak.client.plain.RiakResponseException
 
isSuccess() - Method in class com.basho.riak.client.response.DefaultHttpResponse
 
isSuccess() - Method in interface com.basho.riak.client.response.HttpResponse
Whether the HTTP response is considered a success.
isSuccess() - Method in class com.basho.riak.client.response.HttpResponseDecorator
 
isSuccess() - Method in exception com.basho.riak.client.response.RiakResponseRuntimeException
 
iterator() - Method in class com.basho.riak.client.util.CollectionWrapper
 

J

JavascriptFunction - Class in com.basho.riak.client.mapreduce
Represents a Javascript function used in a map or reduce phase of a map/reduce job
join(String[], String) - Static method in class com.basho.riak.client.util.ClientUtils
Join the elements in arr in to a single string separated by delimiter.
join(String) - Method in class org.json.JSONArray
Make a string from the contents of this JSONArray.
JSONArray - Class in org.json
A JSONArray is an ordered sequence of values.
JSONArray() - Constructor for class org.json.JSONArray
Construct an empty JSONArray.
JSONArray(JSONTokener) - Constructor for class org.json.JSONArray
Construct a JSONArray from a JSONTokener.
JSONArray(String) - Constructor for class org.json.JSONArray
Construct a JSONArray from a source JSON text.
JSONArray(Collection) - Constructor for class org.json.JSONArray
Construct a JSONArray from a Collection.
JSONArray(Object) - Constructor for class org.json.JSONArray
Construct a JSONArray from an array
jsonArrayAsList(JSONArray) - Static method in class com.basho.riak.client.util.ClientUtils
Convert a JSONArray to a list
JSONException - Exception in org.json
The JSONException is thrown by the JSON.org classes when things are amiss.
JSONException(String) - Constructor for exception org.json.JSONException
Constructs a JSONException with an explanatory message.
JSONException(Throwable) - Constructor for exception org.json.JSONException
 
JSONML - Class in org.json
This provides static methods to convert an XML text into a JSONArray or JSONObject, and to covert a JSONArray or JSONObject into an XML text using the JsonML transform.
JSONML() - Constructor for class org.json.JSONML
 
JSONObject - Class in org.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject() - Constructor for class org.json.JSONObject
Construct an empty JSONObject.
JSONObject(JSONObject, String[]) - Constructor for class org.json.JSONObject
Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener) - Constructor for class org.json.JSONObject
Construct a JSONObject from a JSONTokener.
JSONObject(Map) - Constructor for class org.json.JSONObject
Construct a JSONObject from a Map.
JSONObject(Object) - Constructor for class org.json.JSONObject
Construct a JSONObject from an Object using bean getters.
JSONObject(Object, String[]) - Constructor for class org.json.JSONObject
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - Constructor for class org.json.JSONObject
Construct a JSONObject from a source JSON text string.
jsonObjectAsMap(JSONObject) - Static method in class com.basho.riak.client.util.ClientUtils
Convert a JSONObject to a map
JSONString - Interface in org.json
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
JSONStringer - Class in org.json
JSONStringer provides a quick and convenient way of producing JSON text.
JSONStringer() - Constructor for class org.json.JSONStringer
Make a fresh JSONStringer.
JSONTokener - Class in org.json
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(Reader) - Constructor for class org.json.JSONTokener
Construct a JSONTokener from a reader.
JSONTokener(String) - Constructor for class org.json.JSONTokener
Construct a JSONTokener from a string.
JSONWriter - Class in org.json
JSONWriter provides a quick and convenient way of producing JSON text.
JSONWriter(Writer) - Constructor for class org.json.JSONWriter
Make a fresh JSONWriter.

K

key(String) - Method in class org.json.JSONWriter
Append a key.
keys() - Method in class org.json.JSONObject
Get an enumeration of the keys of the JSONObject.

L

length() - Method in class org.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in class org.json.JSONObject
Get the number of keys stored in the JSONObject.
link(String, boolean) - Method in class com.basho.riak.client.request.MapReduceBuilder
Adds a link phase to the job
link(String, String, boolean) - Method in class com.basho.riak.client.request.MapReduceBuilder
Adds a link phase to the job
LINK_TAG - Static variable in interface com.basho.riak.client.util.Constants
 
LinkFunction - Class in com.basho.riak.client.mapreduce
 
LinkFunction(String) - Constructor for class com.basho.riak.client.mapreduce.LinkFunction
 
LinkFunction(String, String) - Constructor for class com.basho.riak.client.mapreduce.LinkFunction
 
LinkHeader - Class in com.basho.riak.client.util
Parses the HTTP Link header as described here: http://tools.ietf.org/html/draft-nottingham-http-link-header This implementation is more or less a direct port of mnot's Python implementation here: http://gist.github.com/210535
LinkHeader() - Constructor for class com.basho.riak.client.util.LinkHeader
 
listBucket(String, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
Like RiakClient.listBucket(String, RequestMeta), except throws on a non-200 response
listBucket(String) - Method in class com.basho.riak.client.plain.PlainClient
 
listBucket(String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Return the properties and keys for a Riak bucket.
listBucket(String) - Method in class com.basho.riak.client.RiakClient
 
listBucket(String, RequestMeta, boolean) - Method in class com.basho.riak.client.util.ClientHelper
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()
LT - Static variable in class org.json.XML
The Character '<'.

M

main(String[]) - Static method in class org.json.Test
Entry point.
makeURI(RiakConfig, String) - Static method in class com.basho.riak.client.util.ClientUtils
Return a URL to the given bucket
makeURI(RiakConfig, String, String) - Static method in class com.basho.riak.client.util.ClientUtils
Return a URL to the given object
makeURI(RiakConfig, String, String, String) - Static method in class com.basho.riak.client.util.ClientUtils
Return a URL to the given object
map(MapReduceFunction, boolean) - Method in class com.basho.riak.client.request.MapReduceBuilder
Adds a map phase to the job
mapReduce(String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Execute a map reduce job on the Riak server.
mapReduce(String) - Method in class com.basho.riak.client.RiakClient
 
mapReduce(String, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
Same as RiakClient, except only returning the HTTP response
MapReduceBuilder - Class in com.basho.riak.client.request
Builds a map/reduce job description and submits it Uses the same chained method metaphor as StringBuilder or StringBuffer
MapReduceBuilder(RiakClient) - Constructor for class com.basho.riak.client.request.MapReduceBuilder
 
MapReduceBuilder() - Constructor for class com.basho.riak.client.request.MapReduceBuilder
 
MapReduceFunction - Interface in com.basho.riak.client.mapreduce
Interface for describing functions used in map/reduce jobs
MapReduceFunction.Types - Enum in com.basho.riak.client.mapreduce
 
mapReduceOverBucket(String) - Method in class com.basho.riak.client.RiakClient
A convenience method for creating a MapReduceBuilder used for building a map reduce job to submission to this client
mapReduceOverObjects(Map<String, Set<String>>) - Method in class com.basho.riak.client.RiakClient
Same as RiakClient.mapReduceOverBucket(String), except over a set of objects instead of a bucket.
MapReduceResponse - Class in com.basho.riak.client.response
Response from a map-reduce query (POST to /mapred).
MapReduceResponse(HttpResponse) - Constructor for class com.basho.riak.client.response.MapReduceResponse
On a 2xx response, parses the response into a JSONArray
mode - Variable in class org.json.JSONWriter
The current mode.
more() - Method in class org.json.JSONTokener
Determine if the source string still contains characters that next() can consume.
Multipart - Class in com.basho.riak.client.util
Represents a multipart entity as described here: http://tools.ietf.org/html/rfc2046#section-5.1
Multipart() - Constructor for class com.basho.riak.client.util.Multipart
 
Multipart.Part - Class in com.basho.riak.client.util
A single part of a multipart entity
Multipart.Part(Map<String, String>, byte[]) - Constructor for class com.basho.riak.client.util.Multipart.Part
 
Multipart.Part(Map<String, String>, InputStream) - Constructor for class com.basho.riak.client.util.Multipart.Part
 

N

named(String) - Static method in class com.basho.riak.client.mapreduce.JavascriptFunction
Shortcut for creating a reference to a named Javascript function
names() - Method in class org.json.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
newHttpClient(RiakConfig) - Static method in class com.basho.riak.client.util.ClientUtils
Construct a new HttpClient instance given a RiakConfig.
next() - Method in class com.basho.riak.client.util.StreamedMultipart
See Iterator.next().
next() - Method in class org.json.JSONTokener
Get the next character in the source string.
next(char) - Method in class org.json.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class org.json.JSONTokener
Get the next n characters.
nextCDATA() - Method in class org.json.XMLTokener
Get the text in the CDATA block.
nextClean() - Method in class org.json.JSONTokener
Get the next char in the string, skipping whitespace.
nextContent() - Method in class org.json.XMLTokener
Get the next XML outer token, trimming whitespace.
nextEntity(char) - Method in class org.json.XMLTokener
Return the next entity.
nextMeta() - Method in class org.json.XMLTokener
Returns the next XML meta token.
nextString(char) - Method in class org.json.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class org.json.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class org.json.JSONTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextToken() - Method in class org.json.HTTPTokener
Get the next token or string.
nextToken() - Method in class org.json.XMLTokener
Get the next XML Token.
nextValue() - Method in class org.json.JSONTokener
Get the next value.
NO_KEYS - Static variable in interface com.basho.riak.client.util.Constants
 
noSpace(String) - Static method in class org.json.XML
Throw an exception if the string contains whitespace.
NULL - Static variable in class org.json.JSONObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
numberToString(Number) - Static method in class org.json.JSONObject
Produce a string from a Number.

O

object() - Method in class org.json.JSONWriter
Begin appending a new object.
OneTokenInputStream - Class in com.basho.riak.client.util
A wrapper that reads a single element an underlying InputStream containing contains a delimited list
OneTokenInputStream(InputStream, String) - Constructor for class com.basho.riak.client.util.OneTokenInputStream
 
opt(int) - Method in class org.json.JSONArray
Get the optional object value associated with an index.
opt(String) - Method in class org.json.JSONObject
Get an optional value associated with a key.
optBoolean(int) - Method in class org.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class org.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class org.json.JSONObject
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class org.json.JSONObject
Get an optional boolean associated with a key.
optDouble(int) - Method in class org.json.JSONArray
Get the optional double value associated with an index.
optDouble(int, double) - Method in class org.json.JSONArray
Get the optional double value associated with an index.
optDouble(String) - Method in class org.json.JSONObject
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
optDouble(String, double) - Method in class org.json.JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optInt(int) - Method in class org.json.JSONArray
Get the optional int value associated with an index.
optInt(int, int) - Method in class org.json.JSONArray
Get the optional int value associated with an index.
optInt(String) - Method in class org.json.JSONObject
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
optInt(String, int) - Method in class org.json.JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optJSONArray(int) - Method in class org.json.JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in class org.json.JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in class org.json.JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in class org.json.JSONObject
Get an optional JSONObject associated with a key.
optLong(int) - Method in class org.json.JSONArray
Get the optional long value associated with an index.
optLong(int, long) - Method in class org.json.JSONArray
Get the optional long value associated with an index.
optLong(String) - Method in class org.json.JSONObject
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
optLong(String, long) - Method in class org.json.JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optString(int) - Method in class org.json.JSONArray
Get the optional string value associated with an index.
optString(int, String) - Method in class org.json.JSONArray
Get the optional string associated with an index.
optString(String) - Method in class org.json.JSONObject
Get an optional string associated with a key.
optString(String, String) - Method in class org.json.JSONObject
Get an optional string associated with a key.
org.json - package org.json
 

P

parse(String) - Static method in class com.basho.riak.client.util.LinkHeader
Returns a map of links to their parameters.
parse(Map<String, String>, String) - Static method in class com.basho.riak.client.util.Multipart
Parses a multipart message or a multipart subpart of a multipart message.
parseHeaders(String) - Static method in class com.basho.riak.client.util.Multipart
Parse a block of header lines as defined here: http://tools.ietf.org/html/rfc822#section-3.2
parseLinkHeader(String) - Static method in class com.basho.riak.client.util.ClientUtils
Parse a link header into a RiakLink.
parseMultipart(RiakClient, String, String, Map<String, String>, String) - Static method in class com.basho.riak.client.util.ClientUtils
Convert a multipart/mixed document to a list of RiakObjects.
parseUsermeta(Map<String, String>) - Static method in class com.basho.riak.client.util.ClientUtils
Extract only the user-specified metadata headers from a header set: all headers prefixed with X-Riak-Meta-.
peek() - Method in class com.basho.riak.client.util.BranchableInputStream
 
PlainClient - Class in com.basho.riak.client.plain
An adapter from RiakClient to a slightly less HTTP, more Java-centric, interface.
PlainClient(RiakClient) - Constructor for class com.basho.riak.client.plain.PlainClient
The primary constructor.
process(String, String, int, Map<String, String>, InputStream, HttpMethod) - Method in interface com.basho.riak.client.response.StreamHandler
Process the HTTP response whose value is given as a stream.
put(boolean) - Method in class org.json.JSONArray
Append a boolean value.
put(Collection) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(double) - Method in class org.json.JSONArray
Append a double value.
put(int) - Method in class org.json.JSONArray
Append an int value.
put(long) - Method in class org.json.JSONArray
Append an long value.
put(Map) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(Object) - Method in class org.json.JSONArray
Append an object value.
put(int, boolean) - Method in class org.json.JSONArray
Put or replace a boolean value in the JSONArray.
put(int, Collection) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(int, double) - Method in class org.json.JSONArray
Put or replace a double value.
put(int, int) - Method in class org.json.JSONArray
Put or replace an int value.
put(int, long) - Method in class org.json.JSONArray
Put or replace a long value.
put(int, Map) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(int, Object) - Method in class org.json.JSONArray
Put or replace an object value in the JSONArray.
put(String, boolean) - Method in class org.json.JSONObject
Put a key/boolean pair in the JSONObject.
put(String, Collection) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
put(String, double) - Method in class org.json.JSONObject
Put a key/double pair in the JSONObject.
put(String, int) - Method in class org.json.JSONObject
Put a key/int pair in the JSONObject.
put(String, long) - Method in class org.json.JSONObject
Put a key/long pair in the JSONObject.
put(String, Map) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
put(String, Object) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject.
putOnce(String, Object) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.
putOpt(String, Object) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

QP_DW - Static variable in interface com.basho.riak.client.util.Constants
 
QP_KEYS - Static variable in interface com.basho.riak.client.util.Constants
 
QP_R - Static variable in interface com.basho.riak.client.util.Constants
 
QP_RETURN_BODY - Static variable in interface com.basho.riak.client.util.Constants
 
QP_W - Static variable in interface com.basho.riak.client.util.Constants
 
QUEST - Static variable in class org.json.XML
The Character '?'.
QUOT - Static variable in class org.json.XML
The Character '"'.
quote(String) - Static method in class org.json.JSONObject
Produce a string in double quotes with backslash sequences in all the right places.

R

randomClientId() - Static method in class com.basho.riak.client.util.ClientUtils
Returns a random X-Riak-ClientId header value.
read() - Method in class com.basho.riak.client.util.BranchableInputStream
 
read() - Method in class com.basho.riak.client.util.OneTokenInputStream
 
readParams(int) - Static method in class com.basho.riak.client.request.RequestMeta
Use the given r parameter for fetchMeta, fetch, or stream operations
reduce(MapReduceFunction, boolean) - Method in class com.basho.riak.client.request.MapReduceBuilder
Adds a reduce phase to the job
remove(Object) - Method in class com.basho.riak.client.util.CollectionWrapper
 
remove() - Method in class com.basho.riak.client.util.StreamedMultipart
 
remove(int) - Method in class org.json.JSONArray
Remove an index and close the hole.
remove(String) - Method in class org.json.JSONObject
Remove a name and its value, if present.
removeAll(Collection<?>) - Method in class com.basho.riak.client.util.CollectionWrapper
 
removeRiakObject(String, String) - Method in class com.basho.riak.client.request.MapReduceBuilder
Removes a Riak object (bucket name/key pair) for the job's input list
RequestMeta - Class in com.basho.riak.client.request
Extra headers and query parameters to send with a Riak operation.
RequestMeta() - Constructor for class com.basho.riak.client.request.RequestMeta
 
retainAll(Collection<?>) - Method in class com.basho.riak.client.util.CollectionWrapper
 
RIAK_URL_PREFIX - Static variable in interface com.basho.riak.client.util.Constants
 
RiakBucketInfo - Class in com.basho.riak.client
Represents the metadata stored in a bucket including its schema and the list of keys contained in the bucket.
RiakBucketInfo() - Constructor for class com.basho.riak.client.RiakBucketInfo
Construct a bucket info to populate for a writeSchema request.
RiakBucketInfo(JSONObject, Collection<String>) - Constructor for class com.basho.riak.client.RiakBucketInfo
Construct a bucket info using the JSON data from a listBucket() response.
RiakClient - Class in com.basho.riak.client
Primary interface for interacting with Riak via HTTP.
RiakClient(RiakConfig) - Constructor for class com.basho.riak.client.RiakClient
 
RiakClient(RiakConfig, String) - Constructor for class com.basho.riak.client.RiakClient
 
RiakClient(String) - Constructor for class com.basho.riak.client.RiakClient
 
RiakClient(String, String) - Constructor for class com.basho.riak.client.RiakClient
 
RiakConfig - Class in com.basho.riak.client
Configuration settings for connecting to a Riak instance such as the base Riak URL and HttpClient settings.
RiakConfig() - Constructor for class com.basho.riak.client.RiakConfig
 
RiakConfig(String) - Constructor for class com.basho.riak.client.RiakConfig
 
RiakConfig(URL) - Constructor for class com.basho.riak.client.RiakConfig
 
RiakConfig(String, String, String) - Constructor for class com.basho.riak.client.RiakConfig
 
RiakExceptionHandler - Interface in com.basho.riak.client.response
Allows clients to handle exceptions in a separate class rather than inline with the requests.
RiakIOException - Exception in com.basho.riak.client.plain
A checked wrapper for RiakIORuntimeException.
RiakIOException(RiakIORuntimeException) - Constructor for exception com.basho.riak.client.plain.RiakIOException
 
RiakIORuntimeException - Exception in com.basho.riak.client.response
Thrown when an error occurs during communication with the Riak server.
RiakIORuntimeException() - Constructor for exception com.basho.riak.client.response.RiakIORuntimeException
 
RiakIORuntimeException(String, IOException) - Constructor for exception com.basho.riak.client.response.RiakIORuntimeException
 
RiakIORuntimeException(String) - Constructor for exception com.basho.riak.client.response.RiakIORuntimeException
 
RiakIORuntimeException(Throwable) - Constructor for exception com.basho.riak.client.response.RiakIORuntimeException
 
RiakLink - Class in com.basho.riak.client
Represents a link to a Riak object.
RiakLink(String, String, String) - Constructor for class com.basho.riak.client.RiakLink
 
RiakLink(RiakLink) - Constructor for class com.basho.riak.client.RiakLink
Copy constructor
RiakObject - Class in com.basho.riak.client
A Riak object.
RiakObject(RiakClient, String, String, byte[], String, List<RiakLink>, Map<String, String>, String, String, String) - Constructor for class com.basho.riak.client.RiakObject
Create an empty object.
RiakObject(RiakClient, String, String) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(RiakClient, String, String, byte[]) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(RiakClient, String, String, byte[], String) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(RiakClient, String, String, byte[], String, List<RiakLink>) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(RiakClient, String, String, byte[], String, List<RiakLink>, Map<String, String>) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(String, String) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(String, String, byte[]) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(String, String, byte[], String) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(String, String, byte[], String, List<RiakLink>) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(String, String, byte[], String, List<RiakLink>, Map<String, String>) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject(String, String, byte[], String, List<RiakLink>, Map<String, String>, String, String, String) - Constructor for class com.basho.riak.client.RiakObject
 
RiakObject.LinkBuilder - Class in com.basho.riak.client
Created by links() as a convenient way to build up link walking queries
RiakObject.LinkBuilder() - Constructor for class com.basho.riak.client.RiakObject.LinkBuilder
 
RiakResponseException - Exception in com.basho.riak.client.plain
A checked decorator for RiakResponseRuntimeException
RiakResponseException(RiakResponseRuntimeException) - Constructor for exception com.basho.riak.client.plain.RiakResponseException
 
RiakResponseRuntimeException - Exception in com.basho.riak.client.response
Thrown when the Riak server returns a malformed response.
RiakResponseRuntimeException(HttpResponse) - Constructor for exception com.basho.riak.client.response.RiakResponseRuntimeException
 
RiakResponseRuntimeException(HttpResponse, String, Throwable) - Constructor for exception com.basho.riak.client.response.RiakResponseRuntimeException
 
RiakResponseRuntimeException(HttpResponse, String) - Constructor for exception com.basho.riak.client.response.RiakResponseRuntimeException
 
RiakResponseRuntimeException(HttpResponse, Throwable) - Constructor for exception com.basho.riak.client.response.RiakResponseRuntimeException
 
RiakWalkSpec - Class in com.basho.riak.client.request
Tool for building Riak/Jaywalker specs.
RiakWalkSpec() - Constructor for class com.basho.riak.client.request.RiakWalkSpec
Create an empty Riak walk spec.
rowToJSONArray(JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONObject(JSONArray, JSONTokener) - Static method in class org.json.CDL
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
rowToString(JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text row from a JSONArray.
run(RequestMeta) - Method in class com.basho.riak.client.RiakObject.LinkBuilder
Execute the link walking query by calling RiakClient.walk(String, String, String, RequestMeta).
run() - Method in class com.basho.riak.client.RiakObject.LinkBuilder
 

S

setAccept(String) - Method in class com.basho.riak.client.request.RequestMeta
 
setAllowMult(boolean) - Method in class com.basho.riak.client.RiakBucketInfo
Allow siblings to be returned for an object.
setBucket(String) - Method in class com.basho.riak.client.request.MapReduceBuilder
Sets the name of the Riak bucket the map/reduce job will process
setBucket(String) - Method in class com.basho.riak.client.RiakLink
 
setBucketSchema(String, RiakBucketInfo, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
Like RiakClient.setBucketSchema(String, RiakBucketInfo, RequestMeta), except throws on a non-204 response.
setBucketSchema(String, RiakBucketInfo) - Method in class com.basho.riak.client.plain.PlainClient
 
setBucketSchema(String, RiakBucketInfo, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Set the properties for a Riak bucket.
setBucketSchema(String, RiakBucketInfo) - Method in class com.basho.riak.client.RiakClient
 
setBucketSchema(String, JSONObject, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
See RiakClient.setBucketSchema(String, com.basho.riak.client.RiakBucketInfo, RequestMeta)
setCHashFun(String, String) - Method in class com.basho.riak.client.RiakBucketInfo
Erlang module and name of the function to use to hash object keys.
setClientId(String) - Method in class com.basho.riak.client.request.RequestMeta
 
setClientId(String) - Method in class com.basho.riak.client.RiakClient
 
setClientId(String) - Method in class com.basho.riak.client.util.ClientHelper
 
setContentType(String) - Method in class com.basho.riak.client.RiakObject
 
setExceptionHandler(RiakExceptionHandler) - Method in class com.basho.riak.client.RiakClient
If an exception handler is provided, then the Riak client will hand exceptions to the handler rather than throwing them.
setExceptionHandler(RiakExceptionHandler) - Method in class com.basho.riak.client.util.ClientHelper
Install an exception handler.
setHeader(String, String) - Method in class com.basho.riak.client.request.RequestMeta
Add the specified HTTP header
setHttpClient(HttpClient) - Method in class com.basho.riak.client.RiakConfig
Provide a pre-constructed HttpClient for clients to use to connect to Riak
setIfMatch(String) - Method in class com.basho.riak.client.request.RequestMeta
 
setIfMatch(String[]) - Method in class com.basho.riak.client.request.RequestMeta
 
setIfModifiedSince(String) - Method in class com.basho.riak.client.request.RequestMeta
 
setIfModifiedSince(Date) - Method in class com.basho.riak.client.request.RequestMeta
 
setIfNoneMatch(String) - Method in class com.basho.riak.client.request.RequestMeta
 
setIfNoneMatch(String[]) - Method in class com.basho.riak.client.request.RequestMeta
 
setIfUnmodifiedSince(String) - Method in class com.basho.riak.client.request.RequestMeta
 
setIfUnmodifiedSince(Date) - Method in class com.basho.riak.client.request.RequestMeta
 
setKey(String) - Method in class com.basho.riak.client.RiakLink
 
setLinkFun(String, String) - Method in class com.basho.riak.client.RiakBucketInfo
Erlang module and name of the function to use to walk object links.
setLinks(List<RiakLink>) - Method in class com.basho.riak.client.RiakObject
 
setMapReducePath(String) - Method in class com.basho.riak.client.RiakConfig
 
setMaxConnections(Integer) - Method in class com.basho.riak.client.RiakConfig
Value to set for the HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS property: overall maximum number of connections used by the HttpClient.
setNVal(int) - Method in class com.basho.riak.client.RiakBucketInfo
Number of replicas per object in this bucket.
setObject(RiakObject) - Method in class com.basho.riak.client.response.FetchResponse
 
setQueryParam(String, String) - Method in class com.basho.riak.client.request.RequestMeta
Add the given query parameter to the request
setRetryHandler(HttpMethodRetryHandler) - Method in class com.basho.riak.client.RiakConfig
 
setRiakClient(RiakClient) - Method in class com.basho.riak.client.request.MapReduceBuilder
 
setRiakClient(RiakClient) - Method in class com.basho.riak.client.RiakObject
 
setRiakObjects(Map<String, Set<String>>) - Method in class com.basho.riak.client.request.MapReduceBuilder
Sets a collection of Riak object (bucket name/key pair) as the map/reduce job as inputs
setRiakObjects(Collection<RiakObject>) - Method in class com.basho.riak.client.request.MapReduceBuilder
 
setTag(String) - Method in class com.basho.riak.client.RiakLink
 
setTimeout(int) - Method in class com.basho.riak.client.request.MapReduceBuilder
How long the map/reduce job is allowed to execute Time is in milliseconds
setTimeout(Integer) - Method in class com.basho.riak.client.RiakConfig
Value to set for the properties: HttpClientParams.CONNECTION_MANAGER_TIMEOUT, HttpMethodParams.SO_TIMEOUT, HttpConnectionParams.CONNECTION_TIMEOUT which sets the timeout milliseconds for retrieving an HTTP connection and data over the connection.
setUrl(String) - Method in class com.basho.riak.client.RiakConfig
Set the base URL that clients should use to construct object URLs (e.g.
setUsermeta(Map<String, String>) - Method in class com.basho.riak.client.RiakObject
 
setValue(String) - Method in class com.basho.riak.client.RiakObject
 
setValue(byte[]) - Method in class com.basho.riak.client.RiakObject
 
setValueStream(InputStream, Long) - Method in class com.basho.riak.client.RiakObject
Set the object's value as a stream.
setValueStream(InputStream) - Method in class com.basho.riak.client.RiakObject
 
setValueStreamLength(Long) - Method in class com.basho.riak.client.RiakObject
 
size() - Method in class com.basho.riak.client.util.CollectionWrapper
 
skipPast(String) - Method in class org.json.XMLTokener
Skip characters until past the requested string.
skipTo(char) - Method in class org.json.JSONTokener
Skip characters until the next character is the requested character.
SLASH - Static variable in class org.json.XML
The Character '/'.
sortedKeys() - Method in class org.json.JSONObject
Get an enumeration of the keys of the JSONObject.
store(RiakObject, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
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.
store(RiakObject) - Method in class com.basho.riak.client.plain.PlainClient
 
store(RiakObject, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Store a RiakObject.
store(RiakObject) - Method in class com.basho.riak.client.RiakClient
 
store(RequestMeta) - Method in class com.basho.riak.client.RiakObject
Convenience method for calling RiakClient.store(RiakObject, RequestMeta) followed by RiakObject.updateMeta(StoreResponse)
store() - Method in class com.basho.riak.client.RiakObject
 
store(RiakClient, RequestMeta) - Method in class com.basho.riak.client.RiakObject
Store this object to a different Riak instance.
store(RiakObject, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
Same as RiakClient, except only returning the HTTP response
StoreResponse - Class in com.basho.riak.client.response
Response from a PUT request for an object.
StoreResponse(HttpResponse) - Constructor for class com.basho.riak.client.response.StoreResponse
On a 2xx response, parses the HTTP headers into updated object metadata.
stream(String, String, StreamHandler, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
Identical to RiakClient.stream(String, String, StreamHandler, RequestMeta).
stream(String, String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Similar to fetch(), except the HTTP connection is left open for successful responses, and the Riak response is provided as a stream.
stream(String, String) - Method in class com.basho.riak.client.RiakClient
 
stream(String, String, StreamHandler, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Fetch and process the object stored at bucket and key as a stream.
stream(String, String, StreamHandler, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
Same as RiakClient, except only returning the HTTP response
STREAM_KEYS - Static variable in interface com.basho.riak.client.util.Constants
 
streamBucket(String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Same as RiakClient.listBucket(String, RequestMeta), except streams the response, so the user must remember to call HttpResponseDecorator.close() on the return value.
streamBucket(String) - Method in class com.basho.riak.client.RiakClient
 
StreamedKeysCollection - Class in com.basho.riak.client.response
Presents the stream of keys from a Riak bucket response with query parameter keys=stream as a collection.
StreamedKeysCollection(JSONTokener) - Constructor for class com.basho.riak.client.response.StreamedKeysCollection
 
StreamedMultipart - Class in com.basho.riak.client.util
 
StreamedMultipart(Map<String, String>, InputStream) - Constructor for class com.basho.riak.client.util.StreamedMultipart
Parses a multipart message or a multipart subpart of a multipart message.
StreamedSiblingsCollection - Class in com.basho.riak.client.response
 
StreamedSiblingsCollection(RiakClient, String, String, StreamedMultipart) - Constructor for class com.basho.riak.client.response.StreamedSiblingsCollection
 
StreamHandler - Interface in com.basho.riak.client.response
Used with RiakClient.stream() to process the HTTP responses for fetch requests as a stream.
stringToValue(String) - Static method in class org.json.JSONObject
Try to convert a string into a number, boolean, or null.
submit(RequestMeta) - Method in class com.basho.riak.client.request.MapReduceBuilder
Submits the job to the Riak server
submit() - Method in class com.basho.riak.client.request.MapReduceBuilder
 
syntaxError(String) - Method in class org.json.JSONTokener
Make a JSONException to signal a syntax error.

T

Test - Class in org.json
Test class.
Test() - Constructor for class org.json.Test
 
throwChecked(Throwable) - Static method in class com.basho.riak.client.util.ClientUtils
Throws a checked Exception not declared in the method signature, which can be particularly useful for throwing checked exceptions within a RiakExceptionHandler.
toArray() - Method in class com.basho.riak.client.util.CollectionWrapper
 
toArray(A[]) - Method in class com.basho.riak.client.util.CollectionWrapper
 
toJson() - Method in class com.basho.riak.client.mapreduce.ErlangFunction
Converts the function definition to JSON
toJson() - Method in class com.basho.riak.client.mapreduce.JavascriptFunction
Converts the function definition to JSON
toJson() - Method in class com.basho.riak.client.mapreduce.LinkFunction
 
toJson() - Method in interface com.basho.riak.client.mapreduce.MapReduceFunction
 
toJSON() - Method in class com.basho.riak.client.request.MapReduceBuilder
Builds the JSON representation of a map/reduce job
toJSONArray(String) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONArray, String) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(String) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(XMLTokener) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(JSONArray) - Method in class org.json.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(String) - Static method in class org.json.Cookie
Convert a cookie specification string into a JSONObject.
toJSONObject(String) - Static method in class org.json.CookieList
Convert a cookie list into a JSONObject.
toJSONObject(String) - Static method in class org.json.HTTP
Convert an HTTP header string into a JSONObject.
toJSONObject(JSONArray) - Method in class org.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONObject(XMLTokener) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(String) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(String) - Static method in class org.json.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONString() - Method in interface org.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toss(RiakIORuntimeException) - Method in class com.basho.riak.client.util.ClientHelper
Hands exception e to installed exception handler if there is one or throw it.
toss(RiakResponseRuntimeException) - Method in class com.basho.riak.client.util.ClientHelper
 
toString() - Method in class com.basho.riak.client.request.RiakWalkSpec
Convert this walk step to a string.
toString() - Method in class com.basho.riak.client.RiakLink
 
toString(JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString(JSONObject) - Static method in class org.json.Cookie
Convert a JSONObject into a cookie specification string.
toString(JSONObject) - Static method in class org.json.CookieList
Convert a JSONObject into a cookie list.
toString(JSONObject) - Static method in class org.json.HTTP
Convert a JSONObject into an HTTP header.
toString() - Method in class org.json.JSONArray
Make a JSON text of this JSONArray.
toString(int) - Method in class org.json.JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString(JSONArray) - Static method in class org.json.JSONML
Reverse the JSONML transformation, making an XML text from a JSONArray.
toString(JSONObject) - Static method in class org.json.JSONML
Reverse the JSONML transformation, making an XML text from a JSONObject.
toString() - Method in class org.json.JSONObject
Make a JSON text of this JSONObject.
toString(int) - Method in class org.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString() - Method in class org.json.JSONStringer
Return the JSON text.
toString() - Method in class org.json.JSONTokener
Make a printable string of this JSONTokener.
toString(Object) - Static method in class org.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String) - Static method in class org.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.

U

unescape(String) - Static method in class org.json.Cookie
Convert %hh sequences to single characters, and convert plus to space.
unquoteString(String) - Static method in class com.basho.riak.client.util.ClientUtils
Unquote and unescape an HTTP quoted-string: http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2 Does nothing if s is not quoted.
updateMeta(StoreResponse) - Method in class com.basho.riak.client.RiakObject
Update the object's metadata.
updateMeta(FetchResponse) - Method in class com.basho.riak.client.RiakObject
Update the object's metadata from a fetch or fetchMeta operation
urlEncode(String) - Static method in class com.basho.riak.client.util.ClientUtils
UTF-8 encode the string

V

value(boolean) - Method in class org.json.JSONWriter
Append either the value true or the value false.
value(double) - Method in class org.json.JSONWriter
Append a double value.
value(long) - Method in class org.json.JSONWriter
Append a long value.
value(Object) - Method in class org.json.JSONWriter
Append an object value.
valueOf(String) - Static method in enum com.basho.riak.client.mapreduce.MapReduceFunction.Types
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.basho.riak.client.mapreduce.MapReduceFunction.Types
Returns an array containing the constants of this enum type, in the order they are declared.

W

walk(String, String, String, RequestMeta) - Method in class com.basho.riak.client.plain.PlainClient
Like RiakClient.walk(String, String, String, RequestMeta), except throws on a non-200 or 404 response.
walk(String, String, String) - Method in class com.basho.riak.client.plain.PlainClient
 
walk(String, String, RiakWalkSpec) - Method in class com.basho.riak.client.plain.PlainClient
 
walk(String, String, String, RequestMeta) - Method in class com.basho.riak.client.RiakClient
Perform a map/reduce link walking operation and return the objects for which the "accumulate" flag is true.
walk(String, String, String) - Method in class com.basho.riak.client.RiakClient
 
walk(String, String, RiakWalkSpec) - Method in class com.basho.riak.client.RiakClient
 
walk() - Method in class com.basho.riak.client.RiakObject.LinkBuilder
 
walk(boolean) - Method in class com.basho.riak.client.RiakObject.LinkBuilder
 
walk(String) - Method in class com.basho.riak.client.RiakObject.LinkBuilder
 
walk(String, boolean) - Method in class com.basho.riak.client.RiakObject.LinkBuilder
 
walk(String, String) - Method in class com.basho.riak.client.RiakObject.LinkBuilder
 
walk(String, String, boolean) - Method in class com.basho.riak.client.RiakObject.LinkBuilder
 
walk(String, String, boolean) - Method in class com.basho.riak.client.RiakObject
Convenience methods for building a link walk specification starting from this object and calling RiakClient.walk(String, String, RiakWalkSpec)
walk(String, String) - Method in class com.basho.riak.client.RiakObject
 
walk(String, boolean) - Method in class com.basho.riak.client.RiakObject
 
walk(String) - Method in class com.basho.riak.client.RiakObject
 
walk() - Method in class com.basho.riak.client.RiakObject
 
walk(boolean) - Method in class com.basho.riak.client.RiakObject
 
walk(String, String, String, RequestMeta) - Method in class com.basho.riak.client.util.ClientHelper
Same as RiakClient, except only returning the HTTP response
WalkResponse - Class in com.basho.riak.client.response
Response from a GET request for an object with link walking.
WalkResponse(HttpResponse, RiakClient) - Constructor for class com.basho.riak.client.response.WalkResponse
On a 2xx response, parses the HTTP body into a list of steps.
WalkResponse(HttpResponse) - Constructor for class com.basho.riak.client.response.WalkResponse
 
WILDCARD - Static variable in class com.basho.riak.client.request.RiakWalkSpec
The "don't care" signifier.
write(Writer) - Method in class org.json.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in class org.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
writeParams(Integer, Integer) - Static method in class com.basho.riak.client.request.RequestMeta
Use the given w and dw params for store or delete operations.
writer - Variable in class org.json.JSONWriter
The writer that will receive the output.
writeToHttpMethod(HttpMethod) - Method in class com.basho.riak.client.RiakObject
Serializes this object to an existing HttpMethod which can be sent as an HTTP request.

X

XML - Class in org.json
This provides static methods to convert an XML text into a JSONObject, and to covert a JSONObject into an XML text.
XML() - Constructor for class org.json.XML
 
XMLTokener - Class in org.json
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
XMLTokener(String) - Constructor for class org.json.XMLTokener
Construct an XMLTokener from a string.

A B C D E F G H I J K L M N O P Q R S T U V W X

Copyright © 2010. All Rights Reserved.