Class Transformer
- java.lang.Object
-
- org.apache.solr.handler.dataimport.Transformer
-
- Direct Known Subclasses:
ClobTransformer
,DateFormatTransformer
,HTMLStripTransformer
,LogTransformer
,NumberFormatTransformer
,RegexTransformer
,ScriptTransformer
,TemplateTransformer
public abstract class Transformer extends Object
Use this API to implement a custom transformer for any given entity
Implementations of this abstract class must provide a public no-args constructor.
Refer to http://wiki.apache.org/solr/DataImportHandler for more details.
This API is experimental and may change in the future.
- Since:
- solr 1.3
-
-
Constructor Summary
Constructors Constructor Description Transformer()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Object
transformRow(Map<String,Object> row, Context context)
The input is a row of data and the output has to be a new row.
-