plan

package
v0.0.0-...-ba062bd Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlanCall

type PlanCall struct {
	Function    PlanFunction `json:"function"`
	InputFields []PlanField  `json:"infields"`
	OutputField PlanField    `json:"outfield"`
}

type PlanField

type PlanField struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Type        string `json:"type"`
	Usage       string `json:"usage"`
}

type PlanFunction

type PlanFunction struct {
	Id          int64    `json:"id"`
	Name        string   `json:"name"`
	Description string   `json:"description"`
	IsAggregate bool     `json:"isAggregate"`
	IsBuiltIn   bool     `json:"isBuiltIn"`
	InputTypes  []string `json:"inputTypes"`
	OutputType  string   `json:"outputType"`
	OutputName  string   `json:"outputName"`
	LibraryPath string   `json:"libraryPath"`
	Properties  []string `json:"properties"`
}

type PlanNode

type PlanNode struct {
	Id                 int64                  `json:"id"`
	Label              string                 `json:"label"`
	Description        string                 `json:"description"`
	Type               string                 `json:"type"`
	Fields             []PlanField            `json:"fields"`
	GroupFields        []PlanField            `json:"groupFields"`
	OperatorProperties []PlanOperatorProperty `json:"properties"`
	Calls              []PlanCall             `json:"calls"`
	Children           []PlanNode             `json:"children"`
}

Used to print a JSON version of the execution plan

func GrizzlyNodeToPlan

func GrizzlyNodeToPlan(node grizzly.Node) (p PlanNode)

type PlanOperatorProperty

type PlanOperatorProperty struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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