sessctx

package
v0.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDummySessionContext

func NewDummySessionContext() sessionctx.Context

Types

type SessCtx

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

func NewSessionContext

func NewSessionContext(is infoschema.InfoSchema, database string) *SessCtx

func (SessCtx) GetInfoSchema

func (s SessCtx) GetInfoSchema() sessionctx.InfoschemaMetaVersion

func (SessCtx) GetSessionVars

func (s SessCtx) GetSessionVars() *variable.SessionVars

func (*SessCtx) SetArgs

func (s *SessCtx) SetArgs(args []interface{})

func (*SessCtx) SetInfoSchema

func (s *SessCtx) SetInfoSchema(infoSchema infoschema.InfoSchema)

func (*SessCtx) SetValue

func (s *SessCtx) SetValue(key fmt.Stringer, value interface{})

func (SessCtx) Value

func (s SessCtx) Value(key fmt.Stringer) interface{}

Jump to

Keyboard shortcuts

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