@Override
  public boolean load(CacheWrapper wrapper, int nodeIndex) throws Throwable {

    FpbValue value = (FpbValue) wrapper.get(null, wrapper.createKey(this.getKey(), nodeIndex));
    if (value == null) return false;
    TpccOrderLine orderline = value.getOrderline();

    this.ol_i_id = orderline.getOlIId();
    this.ol_supply_w_id = orderline.getOlSupplyWId();
    this.ol_delivery_d = orderline.getOlDeliveryD();
    this.ol_quantity = orderline.getOlQuantity();
    this.ol_amount = orderline.getOlAmount();
    this.ol_dist_info = orderline.getOlDistInfo();

    return true;
  }
  @Override
  public void store(CacheWrapper wrapper, int nodeIndex) throws Throwable {
    TpccOrderLine orderline =
        TpccOrderLine.newBuilder()
            .setOlIId(ol_i_id)
            .setOlSupplyWId(ol_supply_w_id)
            .setOlDeliveryD(ol_supply_w_id)
            .setOlQuantity(ol_quantity)
            .setOlAmount(ol_amount)
            .setOlDistInfo(ol_dist_info)
            .build();

    FpbValue value = FpbValue.newBuilder().setOrderline(orderline).setField(9).build();

    wrapper.put(null, wrapper.createKey(this.getKey(), nodeIndex), value);
  }