compile

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package compile provides DQL-to-shape compilation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompileError

type CompileError struct {
	Diagnostics []*dqlshape.Diagnostic
}

CompileError represents one or more compilation diagnostics.

func (*CompileError) Error

func (e *CompileError) Error() string

type DQLCompiler

type DQLCompiler struct{}

DQLCompiler compiles raw DQL into a shape plan that can be materialized by shape/load.

func New

func New() *DQLCompiler

New returns a DQL compiler implementation.

func (*DQLCompiler) Compile

func (c *DQLCompiler) Compile(_ context.Context, source *shape.Source, opts ...shape.CompileOption) (*shape.PlanResult, error)

Compile implements shape.DQLCompiler.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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