public class DateFormatTransformer extends Transformer
Transformer instance which creates Date instances out of Strings.
Refer to http://wiki.apache.org/solr/DataImportHandler for more details.
This API is experimental and subject to change| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_TIME_FMT |
| Constructor and Description |
|---|
DateFormatTransformer() |
public static final String DATE_TIME_FMT
public Object transformRow(Map<String,Object> aRow, Context context)
TransformertransformRow in class TransformeraRow - A row of datacontext - The current contextMap<String, Object> if it returns
only one row or if there are multiple rows to be returned it must
be a List<Map<String, Object>>