|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RiakException | |
---|---|
com.basho.riak.client | Provides the top-level IRiakClient
and IRiakObject classes required to store data
in Riak, start here. |
com.basho.riak.client.bucket | A bucket is a namespace abstraction provided by Riak, the API uses
Bucket as the primary way to interact
with data stored in Riak. |
com.basho.riak.client.operations | The interfaces/classes that model the set of operations for talking to Riak. |
com.basho.riak.client.query | Classes and interfaces for running map/reduce and link walk operations on Riak. |
com.basho.riak.client.query.indexes | |
com.basho.riak.client.raw | The raw interfaces/classes exist to provide unified access to any underlying transport clients for Riak |
com.basho.riak.client.raw.query | Inputs to the RawClient s for Map/Reduce and Link Walking. |
Uses of RiakException in com.basho.riak.client |
---|
Subclasses of RiakException in com.basho.riak.client | |
---|---|
class |
RiakRetryFailedException
|
Methods in com.basho.riak.client that throw RiakException | |
---|---|
byte[] |
IRiakClient.generateAndSetClientId()
Generate, set and return "random" byte[4] id for the client. |
byte[] |
DefaultRiakClient.generateAndSetClientId()
|
byte[] |
IRiakClient.getClientId()
Retrieve the client id from Riak that this client is using. |
byte[] |
DefaultRiakClient.getClientId()
|
static IRiakClient |
RiakFactory.httpClient()
Wraps a HTTPClientAdapter connecting to 127.0.0.1:8098/riak in a DefaultRiakClient |
static IRiakClient |
RiakFactory.httpClient(RiakClient delegate)
Wraps the given RiakClient in a DefaultRiakClient |
static IRiakClient |
RiakFactory.httpClient(String url)
Wraps a HTTPClientAdapter connecting to the given
url in a DefaultRiakClient |
Set<String> |
IRiakClient.listBuckets()
Set view of buckets in Riak |
Set<String> |
DefaultRiakClient.listBuckets()
|
static IRiakClient |
RiakFactory.newClient(Configuration config)
Uses the given config to generate an IRiakClient
instance. |
static IRiakClient |
RiakFactory.pbcClient()
Wraps a PBClientAdapter connected to 127.0.0.1:8087 in a DefaultRiakClient . |
static IRiakClient |
RiakFactory.pbcClient(String host,
int port)
Wraps a PBClientAdapter connected to host and
port in a DefaultRiakClient . |
void |
IRiakClient.ping()
Ping Riak, check it is available |
void |
DefaultRiakClient.ping()
|
IRiakClient |
IRiakClient.setClientId(byte[] clientId)
Set an ID for this client. |
IRiakClient |
DefaultRiakClient.setClientId(byte[] clientId)
|
Iterable<NodeStats> |
IRiakClient.stats()
Perform the Riak /stats operation on the node(s) this client
is connected to. |
Iterable<NodeStats> |
DefaultRiakClient.stats()
|
Uses of RiakException in com.basho.riak.client.bucket |
---|
Methods in com.basho.riak.client.bucket that throw RiakException | |
---|---|
void |
RiakBucket.delete(IRiakObject o)
|
void |
RiakBucket.delete(String key)
|
void |
DomainBucket.delete(String key)
Delete the key/value stored at the key |
void |
DomainBucket.delete(T o)
Delete the key/value stored at the key extracted from o 's
RiakKey annotated field. |
IRiakObject |
RiakBucket.fetch(IRiakObject o)
|
IRiakObject |
RiakBucket.fetch(String key)
|
T |
DomainBucket.fetch(String key)
Fetch data stored at key in this bucket as an instance of
T . |
T |
DomainBucket.fetch(T o)
Fetch data stored at the key extracted from o 's
RiakKey annotated field as an instance of
T . |
Iterable<String> |
DefaultBucket.keys()
Iterate over the keys for this bucket (Expensive, are you sure?) Beware: at present all RawClient.listKeys(String) operations return a
stream of keys. |
Iterable<String> |
Bucket.keys()
An Iterable view of the keys stored in this bucket. |
IRiakObject |
RiakBucket.store(IRiakObject o)
|
IRiakObject |
RiakBucket.store(String key,
byte[] value)
Convenience for storing a String in Riak. |
T |
DomainBucket.store(T o)
Store o in Riak. |
Uses of RiakException in com.basho.riak.client.operations |
---|
Methods in com.basho.riak.client.operations that throw RiakException | |
---|---|
T |
RiakOperation.execute()
|
Void |
DeleteObject.execute()
Uses the specified Retrier to call the specified
RawClient 's delete with bucket , key and (if specified) the rest of the delete operation parameters. |
Uses of RiakException in com.basho.riak.client.query |
---|
Methods in com.basho.riak.client.query that throw RiakException | |
---|---|
MapReduceResult |
MapReduce.execute()
Run the Map/Reduce job against the RawClient the operation was
constructed with. |
WalkResult |
LinkWalk.execute()
Run the Link Walk query on the RawClient the operation was constructed with. |
Uses of RiakException in com.basho.riak.client.query.indexes |
---|
Methods in com.basho.riak.client.query.indexes that throw RiakException | |
---|---|
List<String> |
FetchIndex.execute()
|
Uses of RiakException in com.basho.riak.client.raw |
---|
Methods in com.basho.riak.client.raw that return RiakException | |
---|---|
static RiakException |
JSONErrorParser.parseException(String json)
Parses some Riak error json into a checked exception of the
most specific type it can manage. |
Uses of RiakException in com.basho.riak.client.raw.query |
---|
Subclasses of RiakException in com.basho.riak.client.raw.query | |
---|---|
class |
MapReduceTimeoutException
Checked exception thrown when an Map Reduce job takes longer than the specified timeout. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |