virtualcolumn

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(data []byte) (builder.VirtualColumn, error)

Types

type Base

type Base struct {
	Typ builder.ComponentType `json:"type,omitempty"`
}

func (*Base) SetType

func (b *Base) SetType(typ builder.ComponentType) *Base

func (*Base) Type

func (b *Base) Type() builder.ComponentType

type Expression

type Expression struct {
	Base
	Name       string           `json:"name,omitempty"`
	Expression string           `json:"expression,omitempty"`
	OutputType types.OutputType `json:"outputType,omitempty"`
}

func NewExpression

func NewExpression() *Expression

func (*Expression) SetExpression

func (e *Expression) SetExpression(expression string) *Expression

func (*Expression) SetName

func (e *Expression) SetName(name string) *Expression

func (*Expression) SetOutputType

func (e *Expression) SetOutputType(outputType types.OutputType) *Expression

Jump to

Keyboard shortcuts

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