package
6.7.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

BindHint will add hints for stmt according to the hints in `hintsSet`.
CheckBindingFromHistoryBindable checks whether the ast and hint string from history is bindable.
CollectHint collects hints for a statement.
ExtractTableHintsFromStmtNode extracts table hints from this node.
GenerateQBName builds QBName from offset.
ParseHintsSet parses a SQL string, then collects and normalizes the HintsSet.
RestoreIndexHint returns string format of IndexHint.
RestoreOptimizerHints restores these hints.
RestoreTableOptimizerHint returns string format of TableOptimizerHint.

# Constants

TypeDelete for DELETE.
TypeInvalid for unexpected statements.
TypeSelect for SELECT.
TypeUpdate for Update.

# Structs

BlockHintProcessor processes hints at different level of sql statement.
HintsSet contains all hints of a query.

# Type aliases

NodeType indicates if the node is for SELECT / UPDATE / DELETE.