Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 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

Returns:
Row key as string
    String composeRowKey();

    
Assigns the class variables from row key string (from HBase) provided

Parameters:
rowKey Row key as a string
    void parseRowKey(String rowKey);
New to GrepCode? Check out our FAQ X