public class ConcatFunctionModifier extends FunctionModifier
CONCAT(a, b) ==> CASE WHEN (a is NULL OR b is NULL) THEN NULL ELSE CONCAT(a, b)
Constructor and Description |
---|
ConcatFunctionModifier(LanguageFactory langFactory) |
Modifier and Type | Method and 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. |
getCode
public ConcatFunctionModifier(LanguageFactory langFactory)
langFactory
- public List<?> translate(Function function)
FunctionModifier
LanguageObject
s and Objects), or null
if this FunctionModifier wishes to rely on the default translation of the
conversion visitor.translate
in class FunctionModifier
function
- IFunction to be translatedpublic static boolean isNotNull(Expression expr)
Copyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.