Skip navigation links

Package fr.inria.atlanmod.neoemf.data.hbase.util

Provides utility classes related to HBase.

See: Description

Package fr.inria.atlanmod.neoemf.data.hbase.util Description

Provides utility classes related to HBase.

This package defines the fr.inria.atlanmod.neoemf.data.hbase.util.HBaseUri class, that extends fr.inria.atlanmod.neoemf.util.UriBuilder to create HBase specific URIs. fr.inria.atlanmod.neoemf.data.hbase.util.HBaseUris are convenience wrappers of EMF URIs that set a dedicated protocol that is parsed by NeoEMF to create the appropriate database.

fr.inria.atlanmod.neoemf.data.hbase.util.HBaseUris are created using the following code. The fr.inria.atlanmod.neoemf.data.hbase.util.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 uri = HBaseUriFactory.createRemoteUri("localhost", 1234, "myModel");

 // The created URI can be used as a regular EMF URI to create a NeoEMF resource
 Resource resource = resourceSet.createResource(uri);

 // And accessed as a regular EMF resource
 resource.getContents() [...]
 
Skip navigation links

Copyright © 2013–2019 Atlanmod. All rights reserved.