See: Description
| Class | Description |
|---|---|
| HBaseEncoderUtil | |
| HBaseResourceUtil |
Utility singleton class that provides HBase-specific helpers.
|
| HBaseURI |
A specific subclass of
PersistenceURI that creates MapDB specific resource URIs from a File
descriptor or an existing URI. |
This package defines the HBaseURI class, that extends PersistenceURI to create HBase specific URIs. HBaseURIs are convenience wrappers of EMF URIs that set a dedicated protocol that is parsed by NeoEMF to create the appropriate
database.
HBaseURIs are created using the following code. The HBaseURI allows to easily set the address and port of the remote HBase
server that contains a model.
// Create a HBase URI referencing the HBase server running on localhost:1234 and containing the resource myModel
URI hbaseURI = HBaseURI.createHierarchicalURI("localhost", "1234", "myModel");
// The created URI can be used as a regular EMF URI to create a NeoEMF resource
Resource neoEMFResource = resourceSet.createResource(hbaseURI);
// And accessed as a regular EMF resource
neoEMFResource.getContents() [...]
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.