Package org.apache.accumulo.core.client
Interface AccumuloClient.PropertyOptions<T>
-
- All Superinterfaces:
AccumuloClient.InstanceArgs<T>
- All Known Implementing Classes:
ClientContext.ClientBuilderImpl
- Enclosing interface:
- AccumuloClient
public static interface AccumuloClient.PropertyOptions<T> extends AccumuloClient.InstanceArgs<T>
Builder methods for creating AccumuloClient using properties- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccumuloClient.FromOptions<T>
from(String propertiesFilePath)
Build using properties file.AccumuloClient.FromOptions<T>
from(Path propertiesFile)
Build using properties file.AccumuloClient.FromOptions<T>
from(Properties properties)
Build using Java properties object.-
Methods inherited from interface org.apache.accumulo.core.client.AccumuloClient.InstanceArgs
to
-
-
-
-
Method Detail
-
from
AccumuloClient.FromOptions<T> from(String propertiesFilePath)
Build using properties file. An example properties file can be found at conf/accumulo-client.properties in the Accumulo tarball distribution.- Parameters:
propertiesFilePath
- Path to properties file- Returns:
- this builder
- See Also:
- Client properties documentation
-
from
AccumuloClient.FromOptions<T> from(Path propertiesFile)
Build using properties file. An example properties file can be found at conf/accumulo-client.properties in the Accumulo tarball distribution.- Parameters:
propertiesFile
- Path to properties file- Returns:
- this builder
- See Also:
- Client properties documentation
-
from
AccumuloClient.FromOptions<T> from(Properties properties)
Build using Java properties object. An example properties file can be found at conf/accumulo-client.properties in the Accumulo tarball distribution.- Parameters:
properties
- Properties object- Returns:
- this builder
- See Also:
- Client properties documentation
-
-