public class DateSplitTransform extends Object implements DocumentTransform
Modifier and Type | Method and Description |
---|---|
static DateSplitTransform |
load(Map<String,String> cfg)
Called as
transform.pipeline. |
void |
transform(Metadata metadata,
Map<String,String> params)
Here we check to see if the current doc contains a "dateField" key
and if so, add the additional values
|
public static DateSplitTransform load(Map<String,String> cfg)
transform.pipeline..factoryMethod for this
transformation pipline as specified in adaptor-config.properties.
This method simply returns a new object with
the additional metadata as specified as values for step1.taste