public final class StarLinkMatcher extends Object
Column.starLinkMatcher(int) once per expansion, it decides the
matches the analyzer used to decide on the target link's folded display, with the same comparisons: a target link
matches a source link or model column under DlineageUtil.sameColumnNormalName(java.lang.String, java.lang.String), and is named by a model
column whose folded name equals its own folded display.
Internal contract of the lineage analyzer.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDisplacedIn(Column source)
Whether the star links of
source hold another identity's column under this link's folded display: a
column the grouping by display would take for this link's, and which, grouped by identity, is a different
column (PostgreSQL "Amount" where this link is amount). |
boolean |
isNamedBy(Column model)
Whether
model carries exactly this link's name. |
Object |
key()
The key this link is remembered by among the target links that already have an explicit source.
|
boolean |
matches(Column source,
int ordinal)
Whether the star link at
ordinal of source is this link's column. |
boolean |
matchesColumn(Column model)
Whether
model is this link's column, compared as the analyzer compared a model name. |
public boolean matches(Column source, int ordinal)
ordinal of source is this link's column.public boolean matchesColumn(Column model)
model is this link's column, compared as the analyzer compared a model name.public boolean isDisplacedIn(Column source)
source hold another identity's column under this link's folded display: a
column the grouping by display would take for this link's, and which, grouped by identity, is a different
column (PostgreSQL "Amount" where this link is amount). A star that holds it is not inferred to
hold this link's column as well; false while links are grouped by display, and for a label.public Object key()
Column.starLinkKey(int).