Package org.pentaho.di.core.plugins
Interface IValueMetaConverter
- All Known Implementing Classes:
ValueMetaConverter
public interface IValueMetaConverter
Created by tkafalas on 12/4/2017.
-
Method Summary
Modifier and TypeMethodDescriptionconvertFromSourceToTargetDataType
(int sourceValueMetaType, int targetValueMetaType, Object value) void
setDatePattern
(SimpleDateFormat datePattern)
-
Method Details
-
convertFromSourceToTargetDataType
Object convertFromSourceToTargetDataType(int sourceValueMetaType, int targetValueMetaType, Object value) throws ValueMetaConversionException - Parameters:
sourceValueMetaType
- The source ValueMeta Type defined in the ValueMetaInterfacetargetValueMetaType
- The target ValueMeta Type defined in the ValueMetaInterfacevalue
- the source value to be converted- Returns:
- An object representing the value converted to targetMetaType. This value is suitable to use for
- Throws:
ValueMetaConversionException
-
setDatePattern
-