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 URI s from a File
descriptor or an existing URI . |
This package defines the HBaseURI
class, that extends PersistenceURI
to create HBase specific URIs. HBaseURI
s are convenience wrappers of EMF URI
s that set a dedicated protocol that is parsed by NeoEMF to create the appropriate
database.
HBaseURI
s 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.