Package com.adbs.ast
Class SQLExpressionLogicalCollection
- java.lang.Object
-
- com.adbs.ast.AstNodeBase
-
- com.adbs.ast.AstExtender
-
- com.adbs.ast.AstNode
-
- com.adbs.ast.SQLExpressionItem
-
- com.adbs.ast.SQLExpressionItemWithList
-
- com.adbs.ast.SQLExpressionItemWithExpressionList
-
- com.adbs.ast.SQLExpressionLogicalCollection
-
- All Implemented Interfaces:
Disposable
- Direct Known Subclasses:
SQLExpressionAnd,SQLExpressionOr
public class SQLExpressionLogicalCollection extends SQLExpressionItemWithExpressionList
-
-
Field Summary
-
Fields inherited from class com.adbs.ast.AstNodeBase
data, sqlContext, usedDatabaseObjectColumns, usedDatabaseObjects
-
-
Constructor Summary
Constructors Constructor Description SQLExpressionLogicalCollection(BaseSQLContext sqlContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLExpressionItemfindExpressionItem(Wrapper<SQLExpressionItem> ei)booleanisLogical()voidremoveLExpression(SQLExpressionItem e)voidrestoreLExpression(SQLExpressionItem e)voidtakeItemsFrom(SQLExpressionLogicalCollection source, boolean addNot)-
Methods inherited from class com.adbs.ast.SQLExpressionItemWithExpressionList
add, extract, extract, get, set
-
Methods inherited from class com.adbs.ast.SQLExpressionItemWithList
add, assign, buildSQLDirect, clear, delete, delete, getCount, getMyChildren, indexOf, insert, remove, set, setCount
-
Methods inherited from class com.adbs.ast.SQLExpressionItem
buildSQLCosmetic, clone, removeReferencesToDatasourceInternal
-
Methods inherited from class com.adbs.ast.AstNode
buildSQL, dispose, editProps, editPropsInternal, getASTFields, getExtender, getSimpleSQL, setExtender, updateExtender
-
Methods inherited from class com.adbs.ast.AstExtender
buildSQLForNode, editPropsForNode
-
Methods inherited from class com.adbs.ast.AstNodeBase
assertIsAlive, buildASTField, buildASTField, calcStatistics, calcStatisticsRecursive, cloneInternal, findFirstChildIndexForClass, getAstFieldList, getMyChildrenRecursive, getReferencedColumns, getReferencedColumnsRecursive, getReferencedDatasources, getReferencedDatasourcesRecursive, getSQLContext, getUsedDatabaseObjectColumns, getUsedDatabaseObjects, isAlive, moveSubQueryInProxy, moveSubQueryInProxyRecursive, prepareAndFixupRecursive, prepareAndFixupRecursive, prepareCalcStatistics, prepareCalcStatisticsRecursive, removeReferencesToDatasource, replaceReferencesToDatasource, replaceReferencesToDatasourceRecursive, restoreColumnPrefix, restoreColumnPrefixRecursive, simplifyTree, simplifyTreeRecursive, traverseASTTreeDepthFirst, traverseASTTreeSiblingFirst
-
-
-
-
Constructor Detail
-
SQLExpressionLogicalCollection
public SQLExpressionLogicalCollection(BaseSQLContext sqlContext)
-
-
Method Detail
-
removeLExpression
public void removeLExpression(SQLExpressionItem e)
- Overrides:
removeLExpressionin classSQLExpressionItem
-
restoreLExpression
public void restoreLExpression(SQLExpressionItem e)
- Overrides:
restoreLExpressionin classSQLExpressionItem
-
takeItemsFrom
public void takeItemsFrom(SQLExpressionLogicalCollection source, boolean addNot)
-
isLogical
public boolean isLogical()
- Overrides:
isLogicalin classSQLExpressionItem
-
findExpressionItem
public SQLExpressionItem findExpressionItem(Wrapper<SQLExpressionItem> ei)
- Overrides:
findExpressionItemin classSQLExpressionItem
-
-