Package org.teiid.translator.jdbc
Class ParseFormatFunctionModifier
- java.lang.Object
-
- org.teiid.translator.jdbc.FunctionModifier
-
- org.teiid.translator.jdbc.ParseFormatFunctionModifier
-
- Direct Known Subclasses:
OracleFormatFunctionModifier
,SybaseExecutionFactory.SybaseFormatFunctionModifier
public abstract class ParseFormatFunctionModifier extends FunctionModifier
-
-
Constructor Summary
Constructors Constructor Description ParseFormatFunctionModifier(String prefix)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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.protected abstract Object
translateFormat(String format)
protected void
translateFormat(List<Object> result, Expression expression, String value)
-
Methods inherited from class org.teiid.translator.jdbc.FunctionModifier
getCode
-
-
-
-
Field Detail
-
prefix
protected String prefix
-
-
Constructor Detail
-
ParseFormatFunctionModifier
public ParseFormatFunctionModifier(String prefix)
-
-
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
-
translateFormat
protected void translateFormat(List<Object> result, Expression expression, String value)
-
-