@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, supportsTransient
createMapper, createMapper
public HBaseBackendFactory()
HBaseBackendFactory
.@Nonnull protected Backend createRemoteBackend(URL url, HBaseConfig config) throws IOException
AbstractBackendFactory
Backend
.
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-endIOException
Copyright © 2013–2019 Atlanmod. All rights reserved.