udf

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPartitionedBufferIdx added in v0.9.0

func GetPartitionedBufferIdx() func(toVertex string, toVertexPartitionCount int) int32

GetPartitionedBufferIdx returns a function that returns a partitioned buffer index based on the toVertex name and the partition count it distributes the messages evenly to the partitions of the toVertex based on the message count(round-robin)

Types

type MapUDFProcessor added in v0.6.1

type MapUDFProcessor struct {
	ISBSvcType     dfv1.ISBSvcType
	VertexInstance *dfv1.VertexInstance
}

func (*MapUDFProcessor) Start added in v0.6.1

func (u *MapUDFProcessor) Start(ctx context.Context) error

type ReduceUDFProcessor added in v0.6.1

type ReduceUDFProcessor struct {
	ISBSvcType     dfv1.ISBSvcType
	VertexInstance *dfv1.VertexInstance
}

func (*ReduceUDFProcessor) Start added in v0.6.1

func (u *ReduceUDFProcessor) Start(ctx context.Context) error

Directories

Path Synopsis
cat
Package rpc provides the interface to invoke UDFs (map, mapstream and reduce).
Package rpc provides the interface to invoke UDFs (map, mapstream and reduce).

Jump to

Keyboard shortcuts

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