Ejemplo n.º 1
0
 @Override
 public void persist(String colFamily, byte[] rowKey, List<Column> columns) {
   Persist persist = new Persist();
   persist.setColFamily(colFamily);
   persist.setRowKey(rowKey);
   persist.setColumns(columns);
   actions.add(persist);
 }
Ejemplo n.º 2
0
 private void insertTime(Action action, long time) {
   if (action instanceof Persist) {
     ((Persist) action).setTimestamp(time);
   }
 }