handler

package
v0.0.0-...-f6228b6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrowFlightHandler

type ArrowFlightHandler interface {
	DoGet(ctx context.Context, table *Table, r chan<- arrow.Record) error
	DoPut(ctx context.Context, r arrow.Record) error
	LookupTable(ctx context.Context, tableName string) (*Table, error)
}

type CloudQueryHandler

type CloudQueryHandler interface {
	MigrateTable(ctx context.Context, msg message.WriteMigrateTables) error
	DeleteRecord(ctx context.Context, msg message.WriteDeleteRecords) error
	DeleteStale(ctx context.Context, msg message.WriteDeleteStales) error
}

type Handler

type Handler struct {
	CloudQueryHandler
	ArrowFlightHandler
}

type Table

type Table struct {
	Name   string
	Schema *arrow.Schema
}

Jump to

Keyboard shortcuts

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