package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
Compress compresses the input with snappy then encodes it with base64.
DecodeBinaryPlan decode the binary plan and display it similar to EXPLAIN ANALYZE statement.
DecodeNormalizedPlan decodes the string to plan tree.
DecodePlan use to decode the string to plan tree.
EncodePlanNode is used to encode the plan to a string.
EncodeTaskType is used to encode task type to a string.
EncodeTaskTypeForNormalize is used to encode task type to a string.
NormalizePlanNode is used to normalize the plan to a string.
PhysicalIDToTypeString converts the plan id to plan type string.
TypeStringToPhysicalID converts the plan type string to plan id.
# Constants
TypeAgg is the type of Aggregation.
TypeApply is the type of Apply.
TypeBatchPointGet is the type of BatchPointGetPlan.
TypeClusterMemTableReader is the type of TableReader.
TypeCTE is the type of CTEFullScan.
TypeCTEDefinition is the type of CTE definition.
TypeCTETable is the type of TypeCTETable.
TypeDataSource is the type of DataSource.
TypeDelete is the type of Delete.
TypeDual is the type of TableDual.
TypeExchangeReceiver is the type of mpp exchanger receiver.
TypeExchangeSender is the type of mpp exchanger sender.
TypeExists is the type of Exists.
TypeExpand is the type of mpp expand source operator.
TypeForeignKeyCascade is the type of FKCascade.
TypeForeignKeyCheck is the type of FKCheck.
TypeHashAgg is the type of HashAgg.
TypeHashJoin is the type of hash join.
TypeIdxScan is the type of IndexScan.
TypeImportInto is the type of ImportInto.
TypeIndexFullScan is the type of IndexFullScan.
TypeIndexHashJoin is the type of index nested loop hash join.
TypeIndexJoin is the type of index look up join.
TypeIndexLookUp is the type of IndexLookUp.
TypeIndexMerge is the type of IndexMergeReader.
TypeIndexMergeJoin is the type of index look up merge join.
TypeIndexRangeScan is the type of IndexRangeScan.
TypeIndexReader is the type of IndexReader.
TypeInsert is the type of Insert.
TypeJoin is the type of Join.
TypeLimit is the type of Limit.
TypeLoadData is the type of LoadData.
TypeLock is the type of SelectLock.
TypeMaxOneRow is the type of MaxOneRow.
TypeMemTableScan is the type of TableScan.
TypeMergeJoin is the type of merge join.
TypePartitionUnion is the type of PartitionUnion.
TypePointGet is the type of PointGetPlan.
TypeProj is the type of Projection.
TypeScalarSubQuery is the type of ScalarQuery.
plan id.
TypeSel is the type of Selection.
TypeSequence is the type of Sequence.
TypeSet is the type of Set.
TypeShow is the type of show.
TypeShowDDLJobs is the type of show ddl jobs.
TypeShuffle is the type of Shuffle.
TypeShuffleReceiver is the type of Shuffle.
TypeSort is the type of Sort.
TypeStreamAgg is the type of StreamAgg.
TypeTableFullScan is the type of TableFullScan.
TypeTableRangeScan is the type of TableRangeScan.
TypeTableReader is the type of TableReader.
TypeTableRowIDScan is the type of TableRowIDScan.
TypeTableSample is the type of TableSample.
TypeTableScan is the type of TableScan.
TypeTiKVSingleGather is the type of TiKVSingleGather.
TypeTopN is the type of TopN.
TypeUnion is the type of Union.
TypeUnionScan is the type of UnionScan.
TypeUpdate is the type of Update.
TypeWindow is the type of Window.
# Variables
BinaryPlanDiscardedEncoded is a special binary plan that represents it's discarded because of too long.
PlanDiscardedEncoded indicates the discard plan because it is too long.