你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FieldMappingFunction Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. FieldMappingFunction
- com.
Implements
public final class FieldMappingFunction
implements JsonSerializable<FieldMappingFunction>
Represents a function that transforms a value from a data source before indexing.
Constructor | Description |
---|---|
Field |
Creates an instance of Field |
Modifier and Type | Method and Description |
---|---|
static
Field |
from Reads an instance of Field |
String |
get Get the name property: The name of the field mapping function. |
Map<String,Object> |
get Get the parameters property: A dictionary of parameter name/value pairs to pass to the function. |
Field |
set Set the parameters property: A dictionary of parameter name/value pairs to pass to the function. |
Json |
to |
Methods inherited from java.lang.Object
FieldMappingFunction
public FieldMappingFunction(String name)
Creates an instance of FieldMappingFunction class.
Parameters:
fromJson
public static FieldMappingFunction fromJson(JsonReader jsonReader)
Reads an instance of FieldMappingFunction from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the field mapping function.
Returns:
getParameters
public Map
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:
setParameters
public FieldMappingFunction setParameters(Map
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:
Returns: