- All Known Implementing Classes:
Transforms.BooleanToBoolean,Transforms.ConsStringToFile,Transforms.ConsStringToString,Transforms.DoubleToBigDecimal,Transforms.DoubleToDouble,Transforms.DoubleToFloatingPointTolerance,Transforms.DoubleToInt,Transforms.DoubleToLong,Transforms.IntegerToDouble,Transforms.IntegerToInt,Transforms.IntegerToLong,Transforms.ObjectToJoinKey,Transforms.ObjectToSortKey,Transforms.StringToEnum,Transforms.StringToFile,Transforms.TextRecordToRecordTokenType
public interface Transform
Provides a transformation from a source data type to a target data type.
-
Method Summary
-
Method Details
-
supports
Determines if this transformer supports the given types.- Parameters:
sourceType- type of the data sourcetargetClass- type of the data target- Returns:
- true if supported; false otherwise
-
transform
Transform the given source object into the wanted target object.- Parameters:
source- object to transformtargetType- type of the target object- Returns:
- result of the transformation
-