|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISearchedCaseExpression
Represents a non-searched CASE expression:
CASE WHEN criteria THEN expression ... END
| Method Summary | |
|---|---|
IExpression |
getElseExpression()
Gets the ELSE expression, if defined. |
IExpression |
getThenExpression(int index)
Gets the THEN expression at the specified index |
int |
getWhenCount()
Gets the number of WHEN and THEN clauses in the CASE expression |
ICriteria |
getWhenCriteria(int index)
Gets the WHEN criteria at the specified index |
void |
setElseExpression(IExpression expression)
Sets the ELSE expression |
void |
setThenExpression(int index,
IExpression expression)
Sets the THEN expression at the specified index |
void |
setWhenCriteria(int index,
ICriteria criteria)
Sets the WHEN criteria at the specified index |
| Methods inherited from interface org.teiid.connector.language.IExpression |
|---|
getType, setType |
| Methods inherited from interface org.teiid.connector.language.ILanguageObject |
|---|
acceptVisitor |
| Method Detail |
|---|
int getWhenCount()
ICriteria getWhenCriteria(int index)
index - the 0-based index
void setWhenCriteria(int index,
ICriteria criteria)
index - the 0-based indexcriteria - The new WHEN criteria at the indexIExpression getThenExpression(int index)
index - the 0-based index
void setThenExpression(int index,
IExpression expression)
index - the 0-based indexexpression - The new THEN expression at the indexIExpression getElseExpression()
void setElseExpression(IExpression expression)
expression - The new ELSE expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||