Package | Description |
---|---|
com.basho.riak.client.api |
Contains the main RiakClient used to query Riak.
|
com.basho.riak.client.core | |
com.basho.riak.client.core.operations | |
com.basho.riak.client.core.query.timeseries | |
com.basho.riak.client.core.util |
Modifier and Type | Method and Description |
---|---|
static RiakClient |
RiakClient.newClient(Collection<HostAndPort> hosts)
Static factory method to create a new client instance.
|
static RiakClient |
RiakClient.newClient(Collection<HostAndPort> hosts,
RiakNode.Builder nodeBuilder)
Static factory method to create a new client instance.
|
Modifier and Type | Method and Description |
---|---|
RiakNode.Builder |
RiakNode.Builder.withRemoteAddress(HostAndPort hp)
Specifies the remote host and remote port for this RiakNode.
|
RiakNode.Builder |
RiakNode.Builder.withRemoteHost(HostAndPort hostAndPOrt)
Sets the remote host and port for this RiakNode.
|
Modifier and Type | Method and Description |
---|---|
static List<RiakNode> |
RiakNode.Builder.buildNodes(Collection<HostAndPort> remoteHosts,
RiakNode.Builder builder)
Build a set of RiakNodes.
|
Constructor and Description |
---|
Builder(Collection<HostAndPort> remoteHosts,
RiakNode.Builder nodeBuilder)
Instantiate a Builder containing the
RiakNode s that will be build by using provided builder. |
Modifier and Type | Method and Description |
---|---|
Set<HostAndPort> |
CoveragePlanOperation.Response.hosts() |
Modifier and Type | Method and Description |
---|---|
List<CoveragePlanOperation.Response.CoverageEntry> |
CoveragePlanOperation.Response.hostEntries(HostAndPort host) |
Modifier and Type | Method and Description |
---|---|
Set<HostAndPort> |
CoveragePlanResult.hosts() |
Modifier and Type | Method and Description |
---|---|
List<CoverageEntry> |
CoveragePlanResult.hostEntries(HostAndPort host) |
Modifier and Type | Method and Description |
---|---|
static HostAndPort |
HostAndPort.fromParts(String host,
int port) |
static HostAndPort |
HostAndPort.fromString(String hostPortStr,
int defaultPort) |
Modifier and Type | Method and Description |
---|---|
static List<HostAndPort> |
HostAndPort.hostsFromString(String hostPortStr,
int defaultPort) |
Copyright © 2016. All rights reserved.