dtablefunctions

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTableFunctionWrapper

func NewTableFunctionWrapper(f sql.Function) sql.TableFunction

NewTableFunctionWrapper creates new TableFunction with given Function as underlying function.

Types

type TableFunctionWrapper

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

TableFunctionWrapper represents a table function with underlying regular function. It allows using regular function as table function.

func (*TableFunctionWrapper) Children

func (t *TableFunctionWrapper) Children() []sql.Node

func (*TableFunctionWrapper) Database

func (t *TableFunctionWrapper) Database() sql.Database

func (*TableFunctionWrapper) Expressions

func (t *TableFunctionWrapper) Expressions() []sql.Expression

func (*TableFunctionWrapper) IsReadOnly

func (t *TableFunctionWrapper) IsReadOnly() bool

func (*TableFunctionWrapper) Name

func (t *TableFunctionWrapper) Name() string

func (*TableFunctionWrapper) NewInstance

func (t *TableFunctionWrapper) NewInstance(ctx *sql.Context, db sql.Database, args []sql.Expression) (sql.Node, error)

func (*TableFunctionWrapper) Resolved

func (t *TableFunctionWrapper) Resolved() bool

func (*TableFunctionWrapper) RowIter

func (t *TableFunctionWrapper) RowIter(ctx *sql.Context, r sql.Row) (sql.RowIter, error)

func (*TableFunctionWrapper) Schema

func (t *TableFunctionWrapper) Schema() sql.Schema

func (*TableFunctionWrapper) String

func (t *TableFunctionWrapper) String() string

func (*TableFunctionWrapper) WithChildren

func (t *TableFunctionWrapper) WithChildren(children ...sql.Node) (sql.Node, error)

func (*TableFunctionWrapper) WithDatabase

func (t *TableFunctionWrapper) WithDatabase(database sql.Database) (sql.Node, error)

func (*TableFunctionWrapper) WithExpressions

func (t *TableFunctionWrapper) WithExpressions(exprs ...sql.Expression) (sql.Node, error)

Jump to

Keyboard shortcuts

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