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

# Functions

GetResultForTest gets result, only for test.
InitTopNExecForTest initializes TopN executors, only for test.
NewDataCursor creates a new dataCursor.
SetSmallSpillChunkSizeForTest set spill chunk size for test.
TestKillSignalInTopN is for test.

# Constants

SignalCheckpointForSort indicates the times of row comparation that a signal detection will be triggered.

# Structs

SortExec represents sorting executor.
TopNExec implements a Top-N algorithm and it is built from a SELECT statement with ORDER BY and LIMIT.