rust_bridge

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFlattenColumnedEntity = errors.New("empty column entity input")
	ErrIndexEntity           = errors.New("empty entity index")
)

Functions

func AddQuickFilter

func AddQuickFilter(flightName string, id uint64, data []byte) error

func BuildIndexFromColumnizedEntities

func BuildIndexFromColumnizedEntities(entities []*codec.ColumnedEntity) ([]byte, error)

func Exchange

func Exchange(dir string, exchange *flight.FlightData, transientID uint64, data []byte, streaming bool, onFlightData func([]byte, []byte) bool) (*flight.FlightData, error)

exchange local data

func QueryCluster

func QueryCluster(dir string, stmt *ssql.Statement, hosts []string, local int,
	transientID uint64, transientBuf []byte, logger nats.Logger) ([]byte, error)

func QueryLocal

func QueryLocal(dir string, stmt *ssql.Statement, transientID uint64, transientBuf []byte, logger nats.Logger) ([]byte, error)

func SplitIndexQuickFilter

func SplitIndexQuickFilter(data []byte) ([]byte, []byte)

/ returns quick filter and index

func StatementToArrowSchema

func StatementToArrowSchema(stmt *ssql.Statement, logger nats.Logger) ([]byte, error)

Types

type Callback

type Callback struct {
	// Send should return true on failure, false otherwise
	Send func(header, body []byte) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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