package
8.3.0-e6e78c7c+incompatible
Repository: https://github.com/pingcap/tidb-dashboard.git
Documentation: pkg.go.dev
# Functions
AverageSplitStrategy adopts the strategy of equal distribution when buckets are split.
CheckPartOf checks that part keys are a subset of src keys.
CheckReduceOf checks that part keys are a subset of src keys and have the same StartKey and EndKey.
CreateAxis checks the given parameters and uses them to build the Axis.
CreateEmptyAxis constructs a minimal empty Axis with the given parameters.
CreateEmptyPlane constructs a minimal empty Plane with the given parameters.
CreateMatrix uses the specified times and keys to build an initial matrix with no data.
CreatePlane checks the given parameters and uses them to build the Plane.
No description provided by the author
GetLastKey gets the last element of keys.
KeysRange finds a range that intersects [startKey, endKey) in keys.
MakeKeys uses a key set to build a new Key-Axis.
MakeKeysWithUnlimitedEnd uses a key set to build a new Key-Axis, then add a "" to the keys, indicating that the last bucket has an unlimited end.
Max returns the larger of a and b.
MemsetInt sets all elements of the int slice to v.
MemsetUint64 sets all elements of the uint64 slice to v.
Min returns the smaller of a and b.
# Constants
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author