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.TCreateTableSqlStatement}. */ 005public class TCreateTableSqlStatement extends TCustomSqlStatement { 006 private final Object vgetCloneSourceTable; 007 private final Object vgetColumnList; 008 private final Object vgetLikeTableName; 009 private final Object vgetStageLocation; 010 private final Object vgetSubQuery; 011 private final Object vgetTableKinds; 012 private final Object vgetTableLocation; 013 private final Object vgetTableName; 014 private final Object vgetTableOptions; 015 private final Object visExternal; 016 private final Object visIfNotExists; 017 018 TCreateTableSqlStatement(Shape shape, int handle, Object[][] v) { 019 super(shape, handle, v); 020 Object[] mine = v[2]; 021 this.vgetCloneSourceTable = mine[0]; 022 this.vgetColumnList = mine[1]; 023 this.vgetLikeTableName = mine[2]; 024 this.vgetStageLocation = mine[3]; 025 this.vgetSubQuery = mine[4]; 026 this.vgetTableKinds = mine[5]; 027 this.vgetTableLocation = mine[6]; 028 this.vgetTableName = mine[7]; 029 this.vgetTableOptions = mine[8]; 030 this.visExternal = mine[9]; 031 this.visIfNotExists = mine[10]; 032 } 033 034 public TObjectName getCloneSourceTable() { 035 return this.<TObjectName>slot(vgetCloneSourceTable); 036 } 037 038 public TColumnDefinitionList getColumnList() { 039 return this.<TColumnDefinitionList>slot(vgetColumnList); 040 } 041 042 public TObjectName getLikeTableName() { 043 return this.<TObjectName>slot(vgetLikeTableName); 044 } 045 046 public TStageLocation getStageLocation() { 047 return this.<TStageLocation>slot(vgetStageLocation); 048 } 049 050 public TSelectSqlStatement getSubQuery() { 051 return this.<TSelectSqlStatement>slot(vgetSubQuery); 052 } 053 054 public java.util.EnumSet<gudusoft.gsqlparser.ETableKind> getTableKinds() { 055 return this.<java.util.EnumSet<gudusoft.gsqlparser.ETableKind>>slot(vgetTableKinds); 056 } 057 058 public TObjectName getTableLocation() { 059 return this.<TObjectName>slot(vgetTableLocation); 060 } 061 062 public TObjectName getTableName() { 063 return this.<TObjectName>slot(vgetTableName); 064 } 065 066 public java.util.List<TCreateTableOption> getTableOptions() { 067 return this.<java.util.List<TCreateTableOption>>slot(vgetTableOptions); 068 } 069 070 public boolean isExternal() { 071 return this.<Boolean>slot(visExternal); 072 } 073 074 public boolean isIfNotExists() { 075 return this.<Boolean>slot(visIfNotExists); 076 } 077}