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

# Packages

# Functions

Analyze do a analyze request.
BuildTableRanges returns the key ranges encompassing the entire table, and its partitions if exists.
Checksum sends a checksum request.
CommonHandleRangesToKVRanges converts common handle ranges to "KeyRange".
EncodeIndexKey gets encoded keys containing low and high.
FillDummySummariesForTiFlashTasks fills dummy execution summaries for mpp tasks which lack summaries.
GenSelectResultFromMPPResponse generates an iterator from response.
GetSystemEndian gets the system endian.
IndexRangesToKVRanges converts index ranges to "KeyRange".
IndexRangesToKVRangesForTables converts indexes ranges to "KeyRange".
IndexRangesToKVRangesWithInterruptSignal converts index ranges to "KeyRange".
NewSerialSelectResults create a SelectResult which will read each SelectResult serially.
NewSortedSelectResults is only for partition table If schema == nil, sort by first few columns.
PartitionHandlesToKVRanges convert ParitionHandles to kv ranges.
Select sends a DAG request, returns SelectResult.
SelectWithRuntimeStats sends a DAG request, returns SelectResult.
SetEncodeType sets the encoding method for the DAGRequest.
SetTiFlashConfVarsInContext set some TiFlash config variables in context.
SplitRangesAcrossInt64Boundary split the ranges into two groups: 1.
TableHandleRangesToKVRanges convert table handle ranges to "KeyRanges" for multiple tables.
TableHandlesToKVRanges converts sorted handle to kv ranges.
TableRangesToKVRanges converts table ranges to "KeyRange".
VerifyTxnScope verify whether the txnScope and visited physical table break the leader rule's dcLocation.
WithSQLKvExecCounterInterceptor binds an interceptor for client-go to count the number of SQL executions of each TiKV (if any).

# Structs

RequestBuilder is used to build a "kv.Request".

# Interfaces

CopRuntimeStats is an interface uses to check whether the result has cop runtime stats.
SelectResult is an iterator of coprocessor partial results.