package
2.1.0-alpha.1+incompatible
Repository: https://github.com/gitql/vitess.git
Documentation: pkg.go.dev

# Constants

DeleteEqual is for routing a delete statement to a single shard.
DeleteUnsharded is for routing a delete statement to an unsharded keyspace.
InsertUnsharded is for routing an insert statement to a single shard.
InsertUnsharded is for routing an insert statement to an unsharded keyspace.
This is the list of JoinOpcode values.
ListVarName is a reserved bind var name for list vars.
This is the list of RouteOpcode values.
This is the list of JoinOpcode values.
NumCodes is the total number of opcodes for routes.
SelectEqual is for routing a query using a non-unique vindex.
SelectEqualUnique is for routing a query to a single shard.
SelectIN is for routing a query that has an IN clause using a Vindex.
SelectScatter is for routing a scatter query to all shards of a keyspace.
SelectUnsharded is the opcode for routing a select statement to an unsharded database.
SeqVarName is a reserved bind var name for sequence values.
UpdateEqual is for routing an update statement to a single shard: Requires: A Vindex, and a single Value.
UpdateUnsharded is for routing an update statement to an unsharded keyspace.

# Structs

Generate represents the instruction to generate a value from a sequence.
Join specifies the parameters for a join primitive.
Plan represents the execution strategy for a given query.
Route represents the instructions to route a query to one or many vttablets.

# Interfaces

Primitive is the interface that needs to be satisfied by all primitives of a plan.
VCursor defines the interface the engine will use to execute routes.

# Type aliases

JoinOpcode is a number representing the opcode for the Join primitive.
RouteOpcode is a number representing the opcode for the Route primitve.