Coder Social home page Coder Social logo

hbase-ormlite's Introduction

ORM-HBase

This is simple ORM for HBase, the project includes several parts:

  1. DataMapper

According to PoEAA [http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420], domain object (POJO) knows nothing about Data Mapper, but mapper knows the domain object. Actually, data mapper is designed for specific objet including functions to access databases.

Different from PoEAA, this ORM-HBase here is designed based on the model, but we make it more general. We specify the mapping from object’s fields to HBase schema (id/rowkey, family, qualifier) through Java annotation, and design a general DataMapper based on generic data type (with annotations).

So, user of this module do not need to care about DataMapper logic at all(!)
  1. Object Beans

Make sure the object has an empty construction function with no parameters and getter&setter functions for each member variable;

  1. Dao

User does not need to call Create() function of DataMapperFactory nor need to know anything about DataMapper’s logic. Only need to use Dao to do CRUD.

hbase-ormlite's People

Contributors

wlu-mstr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.