Class FieldMappingFunction
- java.lang.Object
-
- com.azure.search.documents.indexes.models.FieldMappingFunction
-
public final class FieldMappingFunction extends Object
Represents a function that transforms a value from a data source before indexing.
-
-
Constructor Summary
Constructors Constructor Description FieldMappingFunction(String name)
Creates an instance of FieldMappingFunction class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get the name property: The name of the field mapping function.Map<String,Object>
getParameters()
Get the parameters property: A dictionary of parameter name/value pairs to pass to the function.FieldMappingFunction
setParameters(Map<String,Object> parameters)
Set the parameters property: A dictionary of parameter name/value pairs to pass to the function.
-
-
-
Constructor Detail
-
FieldMappingFunction
public FieldMappingFunction(String name)
Creates an instance of FieldMappingFunction class.- Parameters:
name
- the name value to set.
-
-
Method Detail
-
getName
public String getName()
Get the name property: The name of the field mapping function.- Returns:
- the name value.
-
getParameters
public Map<String,Object> 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
public FieldMappingFunction setParameters(Map<String,Object> parameters)
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.
-
-