Package org.teiid.core.types.basic
Class ClobToStringTransform
- java.lang.Object
-
- org.teiid.core.types.Transform
-
- org.teiid.core.types.basic.AnyToStringTransform
-
- org.teiid.core.types.basic.ClobToStringTransform
-
public class ClobToStringTransform extends AnyToStringTransform
-
-
Constructor Summary
Constructors Constructor Description ClobToStringTransform()
ClobToStringTransform(Class<? extends BaseClobType> fromType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isExplicit()
Object
transformDirect(Object value)
This method transforms a value of the source type into a value of the target type.-
Methods inherited from class org.teiid.core.types.basic.AnyToStringTransform
getSourceType, getTargetType
-
Methods inherited from class org.teiid.core.types.Transform
getDescription, getDisplayName, getSourceTypeName, getTargetTypeName, toString, transform
-
-
-
-
Constructor Detail
-
ClobToStringTransform
public ClobToStringTransform()
-
ClobToStringTransform
public ClobToStringTransform(Class<? extends BaseClobType> fromType)
-
-
Method Detail
-
transformDirect
public Object transformDirect(Object value) throws TransformationException
This method transforms a value of the source type into a value of the target type.- Overrides:
transformDirect
in classAnyToStringTransform
- Parameters:
value
- Incoming value of source type- Returns:
- Outgoing value of target type
- Throws:
TransformationException
- if value is an incorrect input type or the transformation fails
-
isExplicit
public boolean isExplicit()
- Overrides:
isExplicit
in classTransform
- See Also:
Transform.isExplicit()
-
-