nodes

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregate

type Aggregate interface {
	Add(retraction bool, value octosql.Value) bool
	Trigger() octosql.Value
}

type CustomTriggerGroupBy added in v0.7.0

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

func NewCustomTriggerGroupBy added in v0.7.0

func NewCustomTriggerGroupBy(
	aggregatePrototypes []func() Aggregate,
	aggregateExprs []Expression,
	keyExprs []Expression,
	keyEventTimeIndex int,
	source Node,
	triggerPrototype func() Trigger,
) *CustomTriggerGroupBy

func (*CustomTriggerGroupBy) Run added in v0.7.0

func (g *CustomTriggerGroupBy) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type Distinct

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

func NewDistinct

func NewDistinct(source Node) *Distinct

func (*Distinct) Run

func (o *Distinct) Run(execCtx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type EventTimeBuffer

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

func NewEventTimeBuffer

func NewEventTimeBuffer(source Node) *EventTimeBuffer

func (*EventTimeBuffer) Run

func (e *EventTimeBuffer) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type Filter

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

func NewFilter

func NewFilter(source Node, predicate Expression) *Filter

func (*Filter) Run

func (m *Filter) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type InMemoryRecords added in v0.7.4

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

func NewInMemoryRecords added in v0.7.4

func NewInMemoryRecords(records []execution.Record) *InMemoryRecords

func (*InMemoryRecords) Run added in v0.7.4

type Limit added in v0.6.0

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

func NewLimit added in v0.6.0

func NewLimit(source Node, limit Expression) *Limit

func (*Limit) Run added in v0.6.0

func (m *Limit) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type LookupJoin

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

func NewLookupJoin

func NewLookupJoin(source, joined Node) *LookupJoin

func (*LookupJoin) Run

func (s *LookupJoin) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type Map

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

func NewMap

func NewMap(source Node, exprs []Expression) *Map

func (*Map) Run

func (m *Map) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type OrderSensitiveTransform added in v0.8.0

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

func NewOrderSensitiveTransform added in v0.8.0

func NewOrderSensitiveTransform(source Node, orderByKeyExprs []Expression, orderByDirectionMultipliers []int, limit *Expression, noRetractionsPossible bool) *OrderSensitiveTransform

func (*OrderSensitiveTransform) Run added in v0.8.0

func (o *OrderSensitiveTransform) Run(execCtx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type OuterJoin added in v0.8.0

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

func NewOuterJoin added in v0.8.0

func NewOuterJoin(left, right Node, leftFieldCount, rightFieldCount int, keyExprsLeft, keyExprsRight []Expression, isOuterLeft, isOuterRight bool) *OuterJoin

func (*OuterJoin) Run added in v0.8.0

func (s *OuterJoin) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type SimpleGroupBy added in v0.7.0

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

SimpleGroupBy is a special group by that's much faster than the CustomTriggerGroupBy but only works with no custom triggers.

func NewSimpleGroupBy added in v0.7.0

func NewSimpleGroupBy(
	aggregatePrototypes []func() Aggregate,
	aggregateExprs []Expression,
	keyExprs []Expression,
	source Node,
) *SimpleGroupBy

func (*SimpleGroupBy) Run added in v0.7.0

func (g *SimpleGroupBy) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type StreamJoin

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

func NewStreamJoin

func NewStreamJoin(left, right Node, keyExprsLeft, keyExprsRight []Expression) *StreamJoin

func (*StreamJoin) Run

func (s *StreamJoin) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type Unnest

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

func NewUnnest

func NewUnnest(source Node, index int) *Unnest

func (*Unnest) Run

func (u *Unnest) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

Jump to

Keyboard shortcuts

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