Class FieldMappingFunction
java.lang.Object
com.azure.search.documents.indexes.models.FieldMappingFunction
Represents a function that transforms a value from a data source before indexing.
-
Constructor Summary
ConstructorsConstructorDescriptionFieldMappingFunction
(String name) Creates an instance of FieldMappingFunction class. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the name property: The name of the field mapping function.Get the parameters property: A dictionary of parameter name/value pairs to pass to the function.setParameters
(Map<String, Object> parameters) Set the parameters property: A dictionary of parameter name/value pairs to pass to the function.
-
Constructor Details
-
FieldMappingFunction
Creates an instance of FieldMappingFunction class.- Parameters:
name
- the name value to set.
-
-
Method Details
-
getName
Get the name property: The name of the field mapping function.- Returns:
- the name value.
-
getParameters
Get the parameters property: A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.- Returns:
- the parameters value.
-
setParameters
Set the parameters property: A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.- Parameters:
parameters
- the parameters value to set.- Returns:
- the FieldMappingFunction object itself.
-