Package org.apache.accumulo.core.client
Class Accumulo
java.lang.Object
org.apache.accumulo.core.client.Accumulo
This class contains all API entry points created in 2.0.0 or later. The majority of the API is
 accessible indirectly via methods in this class. Below are a list of APIs entry points that are
 not accessible from here.
 
- Hadoop input, output formats and partitioners in org.apache.accumulo.hadoop.mapredandorg.apache.accumulo.hadoop.mapreducepackages.
- org.apache.accumulo.minicluster.MiniAccumuloClusterNot linkable by javadoc, because in a separate module.
- Lexicoderand all of its implementations in the same package.
- RFile
- Since:
- 2.0.0
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionFluent entry point for creating anAccumuloClient.Fluent entry point for creating clientProperties.
- 
Method Details- 
newClientFluent entry point for creating anAccumuloClient. For example:
 For a list of all client properties, see the documentation on the Accumulo website// Create client directly from connection information try (AccumuloClient client = Accumulo.newClient() .to(instanceName, zookeepers) .as(user, password).build()) { // use the client } // Create client using the instance name, zookeeper, and credentials from java properties or properties file try (AccumuloClient client = Accumulo.newClient() .from(properties).build()) { // use the client }- Returns:
- a builder object for Accumulo clients
 
- 
newClientPropertiesFluent entry point for creating clientProperties. For example:
 For a list of all client properties, see the documentation on the Accumulo websiteProperties clientProperties = Accumulo.newClientProperties() .to(instanceName, zookeepers) .as(user, password).build())- Returns:
- a builder object for client Properties
 
 
-