utility

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DescribePlan

type DescribePlan struct {
	plan.BasePlan
	Stmt     *ast.DescribeStatement
	Database string
	Table    string
	Column   string
}

func NewDescribePlan

func NewDescribePlan(stmt *ast.DescribeStatement) *DescribePlan

func (*DescribePlan) ExecIn

func (d *DescribePlan) ExecIn(ctx context.Context, vConn proto.VConn) (proto.Result, error)

func (*DescribePlan) Type

func (d *DescribePlan) Type() proto.PlanType

type ExplainPlan

type ExplainPlan struct {
	plan.BasePlan
	// contains filtered or unexported fields
}

func NewExplainPlan

func NewExplainPlan(stmt *ast.ExplainStatement) *ExplainPlan

func (*ExplainPlan) ExecIn

func (e *ExplainPlan) ExecIn(ctx context.Context, vConn proto.VConn) (proto.Result, error)

func (*ExplainPlan) SetShards

func (e *ExplainPlan) SetShards(shards rule.DatabaseTables)

func (*ExplainPlan) Type

func (e *ExplainPlan) Type() proto.PlanType

Jump to

Keyboard shortcuts

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