public final class FieldMapping extends Object
Constructor and Description |
---|
FieldMapping(String sourceFieldName)
Creates an instance of FieldMapping class.
|
Modifier and Type | Method and Description |
---|---|
FieldMappingFunction |
getMappingFunction()
Get the mappingFunction property: A function to apply to each source field value before indexing.
|
String |
getSourceFieldName()
Get the sourceFieldName property: The name of the field in the data source.
|
String |
getTargetFieldName()
Get the targetFieldName property: The name of the target field in the index.
|
FieldMapping |
setMappingFunction(FieldMappingFunction mappingFunction)
Set the mappingFunction property: A function to apply to each source field value before indexing.
|
FieldMapping |
setTargetFieldName(String targetFieldName)
Set the targetFieldName property: The name of the target field in the index.
|
public FieldMapping(String sourceFieldName)
sourceFieldName
- the sourceFieldName value to set.public String getSourceFieldName()
public String getTargetFieldName()
public FieldMapping setTargetFieldName(String targetFieldName)
targetFieldName
- the targetFieldName value to set.public FieldMappingFunction getMappingFunction()
public FieldMapping setMappingFunction(FieldMappingFunction mappingFunction)
mappingFunction
- the mappingFunction value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.