keith-turner removed a comment on issue #111: Create class to clean up pulling 
Fluo data from Key/Value pair
URL: https://github.com/apache/fluo/issues/111#issuecomment-403036784
 
 
   I think a good name for this new class would be FluoEntry.  The class could 
be placed in `./modules/accumulo/src/main/java/org/apache/fluo/accumulo/util/`. 
 
   
   ```java
   class FluoEntry {
     private Key key;
     private Value val;
   
     public long getTimestamp() {
       return key.getTimestamp() & ColumnUtil.TIMESTAMP_MASK;
     }
   
     public long getColumnType() {
       return key.getTimestamp() & ColumnUtil.PREFIX_MASK;
     }
   
     public static FluoEntry from(Key key, Value val) { //TODO call private 
constructor}
     public static FluoEntry from(Entry<Key, Value> entry) { //TODO call 
private constructor}
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to