@ParametersAreNonnullByDefault public class HBaseBackendFactory extends AbstractBackendFactory<HBaseConfig>
BackendFactory that creates HBaseBackend instances.
IMPORTANT: Transient back-ends can be instantiated using this factory, but they will be handed as persistent ones. This is a limitation that will be solved in next releases. To avoid any consistency issue we recommend every HBase resource right after their creation, ensuring the resource is using a persistent back-end.
| Constructor and Description |
|---|
HBaseBackendFactory()
Constructs a new
HBaseBackendFactory. |
| Modifier and Type | Method and Description |
|---|---|
protected Backend |
createRemoteBackend(URL url,
HBaseConfig config)
Creates a new server-based
Backend. |
createBackend, createLocalBackend, name, supportsTransientcreateMapper, createMapperpublic HBaseBackendFactory()
HBaseBackendFactory.@Nonnull protected Backend createRemoteBackend(URL url, HBaseConfig config) throws IOException
AbstractBackendFactoryBackend.
By default, this method throws an UnsupportedOperationException.
createRemoteBackend in class AbstractBackendFactory<HBaseConfig>url - the URL locating the databaseconfig - the configuration that defines the behaviour of the back-endIOExceptionCopyright © 2013–2019 Atlanmod. All rights reserved.