executor

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func (*Database) GetTable

func (*Database) ListTables

func (d *Database) ListTables(ctx context.Context) ([]string, error)

type ExecutionDatasource

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

func (*ExecutionDatasource) Run

type Manager

type Manager interface {
	GetPluginBinaryPath(name config.PluginReference, version *semver.Version) (string, error)
}

type PhysicalDatasource

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

func (*PhysicalDatasource) Materialize

func (p *PhysicalDatasource) Materialize(ctx context.Context, env physical.Environment, schema physical.Schema, pushedDownPredicates []physical.Expression) (execution.Node, error)

func (*PhysicalDatasource) PushDownPredicates

func (p *PhysicalDatasource) PushDownPredicates(newPredicates, pushedDownPredicates []physical.Expression) (rejected, pushedDown []physical.Expression, changed bool)

type PluginExecutor

type PluginExecutor struct {
	Manager Manager
	// contains filtered or unexported fields
}

func (*PluginExecutor) Close

func (e *PluginExecutor) Close() error

func (*PluginExecutor) RunPlugin

func (e *PluginExecutor) RunPlugin(ctx context.Context, pluginRef config.PluginReference, databaseName string, version *semver.Version, config yaml.Node) (*Database, error)

Jump to

Keyboard shortcuts

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