Modifier and Type | Method and Description |
---|---|
static OutputConfig |
OutputConfigFactory.getOutputConfig(GFmtOpt option,
EDbVendor dbVendor) |
Constructor and Description |
---|
HtmlOutputConfig(GFmtOpt option,
EDbVendor dbVendor) |
HtmlRenderUtil(HtmlOutputConfig config,
GFmtOpt option,
EDbVendor dbVendor) |
Modifier and Type | Method and Description |
---|---|
static GFmtOpt |
GFmtOptFactory.newInstance() |
static GFmtOpt |
GFmtOptFactory.newInstance(String sessionId)
create an new instance
|
Modifier and Type | Method and Description |
---|---|
static AppendNewLineAfterAndBeforeReverseKeyWordProcessor |
ProcessorFactory.appendNewLineAfterAndBeforeReverseKeyWordProcessor(GFmtOpt option,
boolean inNewLine,
String startKeyword,
String endKeyword)
create the keyword in new line processor
|
static AppendNewLineAfterReverseKeyWordProcessor |
ProcessorFactory.appendNewLineAfterReverseKeyWordProcessor(GFmtOpt option,
boolean isItemInNewLine,
String keyword)
create the new line processor for item list
|
static <E extends AbstractProcessor> |
ProcessorFactory.create(Class<E> type,
GFmtOpt option,
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 AppendLineAfterMergeTableNameProcessor |
ProcessorFactory.createAppendLineAfterMergeTableNameProcessor(GFmtOpt option) |
static AppendNewLineBeforeKeyWordProcessor |
ProcessorFactory.createAppendNewLineBeforeKeyWordProcessor(GFmtOpt option,
boolean inNewLine,
String keyword,
boolean completely) |
static AppendNewLineBeforeReverseKeyWordProcessor |
ProcessorFactory.createAppendNewLineBeforeReverseKeyWordProcessor(GFmtOpt option,
boolean inNewLine,
String keyword)
create the processor used to append new line before the keyword
|
static AbstractProcessor<TBlockSqlStatement> |
ProcessorFactory.createBeginAndEndProcessor(GFmtOpt opt) |
static CapitalisationProcessor |
ProcessorFactory.createCapitalisationProcessor(GFmtOpt option)
create the processor used to capitalize the text
|
static CaseWhenProcessor |
ProcessorFactory.createCaseWhenProcessor(GFmtOpt option,
Boolean caseWhenThenInSameLine,
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,
Boolean beStyleFunctionFirstParamInNewline) |
static CreateFuncLeftBEProcessor |
ProcessorFactory.createCreateFuncLeftBEProcessor(GFmtOpt opt,
Boolean beStyleFunctionLeftBEOnNewline,
Integer beStyleFunctionLeftBEIndentSize) |
static CreateFuncReturnsTableProcessor |
ProcessorFactory.createCreateFuncReturnsTableProcessor(GFmtOpt opt) |
static CreateFuncRightBEProcessor |
ProcessorFactory.createCreateFuncRightBEProcessor(GFmtOpt opt,
Boolean beStyleFunctionRightBEOnNewline,
Integer beStyleFunctionRightBEIndentSize) |
static CreateFuncWSPaddingParenthesesProcessor |
ProcessorFactory.createCreateFuncWSPaddingParenthesesProcessor(GFmtOpt opt) |
static CreateTableBEInNewLineProcessor |
ProcessorFactory.createCreateTableBEInNewLineProcessor(GFmtOpt option,
Boolean leftBEOnNewline,
Boolean rightBeOnNewline,
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,
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,
Boolean linebreakBeforeParamInExec) |
static ExpressionProcessor |
ProcessorFactory.createExpressionProcessor(GFmtOpt option)
create the expression processor for all statements
|
static ExpressionProcessor |
ProcessorFactory.createExpressionProcessor(GFmtOpt option,
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 MergeKeyWordAlignProcessor |
ProcessorFactory.createMergeKeyWordAlignProcessor(GFmtOpt option) |
static MergeWhenClauseProcessor |
ProcessorFactory.createMergeWhenClauseProcessor(GFmtOpt option) |
static AbstractProcessor<TIfStmt> |
ProcessorFactory.createPlsqlIfStmtBEProcessor(GFmtOpt opt) |
static ReturnStmtProcessor |
ProcessorFactory.createReturnStmtProcessor(GFmtOpt opt) |
static SelectKeyWordAlignProcessor |
ProcessorFactory.createSelectKeyWordAlignProcessor(GFmtOpt option)
create the processor used to align the keywords in select statement
|
static AbstractProcessor<TStatementList> |
ProcessorFactory.createStmtListProcessor(GFmtOpt opt,
String alignKeyword) |
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
|
Modifier and Type | Method and Description |
---|---|
GFmtOpt |
AbstractProcessor.getOption()
get all the format option
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractProcessor.init(GFmtOpt option,
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) |
Constructor and Description |
---|
SQLion(EDbVendor vendor,
GFmtOpt option) |
Modifier and Type | Method and Description |
---|---|
GFmtOpt |
AbstractStmtFormatterBuilder.getOption() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractStmtFormatterBuilder.setOption(GFmtOpt option) |
Modifier and Type | Method and Description |
---|---|
static AllStmtsFormatter |
AllStmtsFormatterBuilder.create(GFmtOpt option) |
Modifier and Type | Method and Description |
---|---|
GFmtOpt |
AbstractAllStmtsFormatter.getOption() |
GFmtOpt |
AbstractStmtFormatter.getOption() |
Modifier and Type | Method and Description |
---|---|
static void |
AllStmtsFormatter.processEmptyLine(TStatementList stmts,
GFmtOpt opt,
boolean isInBlock) |
Modifier and Type | Method and Description |
---|---|
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) |