filter

package
v0.0.0-...-5d28b2a Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter(predicate []*pbUtils.AttributePredicate, streamRec *pbQPU.ResponseStreamRecord) (bool, error)

Filter ...

Types

type FQPU

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

FQPU implements a filter QPU

func QPU

func QPU(conf *config.Config) (*FQPU, error)

QPU creates a filter QPU

func (*FQPU) Cleanup

func (q *FQPU) Cleanup()

Cleanup is called when the QPU receives a SIGTERM signcal

func (*FQPU) GetConfig

func (q *FQPU) GetConfig() (*pbQPU.ConfigResponse, error)

GetConfig implements the GetConfig API for the filter QPU

func (*FQPU) GetDataTransfer

func (q *FQPU) GetDataTransfer() float32

GetDataTransfer ...

func (*FQPU) Query

func (q *FQPU) Query(streamOut pbQPU.QPU_QueryServer, requestRec *pbQPU.RequestStream) error

Query implements the Query API for the filter QPU

Jump to

Keyboard shortcuts

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