001// GENERATED by ShapeGenerator from scripts/sqllr/shape/shape-spec.tsv (plan 09, slice 1b). Do not edit.
002package gudusoft.gsqlparser.lineage.v2.shape;
003
004/** Mirror of {@code gudusoft.gsqlparser.resolver2.model.ResolutionResult}. */
005public class ResolutionResult extends ShapeObject {
006    private final Object vgetAmbiguousSource;
007    private final Object vgetColumnSource;
008    private final Object visAmbiguous;
009    private final Object visExactMatch;
010    private final Object visNotFound;
011
012    ResolutionResult(Shape shape, int handle, Object[][] v) {
013        super(shape, handle);
014        Object[] mine = v[0];
015        this.vgetAmbiguousSource = mine[0];
016        this.vgetColumnSource = mine[1];
017        this.visAmbiguous = mine[2];
018        this.visExactMatch = mine[3];
019        this.visNotFound = mine[4];
020    }
021
022    public AmbiguousColumnSource getAmbiguousSource() {
023        return this.<AmbiguousColumnSource>slot(vgetAmbiguousSource);
024    }
025
026    public ColumnSource getColumnSource() {
027        return this.<ColumnSource>slot(vgetColumnSource);
028    }
029
030    public boolean isAmbiguous() {
031        return this.<Boolean>slot(visAmbiguous);
032    }
033
034    public boolean isExactMatch() {
035        return this.<Boolean>slot(visExactMatch);
036    }
037
038    public boolean isNotFound() {
039        return this.<Boolean>slot(visNotFound);
040    }
041}