public class SqlBooleanTerm extends SqlCondition
content, nextCondition
ASEXPRESSION, defaultClauseStringBuilderLength, defaultExpressionStringBuilderLength, defaultQueryStringBuilderLength, DELIMIT_ALIASES, DELIMIT_COLUMN_IDENTIFIERS, DELIMIT_TABLE_IDENTIFIERS, ESCAPE_DBL_QUOTES, ESCAPE_QUOTES, FLAGS_TAKEN, MINIINDENT, OMITALIAS, PACKED, QUALIFY_BY_TABLE, SINGLELINE, UNQUALIFIED
Constructor and Description |
---|
SqlBooleanTerm(Object expression)
Instantiates a new sql boolean term.
|
SqlBooleanTerm(Object expression,
SqlBooleanArithmeticCondition nextCondition)
Instantiates a new sql boolean term.
|
SqlBooleanTerm(Object expression,
SqlBooleanArithmeticCondition nextCondition,
boolean parenthesis)
Instantiates a new sql boolean term.
|
Modifier and Type | Method and Description |
---|---|
protected StringBuilder |
assemble(DbmsDMLAssembler<?> dmlAssembler,
StringBuilder sb,
int indentLevel,
int flags)
Assemble.
|
boolean |
isParenthesis()
Checks if is parenthesis.
|
SqlBooleanTerm |
setParenthesis(boolean parenthesis)
Sets the parenthesis.
|
AND, assembleIntern, assembleNextCondition, copy, copy, copy, getNextCondition, OR, toString
assembleAlias, assembleObject, assembleQuery, bitAsExpression, bitDelimitAliases, bitDelimitColumnIdentifiers, bitDelimitTableIdentifiers, bitEscapeDoubleQuotes, bitMiniIndent, bitOmitAlias, bitPacked, bitQualified, bitQualifyByTable, bitSingleLine, concat, concatSqlExpressions, EscapeQuotes, flagsToString, function, indent, isAsExpression, isDelimitAliases, isDelimitColumnIdentifiers, isDelimitTableIdentifiers, isEscapeDoubleQuotes, isEscapeQuotes, isMiniIndent, isOmitAlias, isPacked, isQualifyByTable, isSingleLine, isUnqualified, keyword, list, printFlags, setAsExpression, setDelimitAliases, setDelimitColumnIdentifiers, setDelimitTableIdentifiers, setEscapeDoubleQuotes, setEscapeQuotes, setMiniIndent, setPacked, setQualified, setQualifyByTable, setSingleLine, setUseAlias
public SqlBooleanTerm(Object expression)
expression
- the expressionpublic SqlBooleanTerm(Object expression, SqlBooleanArithmeticCondition nextCondition)
expression
- the expressionnextCondition
- the next conditionpublic SqlBooleanTerm(Object expression, SqlBooleanArithmeticCondition nextCondition, boolean parenthesis)
expression
- the expressionnextCondition
- the next conditionparenthesis
- the parenthesispublic boolean isParenthesis()
public SqlBooleanTerm setParenthesis(boolean parenthesis)
parenthesis
- the parenthesis to setprotected StringBuilder assemble(DbmsDMLAssembler<?> dmlAssembler, StringBuilder sb, int indentLevel, int flags)
QueryPart
assemble
in class SqlCondition
dmlAssembler
- sb
- indentLevel
- flags
- SqlCondition.assemble(com.xdev.jadoth.sqlengine.dbms.DbmsDMLAssembler, java.lang.StringBuilder, int, int)
Copyright © 2003–2021 XDEV Software. All rights reserved.