Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Protocol:不区分单机与分布式,共用一套实现

ServiceProvider:

  • 单机:实现 StandAlongServiceProvider,将请求(PhysicalPlan)发送给 StandAloneServiceProvider,将请求(PhysicalPlan)发送给 PlanExecutor(QueryExecutor)执行
  • 分布式:实现 ClusterServiceProvider,将请求(PhysicalPlan)发送给 Coordinator 执行,Coordinator 再与 ConfigNode 和其他 DataNode 交互进行读写。

...