# Functions
AverageStrategy 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.
DistanceStrategy adopts the strategy that the closer the split time is to the current time, the more traffic is allocated, when buckets are split.
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.
# Structs
Axis stores consecutive buckets.
KeyMap is used for string intern.
Matrix is the front end displays the required data.
NaiveLabelStrategy is one of the simplest LabelStrategy.
Plane stores consecutive axes.
# Interfaces
Strategy is part of the customizable strategy in Matrix generation.