support

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggDef

type AggDef struct {
	Name     string `yaml:"name"`
	SqlName  string `yaml:"sqlName"`
	Desc     string `yaml:"desc"`
	RetType  string `yaml:"retType"` // must be valid sql.Type
	Nullable bool   `yaml:"nullable"`
}

type AggDefs added in v0.16.0

type AggDefs struct {
	UnaryAggs []AggDef `yaml:"unaryAggs"`
}

func DecodeUnaryAggDefs added in v0.16.0

func DecodeUnaryAggDefs(path string) (AggDefs, error)

type AggGen

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

func (*AggGen) Generate

func (g *AggGen) Generate(defines GenDefs, w io.Writer)

type ExprDef added in v0.16.0

type ExprDef struct {
	Name        string      `yaml:"name"`
	SourceType  string      `yaml:"sourceType"`
	Join        bool        `yaml:"join"`
	Attrs       [][2]string `yaml:"attrs"`
	Unary       bool        `yaml:"unary"`
	SkipExec    bool        `yaml:"skipExec"`
	Binary      bool        `yaml:"binary"`
	SkipName    bool        `yaml:"skipName"`
	SkipTableId bool        `yaml:"skipTableId"`
}

type FrameFactoryGen

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

func (*FrameFactoryGen) Generate

func (g *FrameFactoryGen) Generate(defines GenDefs, w io.Writer)

type FrameGen

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

func (*FrameGen) Generate

func (g *FrameGen) Generate(defines GenDefs, w io.Writer)

type FramerGen

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

func (*FramerGen) Generate

func (g *FramerGen) Generate(defines GenDefs, w io.Writer)

type GenDefs

type GenDefs interface{}

TODO not use arbitrary placeholder for optgen defs we could use cockroach's DSL for concise struct defs

type MemoExprs added in v0.16.0

type MemoExprs struct {
	Exprs []ExprDef `yaml:"exprs"`
}

func DecodeMemoExprs added in v0.16.0

func DecodeMemoExprs(path string) (MemoExprs, error)

type MemoGen added in v0.14.0

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

func (*MemoGen) Generate added in v0.14.0

func (g *MemoGen) Generate(defines GenDefs, w io.Writer)

Jump to

Keyboard shortcuts

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