Interface FieldValueCreatingTransformer<T>
-
- All Superinterfaces:
BaseDocumentTransformer
,HasFieldMappingProperty
,Stage
public interface FieldValueCreatingTransformer<T> extends BaseDocumentTransformer, HasFieldMappingProperty
Interface for document transformers that create a new field value based on an existing field's value.Please refer to the
com.attivio.sdk.server.component.configuration
andcom.attivio.sdk.server.component.lifecycle
packages for mix-in interfaces that may be appropriate to implement along with this interface.- See Also:
ProvidesProcessingFeedback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IngestFieldValue
createMappedValue(java.lang.String inputFieldName, IngestFieldValue inputFieldValue)
Process a singleIngestFieldValue
and return a new value to be placed into the document for this input->output mapping.-
Methods inherited from interface com.attivio.sdk.server.component.configuration.HasFieldMappingProperty
getFieldMapping, setFieldMapping
-
-
-
-
Method Detail
-
createMappedValue
IngestFieldValue createMappedValue(java.lang.String inputFieldName, IngestFieldValue inputFieldValue) throws AttivioException
Process a singleIngestFieldValue
and return a new value to be placed into the document for this input->output mapping.- Parameters:
inputFieldName
- The input field name being processed.inputFieldValue
- The value to process.- Returns:
- the new
IngestFieldValue
or null to not output a value for this input value. - Throws:
AttivioException
-
-