flightwrap

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package flightwrap implements driver.PluginWrap: it turns a .so's raw registered source/sink factories into factories that serve the real driver over an in-process Arrow Flight server (internal/plugin/ flightserver) and hand back a Flight client adapter (internal/plugin) — the SAME contract a subprocess plugin speaks. A .so author's RegisterSource/RegisterSink code never changes; this package is only wired in by cmd/* right after driver.LoadPlugin's Init call.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrap

type Wrap struct{}

Wrap is the driver.PluginWrap implementation. The zero value is ready to use.

func (Wrap) WrapSink

func (Wrap) WrapSink(path string, real driver.SinkFactory) driver.SinkFactory

WrapSink returns a SinkFactory that builds the plugin's real sink, serves it over an in-process Flight server, and returns a Flight client adapter in its place.

func (Wrap) WrapSource

func (Wrap) WrapSource(path string, real driver.SourceFactory) driver.SourceFactory

WrapSource returns a SourceFactory that builds the plugin's real source, serves it over an in-process Flight server, and returns a Flight client adapter in its place.

Jump to

Keyboard shortcuts

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