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 )
Click to show internal directories.
Click to hide internal directories.