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