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 Relation ¶ added in v0.5.375
type Relation interface {
GetProjection() (string, string, error)
GetSelectExpr() (sqlparser.SelectExpr, error)
GetColumnDescriptor() (anysdk.ColumnDescriptor, error)
GetDestColumnName() string
IsSQL() bool
}
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
Click to show internal directories.
Click to hide internal directories.