earlyanalysis

package
v0.5.643 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer interface {
	Analyze(statement sqlparser.Statement, handlerCtx handler.HandlerContext, tcc internaldto.TxnControlCounters) error
}

type AstExpandVisitor

type AstExpandVisitor interface {
	sqlparser.SQLAstVisitor
	GetAnnotatedAST() annotatedast.AnnotatedAst
	Analyze() error
	ContainsAnalyticsCacheMaterial() bool
	IsReadOnly() bool
	GetCreateBuilder() (primitivebuilder.Builder, bool)
}

type InitialPassesScreener

type InitialPassesScreener interface {
	GetInstructionType() InstructionType
	GetPlanBuilderInput() planbuilderinput.PlanBuilderInput
	GetStatementType() sqlparser.StatementType
	GetStatement() sqlparser.Statement
	GetIndirectionDepth() int
	IsCacheExemptMaterialDetected() bool
	IsReadOnly() bool
}

type InitialPassesScreenerAnalyzer

type InitialPassesScreenerAnalyzer interface {
	Analyzer
	InitialPassesScreener
	GetIndirectCreateTail() (primitivebuilder.Builder, bool)
	SetIndirectCreateTail(indirectCreateTail primitivebuilder.Builder)
}

func NewEarlyScreenerAnalyzer

func NewEarlyScreenerAnalyzer(
	primitiveGenerator primitivegenerator.PrimitiveGenerator,
	parentAnnotatedAST annotatedast.AnnotatedAst,
	parentWhereParams parserutil.ParameterMap,
	indirectDepth int,
) (InitialPassesScreenerAnalyzer, error)

type InstructionType

type InstructionType int
const (
	StandardInstruction InstructionType = iota
	CachedInstruction
	InternallyRoutableInstruction
	DummiedPGInstruction
	NopInstruction
)

Jump to

Keyboard shortcuts

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