vm

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Top = iota
	Join
	Plus
	Limit
	Times
	Merge
	Dedup
	Order
	Oplus
	Output
	Offset
	Restrict
	Connector
	Transform
	Projection
	UnTransform

	MergeDedup
	MergeLimit
	MergeOffset
	MergeOrder
	MergeTop

	DeleteTag
	UpdateTag
)

Variables

This section is empty.

Functions

func Prepare

func Prepare(ins Instructions, proc *process.Process) error

Prepare range instructions and do init work for each operator's argument by calling its prepare function

func Run

func Run(ins Instructions, proc *process.Process) (bool, error)

func String

func String(ins Instructions, buf *bytes.Buffer)

String range instructions and call each operator's string function to show a query plan

Types

type Instruction

type Instruction struct {
	// Op specified the operator code of an instruction.
	Op int
	// Arg contains the operand of this instruction.
	Arg interface{}
}

Instruction contains relational algebra

type Instructions

type Instructions []Instruction

Directories

Path Synopsis
aoe
kv
pb
aoe
aoe/mergesort/dates
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/datetimes
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/float32s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/float64s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/int16s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/int32s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/int64s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/int8s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/uint16s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/uint32s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/uint64s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/uint8s
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
aoe/mergesort/varchar
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
tpe
tpe/tuplecodec/test
Package mock_tuplecodec is a generated GoMock package.
Package mock_tuplecodec is a generated GoMock package.
mmu

Jump to

Keyboard shortcuts

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