optimize

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOptimizer

func NewOptimizer(dbGroupExecutors map[string]proto.DBGroupExecutor,
	algorithms map[string]cond.ShardingAlgorithm,
	topologies map[string]*topo.Topology) proto.Optimizer

Types

type Optimizer

type Optimizer struct {
	// contains filtered or unexported fields
}

func (Optimizer) Optimize

func (o Optimizer) Optimize(ctx context.Context, stmt ast.StmtNode, args ...interface{}) (proto.Plan, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL