frontend思维导图
2022-07-19 15:53:13 184 举报
AI智能生成
数据库 frontend
作者其他创作
大纲/内容
CatalogReader(catalog读取器)
CatalogWriter(catalog写入器)
catalog_service
DatabaseCatalog
database_catalog
专门记录database的catalog
create_database
create_schema
create_table
create_source
drop_database
drop_schema
drop_table
drop_source
root_catalog
SchemaCatalog
schema_catalog
专门记录schema的catalog
SourceCatalog
source_catalog
专门记录source的catalog
TableCatalog
table_catalog
专门记录table的catalog
catalog
负责实施逻辑调用的函数
Statement::Insert
Statement::Delete
Statement::Update
Statement::Query
bind_statement
binder
四种需要绑定catalog、db的SQL类型
batch
logical
stream
plan_node
批量
逻辑
流式
plan_rewriter
plan_visitor
PlanRoot
optimizer
plan_fragmenter
query_manager
worker_node_manager
hummock_snapshot_manager
scheduler
explain::handle_explain
Statement::Explain
create_database::handle_create_database
Statement::CreateDatabase
create_source::handle_create_source
Statement::CreateSource
create_index::handle_create_index
Statement::CreateIndex
create_table::handle_create_table
Statement::CreateTable
create_schema::handle_create_schema
Statement::CreateSchema
describe::handle_describe
Statement::Describe
Statement::ShowColumn
show::handle_show_object
Statement::ShowObjects
drop_table::handle_drop_table
ObjectType::Table
drop_mv::handle_drop_mv
ObjectType::MaterializedView
drop_source::handle_drop_source
ObjectType::Source
drop_database::handle_drop_database
ObjectType::Database
drop_schema::handle_drop_schema
ObjectType::Schema
Statement::Drop
query::handle_query
dml::handle_dml
create_mv::handle_create_mv
Statement::CreateView
flush::handle_flush
Statement::Flush
set::handle_set
Statement::SetVariable
handler
plan_insert
BoundStatement::Insert
plan_delete
BoundStatement::Delete
plan_update
BoundStatement::Update
plan_query
BoundStatement::Query
planner
ObserverManager
observer
基于主节点元数据的变动,通知所有副节点更新元数据
rewrite
build_fragment
StreamFragmentGraph
build_graph
StreamFragmenter
构建执行流程拓扑图
构建新的片段
stream_fragmenter
frontend
执行计划生成之后的调度器,负责sql的逻辑调用,由QueryRunner开始执行
功能处理逻辑函数
执行计划
收藏
0 条评论
回复 删除
下一页