package tech.easyflow.datacenter.connector;

import com.alibaba.fastjson2.JSONObject;
import tech.easyflow.common.entity.LoginAccount;
import tech.easyflow.datacenter.entity.DatacenterTable;
import tech.easyflow.datacenter.meta.entity.DatacenterSource;

import java.math.BigInteger;

public interface WriteExecutor {
    void saveRow(DatacenterSource source, DatacenterTable table, JSONObject data, LoginAccount account);

    void deleteRow(DatacenterSource source, DatacenterTable table, BigInteger id, LoginAccount account);
}
