astindirect

package
v0.5.414 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indirect

type Indirect interface {
	Parse() error
	GetAssignedParameters() (internaldto.TableParameterCollection, bool)
	GetColumnByName(name string) (typing.ColumnMetadata, bool)
	GetColumns() []typing.ColumnMetadata
	GetName() string
	GetOptionalParameters() map[string]openapistackql.Addressable
	GetRequiredParameters() map[string]openapistackql.Addressable
	GetSelectAST() sqlparser.SelectStatement
	GetSelectContext() drm.PreparedStatementCtx
	GetType() IndirectType
	GetUnderlyingSymTab() symtab.SymTab
	SetAssignedParameters(internaldto.TableParameterCollection)
	SetSelectContext(drm.PreparedStatementCtx)
	SetUnderlyingSymTab(symtab.SymTab)
}

func NewSubqueryIndirect added in v0.3.293

func NewSubqueryIndirect(subQueryDTO internaldto.SubqueryDTO) (Indirect, error)

func NewViewIndirect

func NewViewIndirect(viewDTO internaldto.ViewDTO) (Indirect, error)

type IndirectType

type IndirectType int
const (
	ViewType IndirectType = iota
	SubqueryType
	CTEType
)

Jump to

Keyboard shortcuts

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