Package org.pentaho.di.core.plugins
Interface IValueMetaConverter
-
- All Known Implementing Classes:
ValueMetaConverter
public interface IValueMetaConverterCreated by tkafalas on 12/4/2017.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectconvertFromSourceToTargetDataType(int sourceValueMetaType, int targetValueMetaType, Object value)voidsetDatePattern(SimpleDateFormat datePattern)
-
-
-
Method Detail
-
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
void setDatePattern(SimpleDateFormat datePattern)
-
-