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.stmt.TSetStmt}. */ 005public class TSetStmt extends TCustomSqlStatement { 006 private final Object vgetAssignments; 007 private final Object vgetSetStatementType; 008 private final Object vgetVariableName; 009 private final Object vgetVariableNameList; 010 private final Object vgetVariableValue; 011 private final Object vgetVariableValueList; 012 013 TSetStmt(Shape shape, int handle, Object[][] v) { 014 super(shape, handle, v); 015 Object[] mine = v[2]; 016 this.vgetAssignments = mine[0]; 017 this.vgetSetStatementType = mine[1]; 018 this.vgetVariableName = mine[2]; 019 this.vgetVariableNameList = mine[3]; 020 this.vgetVariableValue = mine[4]; 021 this.vgetVariableValueList = mine[5]; 022 } 023 024 public TPTNodeList getAssignments() { 025 return this.<TPTNodeList>slot(vgetAssignments); 026 } 027 028 public gudusoft.gsqlparser.ESetStatementType getSetStatementType() { 029 return this.<gudusoft.gsqlparser.ESetStatementType>slot(vgetSetStatementType); 030 } 031 032 public TObjectName getVariableName() { 033 return this.<TObjectName>slot(vgetVariableName); 034 } 035 036 public TObjectNameList getVariableNameList() { 037 return this.<TObjectNameList>slot(vgetVariableNameList); 038 } 039 040 public TExpression getVariableValue() { 041 return this.<TExpression>slot(vgetVariableValue); 042 } 043 044 public TExpressionList getVariableValueList() { 045 return this.<TExpressionList>slot(vgetVariableValueList); 046 } 047}