Uses of Class
gudusoft.gsqlparser.pp.para.GFmtOpt

Packages that use GFmtOpt
gudusoft.gsqlparser.pp.output   
gudusoft.gsqlparser.pp.output.html   
gudusoft.gsqlparser.pp.para   
gudusoft.gsqlparser.pp.processor   
gudusoft.gsqlparser.pp.processor.type.comm   
gudusoft.gsqlparser.pp.stmtformatter   
gudusoft.gsqlparser.pp.stmtformatter.builder   
gudusoft.gsqlparser.pp.stmtformatter.builder.comm   
gudusoft.gsqlparser.pp.stmtformatter.type   
gudusoft.gsqlparser.pp.stmtformatter.type.comm   
gudusoft.gsqlparser.pp.utils   
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.output
 

Methods in gudusoft.gsqlparser.pp.output with parameters of type GFmtOpt
static OutputConfig OutputConfigFactory.getOutputConfig(GFmtOpt option, EDbVendor dbVendor)
           
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.output.html
 

Constructors in gudusoft.gsqlparser.pp.output.html with parameters of type GFmtOpt
HtmlOutputConfig(GFmtOpt option, EDbVendor dbVendor)
           
HtmlRenderUtil(HtmlOutputConfig config, GFmtOpt option, EDbVendor dbVendor)
           
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.para
 

Methods in gudusoft.gsqlparser.pp.para that return GFmtOpt
static GFmtOpt GFmtOptFactory.newInstance()
           
static GFmtOpt GFmtOptFactory.newInstance(java.lang.String sessionId)
          create an new instance
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.processor
 

Methods in gudusoft.gsqlparser.pp.processor with parameters of type GFmtOpt
static AppendNewLineAfterAndBeforeReverseKeyWordProcessor ProcessorFactory.appendNewLineAfterAndBeforeReverseKeyWordProcessor(GFmtOpt option, boolean inNewLine, java.lang.String startKeyword, java.lang.String endKeyword)
          create the keyword in new line processor
static AppendNewLineAfterReverseKeyWordProcessor ProcessorFactory.appendNewLineAfterReverseKeyWordProcessor(GFmtOpt option, boolean isItemInNewLine, java.lang.String keyword)
          create the new line processor for item list
static
<E extends AbstractProcessor>
E
ProcessorFactory.create(java.lang.Class<E> type, GFmtOpt option, java.lang.Object... parameters)
          create a instance
static AlignAliasProcessor ProcessorFactory.createAlignAliasProcessor(GFmtOpt option, boolean option2, TAlignStyle style)
          create the alias processor
static AlterTableOptionItemAlignProcessor ProcessorFactory.createAlterTableOptionAlignProcessor(GFmtOpt option, boolean inNewLine)
           
static AppendLineAfterInsertTableNameProcessor ProcessorFactory.createAppendLineAfterInsertTableNameProcessor(GFmtOpt option)
          create the processor used to append an new line after the table name
static AppendNewLineBeforeKeyWordProcessor ProcessorFactory.createAppendNewLineBeforeKeyWordProcessor(GFmtOpt option, boolean inNewLine, java.lang.String keyword, boolean completely)
           
static AppendNewLineBeforeReverseKeyWordProcessor ProcessorFactory.createAppendNewLineBeforeReverseKeyWordProcessor(GFmtOpt option, boolean inNewLine, java.lang.String keyword)
          create the processor used to append new line before the keyword
static CapitalisationProcessor ProcessorFactory.createCapitalisationProcessor(GFmtOpt option)
          create the processor used to capitalize the text
static CaseWhenProcessor ProcessorFactory.createCaseWhenProcessor(GFmtOpt option, java.lang.Boolean caseWhenThenInSameLine, java.lang.Integer indentCaseFromSwitch)
          create the processor used to process the 'case when' paramters
static ColumnlistCommaProcessor ProcessorFactory.createColumnlistCommaProcessor(GFmtOpt option, TLinefeedsCommaOption commaOption, TAlignStyle option2)
          create the comma processor
static CombineWhitespaceAndClearReturnProcessor ProcessorFactory.createCombineWhitespaceAndClearReturnProcessor(GFmtOpt opt)
           
static CreateFuncFirstParamInNewlineProcessor ProcessorFactory.createCreateFuncFirstParamInNewlineProcessor(GFmtOpt opt, java.lang.Boolean beStyleFunctionFirstParamInNewline)
           
static CreateFuncLeftBEProcessor ProcessorFactory.createCreateFuncLeftBEProcessor(GFmtOpt opt, java.lang.Boolean beStyleFunctionLeftBEOnNewline, java.lang.Integer beStyleFunctionLeftBEIndentSize)
           
static CreateFuncReturnsTableProcessor ProcessorFactory.createCreateFuncReturnsTableProcessor(GFmtOpt opt)
           
static CreateFuncRightBEProcessor ProcessorFactory.createCreateFuncRightBEProcessor(GFmtOpt opt, java.lang.Boolean beStyleFunctionRightBEOnNewline, java.lang.Integer beStyleFunctionRightBEIndentSize)
           
static CreateFuncWSPaddingParenthesesProcessor ProcessorFactory.createCreateFuncWSPaddingParenthesesProcessor(GFmtOpt opt)
           
static CreateTableBEInNewLineProcessor ProcessorFactory.createCreateTableBEInNewLineProcessor(GFmtOpt option, java.lang.Boolean leftBEOnNewline, java.lang.Boolean rightBeOnNewline, java.lang.Boolean itemListInNewLine)
          create the processor used to insert new line after the parenthesis
static CreateTableConstraintAlignProcessor ProcessorFactory.createCreateTableConstraintAlignProcessor(GFmtOpt option)
           
static CreateTableItemAlignProcessor ProcessorFactory.createCreateTableItemAlignProcessor(GFmtOpt option, TAlignOption alignOption)
          create the processor used to align the items
static CreateViewReturnProcessor ProcessorFactory.createCreateViewReturnProcessor(GFmtOpt opt)
           
static CTEProcessor ProcessorFactory.createCTEProcessor(GFmtOpt option, java.lang.Boolean cteNewlineBeforeAs)
           
static DeclareVarItemAlignProcessor ProcessorFactory.createDeclareVarItemAlignProcessor(GFmtOpt option)
          used to align the variable names
static DeleteKeyWordAlignProcessor ProcessorFactory.createDeleteKeyWordAlignProcessor(GFmtOpt option)
          create the processor used to align the keywords in the delete statement
static DistinctKeyWordProcessor ProcessorFactory.createDistinctKeyWordProcessor(GFmtOpt option, boolean isTreatDistinctAsVirtualColumn)
          create the distinct keyword processor
static ExecParaNewLineProcessor ProcessorFactory.createExecParaNewLineProcessor(GFmtOpt opt, java.lang.Boolean linebreakBeforeParamInExec)
           
static ExpressionProcessor ProcessorFactory.createExpressionProcessor(GFmtOpt option)
          create the expression processor for all statements
static ExpressionProcessor ProcessorFactory.createExpressionProcessor(GFmtOpt option, java.lang.Boolean isAndUnderWhere)
           
static IfStmtBEProcessor ProcessorFactory.createIfStmtBEProcessor(GFmtOpt opt)
           
static InsertKeyWordAlignProcessor ProcessorFactory.createInsertKeyWordAlignProcessor(GFmtOpt option)
          create the processor used to align the keywords in insert statement
static InsertOutputClauseProcessor ProcessorFactory.createInsertOutputClauseProcessor(GFmtOpt opt)
           
static InsertValuesParenthsesAdjustProcessor ProcessorFactory.createInsertValuesParenthsesAdjustProcessor(GFmtOpt option)
          create the processor used to adjust the left parenthesis
static JoinOnProcessor ProcessorFactory.createJoinOnProcessor(GFmtOpt option, boolean selectFromclauseJoinOnInNewline, boolean alignJoinWithFromKeyword)
          create the join on processor for the select statement
static ReturnStmtProcessor ProcessorFactory.createReturnStmtProcessor(GFmtOpt opt)
           
static SelectKeyWordAlignProcessor ProcessorFactory.createSelectKeyWordAlignProcessor(GFmtOpt option)
          create the processor used to align the keywords in select statement
static UnionProcessor ProcessorFactory.createUnionProcessor(GFmtOpt option)
          create the union processor for the select statement
static UpdateKeyWordAlignProcessor ProcessorFactory.createUpdateKeyWordAlignProcessor(GFmtOpt option)
          create the processor used to align the keywords in the update statement
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.processor.type.comm
 

Methods in gudusoft.gsqlparser.pp.processor.type.comm that return GFmtOpt
 GFmtOpt AbstractProcessor.getOption()
          get all the format option
 

Methods in gudusoft.gsqlparser.pp.processor.type.comm with parameters of type GFmtOpt
 void AbstractProcessor.init(GFmtOpt option, java.lang.Object... parameters)
          the init method
static void ColumnlistCommaProcessor.processColumns(GFmtOpt opt, TLinefeedsCommaOption p, TAlignStyle alignStype, TParseTreeNodeList columns)
           
static void ExpressionProcessor.processParenthesesNodeInSubQuery(GFmtOpt option, TCustomSqlStatement sql, TSourceToken leftParenthesis, TSourceToken rightParenthsis)
           
static void ExpressionProcessor.processTypeName(GFmtOpt option, TTypeName type)
           
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.stmtformatter
 

Methods in gudusoft.gsqlparser.pp.stmtformatter with parameters of type GFmtOpt
static AllStmtsFormatter FormatterFactory.createAllStmtsFormatter(GFmtOpt option)
           
static AlterTableStmtFormatter FormatterFactory.createAlterTableStatement(GFmtOpt opt)
           
static CompactModeStmtFormatter FormatterFactory.createCompactModeStmtFormatter(GFmtOpt opt)
           
static CreateFunctionStmtFormatter FormatterFactory.createCreateFunctionStmtFormatter(GFmtOpt opt)
           
static CreateTableStmtFormatter FormatterFactory.createCreateTableStmtFormatter(GFmtOpt opt)
           
static CreateViewStmtFormatter FormatterFactory.createCreateViewStmtFormatter(GFmtOpt opt)
           
static DeclareStmtFormatter FormatterFactory.createDeclareStmtFormatter(GFmtOpt opt)
           
static DeleteStmtFormatter FormatterFactory.createDeleteStmtFormatter(GFmtOpt opt)
           
static ExecuteStmtFormatter FormatterFactory.createExecuteStmtFormatter(GFmtOpt opt)
           
static
<E extends AbstractStmtFormatter>
E
FormatterFactory.createFormatter(GFmtOpt opt, java.lang.Class<E> clazz, FormatterFactory.IFormatterBuilderCreator<E> creater)
          create the formatter
static GoStmtFormatter FormatterFactory.createGoStmtFormatter(GFmtOpt opt)
           
static IfStmtFormatter FormatterFactory.createIfStmtFormatter(GFmtOpt opt)
           
static InsertStmtFormatter FormatterFactory.createInsertStmtFormatter(GFmtOpt opt)
           
static ReturnStmtFormatter FormatterFactory.createReturnStmtFormatter(GFmtOpt opt)
           
static SelectStmtFormatter FormatterFactory.createSelectStmtFormatter(GFmtOpt opt)
          create select statment formatter
static SetStmtFormatter FormatterFactory.createSetStmtFormatter(GFmtOpt opt)
           
static UpdateStmtFormatter FormatterFactory.createUpdateStmtFormatter(GFmtOpt opt)
           
 java.lang.String SqlFormatter.format(TGSqlParser parser, GFmtOpt option)
           
static java.lang.String FormatterFactory.pp(TGSqlParser parser, GFmtOpt option)
           
static void FormatterFactory.processBlockStmt(GFmtOpt opt, TMssqlBlock stmt, TSourceToken ifToken)
           
static void FormatterFactory.processStatement(GFmtOpt option, TCustomSqlStatement sql)
           
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.stmtformatter.builder
 

Methods in gudusoft.gsqlparser.pp.stmtformatter.builder that return GFmtOpt
 GFmtOpt AbstractStmtFormatterBuilder.getOption()
           
 

Methods in gudusoft.gsqlparser.pp.stmtformatter.builder with parameters of type GFmtOpt
 void AbstractStmtFormatterBuilder.setOption(GFmtOpt option)
           
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.stmtformatter.builder.comm
 

Methods in gudusoft.gsqlparser.pp.stmtformatter.builder.comm with parameters of type GFmtOpt
static AllStmtsFormatter AllStmtsFormatterBuilder.create(GFmtOpt option)
           
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.stmtformatter.type
 

Methods in gudusoft.gsqlparser.pp.stmtformatter.type that return GFmtOpt
 GFmtOpt AbstractAllStmtsFormatter.getOption()
           
 GFmtOpt AbstractStmtFormatter.getOption()
           
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.stmtformatter.type.comm
 

Methods in gudusoft.gsqlparser.pp.stmtformatter.type.comm with parameters of type GFmtOpt
static void AllStmtsFormatter.processEmptyLine(TStatementList stmts, GFmtOpt opt, boolean isInBlock)
           
 

Uses of GFmtOpt in gudusoft.gsqlparser.pp.utils
 

Methods in gudusoft.gsqlparser.pp.utils with parameters of type GFmtOpt
static void SourceTokenOperator.addAfter(GFmtOpt opt, TSourceToken targetToken, TSourceToken needAddToken)
           
static void SourceTokenOperator.addBefore(GFmtOpt opt, TSourceToken targetToken, TSourceToken needAddToken)
          insert the source token before the target source token
static void SourceTokenOperator.removeAllBeforeTokenVT(GFmtOpt opt, TSourceToken targetToken)
          remove all source token in the before source token list VT is the abbr for "virtual token" (that this method will operates before tokens, after tokens and replace token)
static void SourceTokenOperator.removeWhitespaceAndReturn(GFmtOpt opt, TSourceTokenList list, int start, int end)
          remove the white space and the return token
static void SourceTokenOperator.removeWhitespaceAndReturnFormBeforeAndAfter(GFmtOpt opt, TSourceToken token)
          remove the white space and the return token before this token and after this token
static int SourceTokenOperator.removeWhitespaceAndReturnFromEnd(GFmtOpt opt, TSourceToken token)
          remove the white space and the return token from the end
static int SourceTokenOperator.removeWhitespaceAndReturnFromEnd(GFmtOpt opt, TSourceTokenList list, int end)
          remove the white space and the return token from the end
static int SourceTokenOperator.removeWhitespaceAndReturnFromStart(GFmtOpt opt, TSourceTokenList list, int startPos)
          remove the white space and the return token from the end
static int SourceTokenOperator.removeWhitespaceBackward(GFmtOpt opt, TSourceTokenList list, int end)