001package gudusoft.gsqlparser.stmt.redshift; 002 003import gudusoft.gsqlparser.EDbVendor; 004import gudusoft.gsqlparser.ESqlStatementType; 005import gudusoft.gsqlparser.TCustomSqlStatement; 006import gudusoft.gsqlparser.nodes.TParseTreeVisitor; 007 008 009public class TRedshiftCommit extends TCustomSqlStatement { 010 011 public TRedshiftCommit(EDbVendor dbvendor) { 012 super(dbvendor); 013 sqlstatementtype = ESqlStatementType.sstredshiftCommit; 014 } 015 016 public int doParseStatement(TCustomSqlStatement psql) { 017 if (rootNode == null) return -1; 018 super.doParseStatement(psql); 019 020 return 0; 021 } 022 023 public void accept(TParseTreeVisitor v){ 024 v.preVisit(this); 025 v.postVisit(this); 026 } 027 028 public void acceptChildren(TParseTreeVisitor v){ 029 v.preVisit(this); 030 v.postVisit(this); 031 } 032 033 034 035}