public class SampleFieldValueCreatingTransformer extends Object implements FieldValueCreatingTransformer<String>
| Constructor and Description |
|---|
SampleFieldValueCreatingTransformer() |
| Modifier and Type | Method and Description |
|---|---|
IngestFieldValue |
createMappedValue(String inputFieldName,
IngestFieldValue fv)
Process a single
IngestFieldValue and return a new value to be placed into the document for this input->output
mapping. |
Map<String,String> |
getFieldMapping()
Gets the Input to Output field name mapping for this stage to process.
|
void |
setFieldMapping(Map<String,String> value)
Sets the Input to Output field name mapping for this stage to process.
|
public IngestFieldValue createMappedValue(String inputFieldName, IngestFieldValue fv) throws AttivioException
FieldValueCreatingTransformerIngestFieldValue and return a new value to be placed into the document for this input->output
mapping.createMappedValue in interface FieldValueCreatingTransformer<String>inputFieldName - The input field name being processed.fv - The value to process.IngestFieldValue or null to not output a value for this input value.AttivioExceptionpublic Map<String,String> getFieldMapping()
HasFieldMappingPropertygetFieldMapping in interface HasFieldMappingPropertypublic void setFieldMapping(Map<String,String> value)
HasFieldMappingPropertysetFieldMapping in interface HasFieldMappingPropertyCopyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.