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

# Constants

These constants list the possible aggregate opcodes.
These constants list the possible aggregate opcodes.
These constants list the possible aggregate opcodes.
These constants list the possible aggregate opcodes.
DeleteByDestination is to route explicitly to a given target destination.
DeleteEqual is for routing a delete statement to a single shard.
DeleteScatter is for routing a scattered delete statement.
DeleteUnsharded is for routing a delete statement to an unsharded keyspace.
InsertSharded is for routing an insert statement to individual shards.
InsertShardedIgnore is for INSERT IGNORE and INSERT...ON DUPLICATE KEY constructs.
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 JoinOpcode values.
These are opcode values for VindexFunc.
This is the list of PulloutOpcode values.
This is the list of PulloutOpcode values.
This is the list of PulloutOpcode values.
This is the list of PulloutOpcode values.
SelectDBA is for executing a DBA statement.
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.
SelectNext is for fetching from a sequence.
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.
UpdateByDestination is to route explicitly to a given target destination.
UpdateEqual is for routing an update statement to a single shard: Requires: A Vindex, and a single Value.
UpdateScatter is for routing a scattered update statement.
UpdateUnsharded is for routing an update statement to an unsharded keyspace.
These are opcode values for VindexFunc.
These are opcode values for VindexFunc.

# Variables

SupportedAggregates maps the list of supported aggregate functions to their opcodes.

# Structs

AggregateParams specify the parameters for each aggregation.
Delete represents the instructions to perform a delete.
Generate represents the instruction to generate a value from a sequence.
Insert represents the instructions to perform an insert operation.
Join specifies the parameters for a join primitive.
Limit is a primitive that performs the LIMIT operation.
OrderbyParams specifies the parameters for ordering.
OrderedAggregate is a primitive that expects the underlying primitive to feed results in an order sorted by the Keys.
Plan represents the execution strategy for a given query.
PulloutSubquery executes a "pulled out" subquery and stores the results in a bind variable.
Route represents the instructions to route a read query to one or many vttablets.
Subquery specifies the parameters for a subquery primitive.
Update represents the instructions to perform an update.
VindexFunc is a primitive that performs vindex functions.

# 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

AggregateOpcode is the aggregation Opcode.
DeleteOpcode is a number representing the opcode for the Delete primitve.
InsertOpcode is a number representing the opcode for the Insert primitve.
JoinOpcode is a number representing the opcode for the Join primitive.
PulloutOpcode is a number representing the opcode for the PulloutSubquery primitive.
RouteOpcode is a number representing the opcode for the Route primitve.
UpdateOpcode is a number representing the opcode for the Update primitve.
VindexOpcode is the opcode for a VindexFunc.