Specify the SPI for HBase DAO
commitc170caf60f165e78a45d3296784fb2e6a4dd71c8
authorImran M Yousuf <imyousuf@smartitengineering.com>
Sun, 22 Aug 2010 05:40:28 +0000 (22 11:40 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Sun, 22 Aug 2010 05:40:28 +0000 (22 11:40 +0600)
tree85f0b39811504bcc6220839e50627a00f6efaf3f
parent0f1bc7200d75f61cbee8dfcb284ad543ce6e0875
Specify the SPI for HBase DAO

Conversion of instance to Put/Delete and Result to instance is delegated
to ObjectRowConverter. Which could either be an Object-BigTable Mapping
implementation or simple implementation to handle a specific type.

SchemaInfoProvider is there to provide schema related information so that
we can use them to convert query params to filter, also class to its
respective tables etc.

Filter config is added to provide a column specific filter ops configs.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/FilterConfig.java [copied from smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/ObjectRowConverter.java with 54% similarity]
smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/ObjectRowConverter.java
smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/SchemaInfoProvider.java [moved from smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/TableInfoProvider.java with 56% similarity]