Package | Description |
---|---|
org.teiid.language | |
org.teiid.language.visitor |
Modifier and Type | Class and Description |
---|---|
class |
AndOr
Represents a logical criteria such as AND, OR, or NOT.
|
class |
BaseInCondition |
class |
Comparison
Represents a comparison between two expressions connected with
one of the following operators: =, <>, <, <=, >, >=.
|
class |
Exists
Represents an EXISTS criteria that checks whether any results would be
returned from a subquery.
|
class |
In |
class |
IsDistinct
Represents a comparison between two expressions with null equality
|
class |
IsNull
Represents an IS NULL predicate.
|
class |
Like |
class |
Not |
class |
SubqueryComparison
Represents a quantified comparison criteria.
|
class |
SubqueryIn
Represents an IN criteria that uses a subquery on the right side rather than a
list of values.
|
Modifier and Type | Method and Description |
---|---|
static Condition |
LanguageUtil.combineCriteria(Condition primaryCrit,
Condition additionalCrit,
LanguageFactory languageFactory)
This utility method can be used to combine two criteria using an AND.
|
static Condition |
LanguageUtil.combineCriteria(List<Condition> crits)
Combines a list of conditions under a single AndOr
|
Condition |
SearchedWhenClause.getCondition() |
Condition |
Join.getCondition() |
Condition |
Not.getCriteria() |
Condition |
Select.getHaving()
Get HAVING clause, may be null.
|
Condition |
AndOr.getLeftCondition() |
Condition |
AndOr.getRightCondition() |
Condition |
Update.getWhere() |
Condition |
Select.getWhere()
Get WHERE clause, may be null.
|
Condition |
Delete.getWhere()
Get criteria that is being used with the delete - may be null
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static Condition |
LanguageUtil.combineCriteria(Condition primaryCrit,
Condition additionalCrit,
LanguageFactory languageFactory)
This utility method can be used to combine two criteria using an AND.
|
AndOr |
LanguageFactory.createAndOr(AndOr.Operator operator,
Condition left,
Condition right) |
Delete |
LanguageFactory.createDelete(NamedTable group,
Condition where) |
Join |
LanguageFactory.createJoin(Join.JoinType joinType,
TableReference leftItem,
TableReference rightItem,
Condition condition) |
Not |
LanguageFactory.createNot(Condition criteria) |
Select |
LanguageFactory.createQuery(List<DerivedColumn> select,
boolean isDistinct,
List<TableReference> from,
Condition where,
GroupBy groupBy,
Condition having,
OrderBy orderBy) |
SearchedWhenClause |
LanguageFactory.createSearchedWhenCondition(Condition condition,
Expression result) |
Update |
LanguageFactory.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.
|
void |
SearchedWhenClause.setCondition(Condition symbol) |
void |
Join.setCondition(Condition criteria) |
void |
Not.setCriteria(Condition criteria) |
void |
Select.setHaving(Condition criteria)
Set HAVING clause, may be null.
|
void |
AndOr.setLeftCondition(Condition left) |
void |
AndOr.setRightCondition(Condition right) |
void |
Update.setWhere(Condition criteria) |
void |
Select.setWhere(Condition criteria)
Set WHERE clause, may be null.
|
void |
Delete.setWhere(Condition criteria)
Set criteria that is being used with the delete - may be null
|
Modifier and Type | Method and Description |
---|---|
static Condition |
LanguageUtil.combineCriteria(List<Condition> crits)
Combines a list of conditions under a single AndOr
|
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLStringVisitor.appendNestedCondition(AndOr parent,
Condition condition) |
Copyright © 2019. All rights reserved.