ContentColumnMapping Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. ContentColumnMapping
- com.
Implements
public final class ContentColumnMapping
implements JsonSerializable<ContentColumnMapping>
Maps a SQL column to a search index field.
Constructor Summary
| Constructor | Description |
|---|---|
| ContentColumnMapping(String name, String sourceField, String searchFieldType) |
Creates an instance of Content |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
| String |
getName()
Get the name property: Target index field name. |
| String |
getSearchFieldType()
Get the search |
| String |
getSourceField()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ContentColumnMapping
public ContentColumnMapping(String name, String sourceField, String searchFieldType)
Creates an instance of ContentColumnMapping class.
Parameters:
Method Details
fromJson
public static ContentColumnMapping fromJson(JsonReader jsonReader)
Reads an instance of ContentColumnMapping from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: Target index field name.
Returns:
getSearchFieldType
public String getSearchFieldType()
Get the searchFieldType property: Azure AI Search field type (e.g., Edm.String, Edm.Int32).
Returns:
getSourceField
public String getSourceField()
Get the sourceField property: SQL column name.
Returns: