udf

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 44 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(vertexInstance *dfv1.VertexInstance) func(toVertex string, toVertexPartitionCount int32) 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 forward is used for creating a data forwarder for the UDF vertex.
Package forward is used for creating a data forwarder for the UDF vertex.
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