You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by GitBox <gi...@apache.org> on 2018/07/06 13:38:03 UTC

[GitHub] keith-turner removed a comment on issue #111: Create class to clean up pulling Fluo data from Key/Value pair

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:
users@infra.apache.org


With regards,
Apache Git Services