Help us shape the future of Go! Take the 2026 Go Developer Survey

dataflow

package
v0.12.813 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection added in v0.5.375

type Collection interface {
	AddOrUpdateEdge(
		source Vertex,
		dest Vertex,
		comparisonExpr *sqlparser.ComparisonExpr,
		sourceExpr sqlparser.Expr,
		destColumn *sqlparser.ColName) error
	AddVertex(v Vertex)
	GetAllUnits() ([]Unit, error)
	GetNextID() int64
	InDegree(v Vertex) int
	OutDegree(v Vertex) int
	Sort() error
	Vertices() []Vertex
	UpsertStandardDataFlowVertex(taxonomy.AnnotationCtx, sqlparser.TableExpr) Vertex

	GetSplitAnnotationContextMap() taxonomy.AnnotationCtxSplitMap
	WithSplitAnnotationContextMap(taxonomy.AnnotationCtxSplitMap) Collection
	// contains filtered or unexported methods
}

Collection is the DAG representing.

func NewStandardDataFlowCollection

func NewStandardDataFlowCollection(cfg dto.DataFlowCfg) Collection

type Edge added in v0.5.375

type Edge interface {
	graph.WeightedEdge
	AddRelation(Relation)
	GetColumnDescriptors() ([]formulation.ColumnDescriptor, error)
	GetDest() Vertex
	GetProjection() (map[string]string, error)
	GetSelectExprs() (sqlparser.SelectExprs, error)
	HasSourceAttribute(attr string) bool
	GetSource() Vertex
	IsSQL() bool
}

type Relation added in v0.5.375

type Relation interface {
	GetProjection() (string, string, error)
	GetSelectExpr() (sqlparser.SelectExpr, error)
	GetColumnDescriptor() (formulation.ColumnDescriptor, error)
	GetDestColumnName() string
	IsSQL() bool
}

func NewStandardDataFlowRelation

func NewStandardDataFlowRelation(
	comparisonExpr *sqlparser.ComparisonExpr,
	destColumn *sqlparser.ColName,
	sourceExpr sqlparser.Expr,
) Relation

type Unit added in v0.5.375

type Unit interface {
	// contains filtered or unexported methods
}

type Vertex added in v0.5.375

type Vertex interface {
	graph.Node
	Unit
	GetAnnotation() taxonomy.AnnotationCtx
	GetEquivalencyGroup() int64
	SetEquivalencyGroup(id int64)
	GetTableExpr() sqlparser.TableExpr
}

type WeaklyConnectedComponent added in v0.5.375

type WeaklyConnectedComponent interface {
	Unit
	AddEdge(Edge)
	Analyze() error
	GetEdges() ([]Edge, error)
	GetOrderedNodes() ([]Vertex, error)
	PushBack(Vertex)
}

func NewStandardDataFlowWeaklyConnectedComponent

func NewStandardDataFlowWeaklyConnectedComponent(
	collection *standardDataFlowCollection,
	root graph.Node,
) WeaklyConnectedComponent

Jump to

Keyboard shortcuts

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