public final class ContractEdge extends Object
Edge (lineage2-contract.md §4) — the atomic lineage
assertion: source endpoint influences target endpoint in manner
role.
source is nullable exclusively for role: DERIVED
(constant-only / synthesized targets); the identity layer treats a null
source as empty strings for all source components per rev-3
normalization. rowLevel is derived: true iff
axis == ROW.
Internal API: not part of the public gsqlparser surface.
| Modifier and Type | Class and Description |
|---|---|
static class |
ContractEdge.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ContractEdge.Builder |
builder() |
LineageAxis |
getAxis() |
CaseBranch |
getCaseBranch()
Nullable.
|
double |
getConfidence() |
EvaluationModel |
getEvaluationModel() |
EdgeIdentity |
getIdentity() |
LineageRole |
getRole() |
Endpoint |
getSource()
Nullable exclusively for
role: DERIVED. |
int |
getStatementIndex() |
Endpoint |
getTarget() |
Transformation |
getTransformation()
Nullable — omitted on pure-copy DIRECT edges.
|
boolean |
isDynamic() |
boolean |
isRowLevel()
Contract invariant:
rowLevel is true iff axis is ROW. |
public static ContractEdge.Builder builder()
public LineageRole getRole()
public LineageAxis getAxis()
public EvaluationModel getEvaluationModel()
public boolean isRowLevel()
rowLevel is true iff axis is ROW.public CaseBranch getCaseBranch()
public boolean isDynamic()
public double getConfidence()
public int getStatementIndex()
public Transformation getTransformation()
public EdgeIdentity getIdentity()