Class GFmtOpt
- Namespace
- gudusoft.gsqlparser.pp.para
- Assembly
- gudusoft.gsqlparser.dll
the format options
@author zhoujun
public class GFmtOpt
- Inheritance
-
GFmtOpt
- Inherited Members
Constructors
GFmtOpt(string)
public GFmtOpt(string sessionId)
Parameters
sessionIdstring
Fields
alignAliasInSelectList
public bool alignAliasInSelectList
Field Value
alignJoinWithFromKeyword
align 'join' keyword with 'from' keyword
public bool alignJoinWithFromKeyword
Field Value
andOrUnderWhere
in the where clause, the 'and' and 'or' keyword should under the 'where' keyword
public bool andOrUnderWhere
Field Value
beStyleBlockIndentSize
public int beStyleBlockIndentSize
Field Value
beStyleBlockLeftBEIndentSize
public int beStyleBlockLeftBEIndentSize
Field Value
beStyleBlockLeftBEOnNewline
public bool beStyleBlockLeftBEOnNewline
Field Value
beStyleBlockRightBEIndentSize
public int beStyleBlockRightBEIndentSize
Field Value
beStyleCreatetableLeftBEOnNewline
public bool beStyleCreatetableLeftBEOnNewline
Field Value
beStyleCreatetableRightBEOnNewline
public bool beStyleCreatetableRightBEOnNewline
Field Value
beStyleFunctionBodyIndent
public int beStyleFunctionBodyIndent
Field Value
beStyleFunctionFirstParamInNewline
public bool beStyleFunctionFirstParamInNewline
Field Value
beStyleFunctionLeftBEIndentSize
public int beStyleFunctionLeftBEIndentSize
Field Value
beStyleFunctionLeftBEOnNewline
public bool beStyleFunctionLeftBEOnNewline
Field Value
beStyleFunctionRightBEIndentSize
public int beStyleFunctionRightBEIndentSize
Field Value
beStyleFunctionRightBEOnNewline
public bool beStyleFunctionRightBEOnNewline
Field Value
beStyleIfElseSingleStmtIndentSize
public int beStyleIfElseSingleStmtIndentSize
Field Value
caseDatatype
public TCaseOption caseDatatype
Field Value
caseFuncname
public TCaseOption caseFuncname
Field Value
caseIdentifier
public TCaseOption caseIdentifier
Field Value
caseKeywords
public TCaseOption caseKeywords
Field Value
caseQuotedIdentifier
public TCaseOption caseQuotedIdentifier
Field Value
caseWhenThenInSameLine
public bool caseWhenThenInSameLine
Field Value
compactMode
public TCompactMode compactMode
Field Value
createtableFieldlistAlignOption
public TAlignOption createtableFieldlistAlignOption
Field Value
createtableListitemInNewLine
public bool createtableListitemInNewLine
Field Value
cteNewlineBeforeAs
public bool cteNewlineBeforeAs
Field Value
defaultAligntype
public TAlignStyle defaultAligntype
Field Value
defaultCommaOption
public TLinefeedsCommaOption defaultCommaOption
Field Value
emptyLines
public TEmptyLinesOption emptyLines
Field Value
fromClauseInNewLine
each column in the table names in the form clause should start with a new line.
public bool fromClauseInNewLine
Field Value
functionCallParametersComma
public TLinefeedsCommaOption functionCallParametersComma
Field Value
functionCallParametersStyle
public TAlignStyle functionCallParametersStyle
Field Value
indentCaseFromSwitch
public int indentCaseFromSwitch
Field Value
indentCaseThen
public int indentCaseThen
Field Value
indentLen
public int indentLen
Field Value
insertBlankLineInBatchSqls
public bool insertBlankLineInBatchSqls
Field Value
insertColumnlistStyle
the align style for the insert coloumn
public TAlignStyle insertColumnlistStyle
Field Value
insertValuelistStyle
the value style in insert statement
public TAlignStyle insertValuelistStyle
Field Value
lineWidth
public int lineWidth
Field Value
linebreakAfterDeclare
declare statement
public bool linebreakAfterDeclare
Field Value
linebreakBeforeParamInExec
used for execute statement
public bool linebreakBeforeParamInExec
Field Value
linenumberEnabled
public bool linenumberEnabled
Field Value
linenumberLeftMargin
public int linenumberLeftMargin
Field Value
linenumberRightMargin
public int linenumberRightMargin
Field Value
linenumberZeroBased
public bool linenumberZeroBased
Field Value
noEmptyLinesBetweenMultiSetStmts
public bool noEmptyLinesBetweenMultiSetStmts
Field Value
operateSourceToken
if it is true, the helper class will operate the source tokens. if not, the helper class will ignore the opearation request
public bool operateSourceToken
Field Value
outputFmt
public GOutputFmt outputFmt
Field Value
parametersComma
public TLinefeedsCommaOption parametersComma
Field Value
parametersStyle
public TAlignStyle parametersStyle
Field Value
removeComment
public bool removeComment
Field Value
selectColumnlistComma
the comma style in select statement
public TLinefeedsCommaOption selectColumnlistComma
Field Value
selectColumnlistStyle
the align style for the select coloumn
public TAlignStyle selectColumnlistStyle
Field Value
selectFromclauseComma
the comma style in the from clause
public TLinefeedsCommaOption selectFromclauseComma
Field Value
selectFromclauseJoinOnInNewline
the join clause should start with a new line.
public bool selectFromclauseJoinOnInNewline
Field Value
selectFromclauseStyle
the table name style in the from clause
public TAlignStyle selectFromclauseStyle
Field Value
selectItemInNewLine
each column in the select statement should append a new line.
public bool selectItemInNewLine
Field Value
selectKeywordsAlignOption
public TAlignOption selectKeywordsAlignOption
Field Value
sessionId
the session id. each thread can own only one id.
public readonly string sessionId
Field Value
tabHtmlString
public string tabHtmlString
Field Value
tabSize
public int tabSize
Field Value
treatDistinctAsVirtualColumn
public bool treatDistinctAsVirtualColumn
Field Value
useTab
public bool useTab
Field Value
wsPaddingOperatorArithmetic
public bool wsPaddingOperatorArithmetic
Field Value
wsPaddingParenthesesInExpression
public bool wsPaddingParenthesesInExpression
Field Value
wsPaddingParenthesesInFunction
public bool wsPaddingParenthesesInFunction
Field Value
wsPaddingParenthesesInFunctionCall
public bool wsPaddingParenthesesInFunctionCall
Field Value
wsPaddingParenthesesOfSubQuery
public bool wsPaddingParenthesesOfSubQuery
Field Value
wsPaddingParenthesesOfTypename
public bool wsPaddingParenthesesOfTypename