HBase Datastores

DataNucleus supports persisting/retrieving objects to/from HBase datastore of Hadoop (using the datanucleus-hbase plugin). Support for HBase is in its early stages and will be enhanced in future releases. If you wish to help out in this effort either by contributing or by sponsoring particular functionality please contact us via the DataNucleus Forum.

Datastore Connection

The following persistence properties will connect to an HBase instance

datanucleus.ConnectionURL=hbase:
datanucleus.ConnectionUserName=
datanucleus.ConnectionPassword=


So you create your PersistenceManagerFactory or EntityManagerFactory with these properties. Thereafter you have the full power of the JDO or JPA APIs at your disposal, for your HBase datastore.

Queries

Access Platform allows you to query the objects in the datastore using the following

  • JDOQL - language based around the objects that are persisted and using Java-type syntax
  • JPQL - language based around the objects that are persisted and using SQL-like syntax


References

Below are some references using this support