public final class FoldLabel extends Object
algorithms/fold-v1.md, Section 5.1): VALUE, or ROW with a
role. Labels compose with compose(gudusoft.gsqlparser.lineage.v2.fold.FoldLabel); VALUE is the identity.| Modifier and Type | Field and Description |
|---|---|
static FoldLabel |
VALUE
The label of a walk of
VALUE micro-edges only. |
| Modifier and Type | Method and Description |
|---|---|
FoldLabel |
compose(FoldLabel next)
this · next: Section 5.1 of fold-v1. |
boolean |
equals(Object other) |
String |
getKind()
VALUE or ROW. |
String |
getRole()
The role of a
ROW label; null for VALUE. |
int |
hashCode() |
boolean |
isValue() |
static FoldLabel |
of(Object kind,
Object role)
The label of one micro-edge or Fact:
VALUE for kind VALUE, otherwise ROW(role). |
static FoldLabel |
row(String role)
ROW(role); a null role stands for a role that is absent. |
String |
toString() |