gudusoft.gsqlparser.pp.stmtformatter.type
Class AbstractAllStmtsFormatter

java.lang.Object
  extended by gudusoft.gsqlparser.pp.stmtformatter.type.AbstractAllStmtsFormatter
Direct Known Subclasses:
AllStmtsFormatter

public class AbstractAllStmtsFormatter
extends java.lang.Object

the formatter used to process all the statements

Author:
zhoujun

Constructor Summary
AbstractAllStmtsFormatter()
           
 
Method Summary
 void afterFormat(TStatementList stmt)
           
 void beforeFormat(TStatementList stmt)
           
 void doFormat(TStatementList stmt)
          override this method if need
 GFmtOpt getOption()
           
 java.lang.String getSessionId()
           
 void setSessionId(java.lang.String sessionId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAllStmtsFormatter

public AbstractAllStmtsFormatter()
Method Detail

getOption

public GFmtOpt getOption()

doFormat

public void doFormat(TStatementList stmt)
override this method if need

Parameters:
stmt -

beforeFormat

public void beforeFormat(TStatementList stmt)

afterFormat

public void afterFormat(TStatementList stmt)

getSessionId

public java.lang.String getSessionId()

setSessionId

public void setSessionId(java.lang.String sessionId)