goplanner

package
v0.0.0-...-0888c38 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCompilerErrorContext

func GetCompilerErrorContext(status *statuspb.Status, errorPB *compilerpb.CompilerErrorGroup) error

GetCompilerErrorContext inspects the context field (pb.Any msg) and converts into the CompilerErrorGroup message for proper use.

func HasContext

func HasContext(status *statuspb.Status) bool

HasContext returns true whether status has context or not.

Types

type GoPlanner

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

GoPlanner wraps the C Planner.

func New

func New(udfInfo *udfspb.UDFInfo) (GoPlanner, error)

New creates a new GoPlanner object.

func (GoPlanner) CompileMutations

CompileMutations compiles the query into a mutation of Pixie Data Table.

func (GoPlanner) Free

func (cm GoPlanner) Free()

Free the memory used by the planner.

func (GoPlanner) GenerateOTelScript

GenerateOTelScript generates an OTel export script based on the script passed in.

func (GoPlanner) Plan

Plan the query with the passed in state, then return the result as a planner result protobuf.

Jump to

Keyboard shortcuts

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