Package com.adbs.ast
Class SQLExpressionIfExpression
- java.lang.Object
-
- com.adbs.ast.AstNodeBase
-
- com.adbs.ast.AstExtender
-
- com.adbs.ast.AstNode
-
- com.adbs.ast.SQLExpressionItem
-
- com.adbs.ast.SQLExpressionIfExpression
-
- All Implemented Interfaces:
Disposable
public class SQLExpressionIfExpression extends SQLExpressionItem
-
-
Field Summary
Fields Modifier and Type Field Description SQLExpressionItem
condition
SQLExpressionItem
elseExpression
SQLExpressionItem
thenExpression
-
Fields inherited from class com.adbs.ast.AstNodeBase
data, sqlContext, usedDatabaseObjectColumns, usedDatabaseObjects
-
-
Constructor Summary
Constructors Constructor Description SQLExpressionIfExpression(BaseSQLContext sqlContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildSQLDirect(SQLBuilder builder, SQLBuilderSelectFormat format)
protected void
getASTFields(AstFieldList l)
-
Methods inherited from class com.adbs.ast.SQLExpressionItem
buildSQLCosmetic, clone, findExpressionItem, isLogical, removeLExpression, removeReferencesToDatasourceInternal, restoreLExpression
-
Methods inherited from class com.adbs.ast.AstNode
buildSQL, dispose, editProps, editPropsInternal, getExtender, getSimpleSQL, setExtender, updateExtender
-
Methods inherited from class com.adbs.ast.AstExtender
buildSQLForNode, editPropsForNode
-
Methods inherited from class com.adbs.ast.AstNodeBase
assertIsAlive, assign, buildASTField, buildASTField, calcStatistics, calcStatisticsRecursive, cloneInternal, findFirstChildIndexForClass, getAstFieldList, getMyChildren, getMyChildrenRecursive, getReferencedColumns, getReferencedColumnsRecursive, getReferencedDatasources, getReferencedDatasourcesRecursive, getSQLContext, getUsedDatabaseObjectColumns, getUsedDatabaseObjects, isAlive, moveSubQueryInProxy, moveSubQueryInProxyRecursive, prepareAndFixupRecursive, prepareAndFixupRecursive, prepareCalcStatistics, prepareCalcStatisticsRecursive, removeReferencesToDatasource, replaceReferencesToDatasource, replaceReferencesToDatasourceRecursive, restoreColumnPrefix, restoreColumnPrefixRecursive, simplifyTree, simplifyTreeRecursive, traverseASTTreeDepthFirst, traverseASTTreeSiblingFirst
-
-
-
-
Field Detail
-
condition
public SQLExpressionItem condition
-
thenExpression
public SQLExpressionItem thenExpression
-
elseExpression
public SQLExpressionItem elseExpression
-
-
Constructor Detail
-
SQLExpressionIfExpression
public SQLExpressionIfExpression(BaseSQLContext sqlContext)
-
-
Method Detail
-
getASTFields
protected void getASTFields(AstFieldList l)
- Overrides:
getASTFields
in classAstNode
-
buildSQLDirect
public void buildSQLDirect(SQLBuilder builder, SQLBuilderSelectFormat format)
- Overrides:
buildSQLDirect
in classAstNode
-
-