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.nodes.TWindowDef}. */
005public class TWindowDef extends TParseTreeNode {
006    private final Object vgetName;
007    private final Object vgetOrderBy;
008    private final Object vgetPartitionClause;
009    private final Object vgetReferenceName;
010    private final Object vgetWindowFrame;
011    private final Object vgetWithinGroup;
012    private final Object visIncludingOverClause;
013
014    TWindowDef(Shape shape, int handle, Object[][] v) {
015        super(shape, handle, v);
016        Object[] mine = v[1];
017        this.vgetName = mine[0];
018        this.vgetOrderBy = mine[1];
019        this.vgetPartitionClause = mine[2];
020        this.vgetReferenceName = mine[3];
021        this.vgetWindowFrame = mine[4];
022        this.vgetWithinGroup = mine[5];
023        this.visIncludingOverClause = mine[6];
024    }
025
026    public TObjectName getName() {
027        return this.<TObjectName>slot(vgetName);
028    }
029
030    public TOrderBy getOrderBy() {
031        return this.<TOrderBy>slot(vgetOrderBy);
032    }
033
034    public TPartitionClause getPartitionClause() {
035        return this.<TPartitionClause>slot(vgetPartitionClause);
036    }
037
038    public TObjectName getReferenceName() {
039        return this.<TObjectName>slot(vgetReferenceName);
040    }
041
042    public TWindowFrame getWindowFrame() {
043        return this.<TWindowFrame>slot(vgetWindowFrame);
044    }
045
046    public TWithinGroup getWithinGroup() {
047        return this.<TWithinGroup>slot(vgetWithinGroup);
048    }
049
050    public boolean isIncludingOverClause() {
051        return this.<Boolean>slot(visIncludingOverClause);
052    }
053}