public final class Accumulo extends Object
org.apache.accumulo.core.client.mapred
and
org.apache.accumulo.core.client.mapreduce
packages (excluding impl
sub-packages).
org.apache.accumulo.minicluster.MiniAccumuloCluster
Not linkable by javadoc, because
in a separate module.
Lexicoder
and all of its implementations in the same package (excluding the
impl
sub-package).
RFile
Modifier and Type | Method and Description |
---|---|
static AccumuloClient.PropertyOptions<AccumuloClient> |
newClient()
Fluent entry point for creating an
AccumuloClient . |
static AccumuloClient.PropertyOptions<Properties> |
newClientProperties()
Fluent entry point for creating client
Properties . |
public static AccumuloClient.PropertyOptions<AccumuloClient> newClient()
AccumuloClient
. For example:
try (AccumuloClient client = Accumulo.newClient()
.to(instanceName, zookeepers)
.as(user, password).build())
{
// use the client
}
public static AccumuloClient.PropertyOptions<Properties> newClientProperties()
Properties
. For example:
Properties clientProperties = Accumulo.newClientProperties()
.to(instanceName, zookeepers)
.as(user, password).build())
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.