MCPcopy
hub / github.com/pingcap/tidb / PlanBuilderOpt

Interface PlanBuilderOpt

pkg/planner/core/planbuilder.go:434–436  ·  view source on GitHub ↗

PlanBuilderOpt is used to adjust the plan builder.

Source from the content-addressed store, hash-verified

432
433// PlanBuilderOpt is used to adjust the plan builder.
434type PlanBuilderOpt interface {
435 Apply(builder *PlanBuilder)
436}
437
438// PlanBuilderOptNoExecution means the plan builder should not run any executor during Build().
439type PlanBuilderOptNoExecution struct{}

Callers 8

ApplyKVFileMethod · 0.65
TestBuildExpressionFunction · 0.65
NewPlanBuilderFunction · 0.65
OnGetMethod · 0.65
OnBatchGetMethod · 0.65
GetMethod · 0.65
GetMethod · 0.65
BatchGetMethod · 0.65

Implementers 10

mockImportServerbr/pkg/restore/internal/import_client/
S3BackendOptionsbr/pkg/storage/s3.go
PlanBuilderOptNoExecutionpkg/planner/core/planbuilder.go
PlanBuilderOptAllowCastArraypkg/planner/core/planbuilder.go
EvalContextpkg/expression/exprstatic/evalctx.go
ExprContextpkg/expression/exprstatic/exprctx.go
TableCheckpointpkg/lightning/checkpoints/checkpoints.
Poolpkg/lightning/worker/worker.go
WorkerPoolpkg/util/worker_pool.go
Filterpkg/util/filter/filter.go

Calls

no outgoing calls

Tested by

no test coverage detected