package
1.1.0-beta
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev

# Functions

BuildColumnRange builds the range for sampling histogram to calculate the row count.
BuildTableRange will build range of pk for PhysicalTableScan.
DetachCondAndBuildRangeForIndex will detach the index filters from table filters.
DetachCondsForTableRange detaches the conditions used for range calculation form other useless conditions for calculating the table range.
DetachSimpleCondAndBuildRangeForIndex will detach the index filters from table filters.
ExtractAccessConditionsForColumn detaches the access conditions used for range calculation.
FullIntNewRange is used for table range.
FullIntRange is (-∞, +∞) for IntColumnRange.
FullNewRange is (-∞, +∞) for NewRange.

# Constants

Error codes.
RangeType constants.
RangeType constants.
RangeType constants.

# Variables

Error instances.

# Structs

IntColumnRange represents a range for a integer column, both low and high are inclusive.
NewRange represents a range generated in physical plan building phase.

# Type aliases

RangeType is alias for int.