com.flipkart.hbaseobjectmapper.HBRecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbase-object-mapper Show documentation
Show all versions of hbase-object-mapper Show documentation
HBase ORM is a light-weight, thread-safe and performant library that enables:
[1] object-oriented access of HBase rows (Data Access Object) with minimal code and good testability
[2] reading from and/or writing to HBase tables in Hadoop MapReduce jobs
package com.flipkart.hbaseobjectmapper;
/**
* Entities that need to be mapped to HBase table need to implement this interface
*/
public interface HBRecord {
/**
* Forms the row key required for HBase from class variables
*
* @return Row key as string
*/
String composeRowKey();
/**
* Assigns the class variables from row key string (from HBase) provided
*
* @param rowKey Row key as a string
*/
void parseRowKey(String rowKey);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy