use of io.mycat.calcite.plan.PlanImplementor in project Mycat2 by MyCATApache.
the class DrdsRunnerHelper method runOnDrds.
public static Future<Void> runOnDrds(MycatDataContext dataContext, DrdsSqlWithParams drdsSqlWithParams, Response response) {
PlanImpl plan = getPlan(drdsSqlWithParams);
PlanImplementor planImplementor = getPlanImplementor(dataContext, response, drdsSqlWithParams);
return impl(plan, planImplementor);
}
use of io.mycat.calcite.plan.PlanImplementor in project Mycat2 by MyCATApache.
the class UpdateSQLHandler method executeUpdate.
public static Future<Void> executeUpdate(DrdsSqlWithParams drdsSqlWithParams, MycatDataContext dataContext, Response receiver, String schemaName) {
Plan plan = getPlan(drdsSqlWithParams);
PlanImplementor planImplementor = DrdsRunnerHelper.getPlanImplementor(dataContext, receiver, drdsSqlWithParams);
return DrdsRunnerHelper.impl(plan, planImplementor);
}
Aggregations