private void save(Tuple tuple){
  byte[] rowKey=mapper.rowKey(tuple);
  ColumnList cols=mapper.columns(tuple);
  Durability durability=writeToWAL ? Durability.SYNC_WAL : Durability.SKIP_WAL;
  Optional<Long> ttl=mapper.getTTL(tuple);
  if (ttl.isPresent()) {
    hbaseClient.addMutation(rowKey,cols,durability,ttl.get());
  }
 else {
    hbaseClient.addMutation(rowKey,cols,durability);
  }
  batchHelper.addBatch(tuple);
}

private void save ( Tuple tuple ) { byte [ ] rowKey = mapper . rowKey ( tuple ) ; ColumnList cols = mapper . columns ( tuple ) ; Durability durability = writeToWAL ? Durability . SYNC_WAL : Durability . SKIP_WAL ; Optional < Long > ttl = mapper . getTTL ( tuple ) ; if ( ttl . isPresent ( ) ) { hbaseClient . addMutation ( rowKey , cols , durability , ttl . get ( ) ) ; } else { hbaseClient . addMutation ( rowKey , cols , durability ) ; } batchHelper . addBatch ( tuple ) ; }
saves an operation for later .
