Package org.teiid.translator.jdbc.oracle
Class ConcatFunctionModifier
- java.lang.Object
-
- org.teiid.translator.jdbc.FunctionModifier
-
- org.teiid.translator.jdbc.oracle.ConcatFunctionModifier
-
public class ConcatFunctionModifier extends FunctionModifier
This Function modifier used to support ANSI concat on Oracle 9i.CONCAT(a, b) ==> CASE WHEN (a is NULL OR b is NULL) THEN NULL ELSE CONCAT(a, b)
-
-
Constructor Summary
Constructors Constructor Description ConcatFunctionModifier(LanguageFactory langFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isNotNull(Expression expr)
List<?>
translate(Function function)
Return a List of translated parts (LanguageObject
s and Objects), or null if this FunctionModifier wishes to rely on the default translation of the conversion visitor.-
Methods inherited from class org.teiid.translator.jdbc.FunctionModifier
getCode
-
-
-
-
Constructor Detail
-
ConcatFunctionModifier
public ConcatFunctionModifier(LanguageFactory langFactory)
- Parameters:
langFactory
-
-
-
Method Detail
-
translate
public List<?> translate(Function function)
Description copied from class:FunctionModifier
Return a List of translated parts (LanguageObject
s and Objects), or null if this FunctionModifier wishes to rely on the default translation of the conversion visitor.- Specified by:
translate
in classFunctionModifier
- Parameters:
function
- IFunction to be translated- Returns:
- List of translated parts, or null
-
isNotNull
public static boolean isNotNull(Expression expr)
-
-