Part 3 - Getting Started with the Code

Posted by Charlie Mason on January 16, 2009
Filed under Tutorials | 1 Comments

Once the compiler has generated the code (See Part 2) from you OHM Spec file (see Part 1) you simply add that to your project. This particular tutorial will use the CSharp generated code however this process should be similar for the other supported languages.[Read More]

 

 

Part 2 - Getting Started with the Compiler

Posted by Charlie Mason on January 16, 2009
Filed under Tutorials | 0 Comments

Once you have your OHM Spec files (see Part 1) the next step is to compile it. OHM features its own compiler for the Spec files. It performs basic checks to ensure the Spec files conform to the formal Spec file Grammar but does little other checking. It doesn't connect to HBase at all, so it can't check the structure in the Spec files actually exists inside HBase. The compiler will generate code in the target language of your choice which you can then incorporate in to your project's source code.

[Read More]

 

Part 1 - Getting Started with the Spec File

Posted by Charlie Mason on January 16, 2009
Filed under Tutorials | 0 Comments

The basic work flow with OHM is relatively straight forward. You create one or more Spec files which describe the layout of your HBase tables. You create the tables and their columns in HBase usually via the HBase Shell. You feed the spec files in to the OHM Compiler and tell it what language you would like to generate the interface in. You can then include the generated code in your project.

If you change the Spec file, simply recompile it with the OHM Compiler like you would when you make a change to conventional source code. You can put multiple table definitions in one Spec file or use wild cards in the path you give the OHM Compiler to compile multiple Spec files at once.

[Read More]

 

OHM Version 0.5

Posted by Charlie Mason on January 15, 2009
Filed under Downloads | 0 Comments

This is the first release of OHM. Currently the compiler can only generate C Sharp code however we plan to add at least Java support in the not too distant future.

Download OHM 0.5 Release

If you prefer, you can download the very latest version via GIT. You should be able to track all future releases this way and it will make it easier to contribute any future enhancements should you wish to.

git clone http://git.kissintelligentsystems.com/ohm.git

 

Anouncing the OHM Project

Posted by Charlie Mason on January 15, 2009
Filed under News | 0 Comments

I am pleased to announce our second open source project OHM, the Object Hbase Mapper. Hbase is an Open Source Clustered Database Engine.

OHM is a tool to make interfacing the HBase much easier and provides some of comforts of a traditional database interface such as native data types.

[Read More]

 

About the OHM Project

Posted by Charlie Mason on January 15, 2009
Filed under Project Info | 0 Comments

OHM is an interface engine for Apache HBase which is an open source clustered database engine. The project is open source and licensed under the Apache 2.0 License. This should enable it to be integrated directly in most projects, both open source and commercial projects.

[Read More]