package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev

# Packages

Package splitquery_testing is a generated GoMock package.

# 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.