package
2.0.0+incompatible
Repository: https://github.com/nerdatmath/vitess.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewEqualSplitsAlgorithm constructs a new equal splits algorithm.
NewFullScanAlgorithm constructs a new FullScanAlgorithm.
NewSplitParamsGivenNumRowsPerQueryPart returns a new SplitParams object to be used in a splitquery request in which the Vitess client specified a numRowsPerQueryPart parameter.
NewSplitParamsGivenSplitCount returns a new SplitParams object to be used in a splitquery request in which the Vitess client specified a splitCount parameter.
NewSplitter creates a new Splitter object.
# Structs
EqualSplitsAlgorithm implements the SplitAlgorithmInterface and represents the equal-splits algorithm for generating the boundary tuples.
FullScanAlgorithm implements the SplitAlgorithmInterface and represents the full-scan algorithm for generating the boundary tuples.
SplitParams stores the context for a splitquery computation.
Splitter is used to drive the splitting procedure.
# Interfaces
SplitAlgorithmInterface defines the interface for a splitting algorithm.
SQLExecuter enacpsulates access to the MySQL database for the this package.