Uses of Class
org.teiid.language.Condition
-
Packages that use Condition Package Description org.teiid.language org.teiid.language.visitor -
-
Uses of Condition in org.teiid.language
Subclasses of Condition in org.teiid.language Modifier and Type Class Description classAndOrRepresents a logical criteria such as AND, OR, or NOT.classBaseInConditionclassComparisonRepresents a comparison between two expressions connected with one of the following operators: =, <>, <, <=, >, >=.classExistsRepresents an EXISTS criteria that checks whether any results would be returned from a subquery.classInclassIsDistinctRepresents a comparison between two expressions with null equalityclassIsNullRepresents an IS NULL predicate.classLikeclassNotclassSubqueryComparisonRepresents a quantified comparison criteria.classSubqueryInRepresents an IN criteria that uses a subquery on the right side rather than a list of values.Methods in org.teiid.language that return Condition Modifier and Type Method Description static ConditionLanguageUtil. combineCriteria(List<Condition> crits)Combines a list of conditions under a single AndOrstatic ConditionLanguageUtil. combineCriteria(Condition primaryCrit, Condition additionalCrit, LanguageFactory languageFactory)This utility method can be used to combine two criteria using an AND.ConditionJoin. getCondition()ConditionSearchedWhenClause. getCondition()ConditionNot. getCriteria()ConditionSelect. getHaving()Get HAVING clause, may be null.ConditionAndOr. getLeftCondition()ConditionAndOr. getRightCondition()ConditionDelete. getWhere()Get criteria that is being used with the delete - may be nullConditionSelect. getWhere()Get WHERE clause, may be null.ConditionUpdate. getWhere()Methods in org.teiid.language that return types with arguments of type Condition Modifier and Type Method Description static List<Condition>LanguageUtil. separateCriteriaByAnd(Condition criteria)Take a criteria, which may be null, a single IPredicateCriteria or a complex criteria built using ICompoundCriteria and breaks it apart at ANDs such that a List of ICriteria conjuncts are returned.Methods in org.teiid.language with parameters of type Condition Modifier and Type Method Description static ConditionLanguageUtil. combineCriteria(Condition primaryCrit, Condition additionalCrit, LanguageFactory languageFactory)This utility method can be used to combine two criteria using an AND.AndOrLanguageFactory. createAndOr(AndOr.Operator operator, Condition left, Condition right)DeleteLanguageFactory. createDelete(NamedTable group, Condition where)JoinLanguageFactory. createJoin(Join.JoinType joinType, TableReference leftItem, TableReference rightItem, Condition condition)NotLanguageFactory. createNot(Condition criteria)SelectLanguageFactory. createQuery(List<DerivedColumn> select, boolean isDistinct, List<TableReference> from, Condition where, GroupBy groupBy, Condition having, OrderBy orderBy)SearchedWhenClauseLanguageFactory. createSearchedWhenCondition(Condition condition, Expression result)UpdateLanguageFactory. createUpdate(NamedTable group, List<SetClause> updates, Condition criteria)static List<Condition>LanguageUtil. separateCriteriaByAnd(Condition criteria)Take a criteria, which may be null, a single IPredicateCriteria or a complex criteria built using ICompoundCriteria and breaks it apart at ANDs such that a List of ICriteria conjuncts are returned.voidJoin. setCondition(Condition criteria)voidSearchedWhenClause. setCondition(Condition symbol)voidNot. setCriteria(Condition criteria)voidSelect. setHaving(Condition criteria)Set HAVING clause, may be null.voidAndOr. setLeftCondition(Condition left)voidAndOr. setRightCondition(Condition right)voidDelete. setWhere(Condition criteria)Set criteria that is being used with the delete - may be nullvoidSelect. setWhere(Condition criteria)Set WHERE clause, may be null.voidUpdate. setWhere(Condition criteria)Method parameters in org.teiid.language with type arguments of type Condition Modifier and Type Method Description static ConditionLanguageUtil. combineCriteria(List<Condition> crits)Combines a list of conditions under a single AndOrConstructors in org.teiid.language with parameters of type Condition Constructor Description AndOr(Condition left, Condition right, AndOr.Operator operator)Delete(NamedTable group, Condition criteria)Join(TableReference left, TableReference right, Join.JoinType joinType, Condition criteria)Not(Condition criteria)SearchedWhenClause(Condition condition, Expression result)Select(List<DerivedColumn> derivedColumns, boolean distinct, List<TableReference> from, Condition where, GroupBy groupBy, Condition having, OrderBy orderBy)Update(NamedTable group, List<SetClause> changes, Condition criteria) -
Uses of Condition in org.teiid.language.visitor
Methods in org.teiid.language.visitor with parameters of type Condition Modifier and Type Method Description protected voidSQLStringVisitor. appendNestedCondition(AndOr parent, Condition condition)
-