public final class PathV1 extends Object
sqllr-path-1 (lineage-spec/algorithms/path-v1.md,
Section 4): the grammar, the registered step codes, which step may follow which, and the steps whose index
is always 0. Which steps a statement emits needs the parse tree and belongs to the producer.
The reference is path_v1_violations of sqllr_ids.py.
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
ROOTS
The steps that may start a path.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
children(String code,
String parent)
The step codes PATH-V1 admits directly below
code, whose own parent step is parent. |
static List<String> |
violations(Object value)
The rules of PATH-V1 that a path text breaks: the grammar, the registered step codes, the nesting and the
fixed indexes.
|
public static List<String> children(String code, String parent)
code, whose own parent step is parent.public static List<String> violations(Object value)